Author Topic: VirtueMart gives a blank page or 500 error  (Read 8339 times)

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 25705
  • Always on vacation
    • Jenkin Hill Internet
VirtueMart gives a blank page or 500 error
« on: July 10, 2013, 15:38:59 pm »
Sometimes, due to a PHP or other error, a Joomla component such as VirtueMart can stop working and just show a blank page / white screen (a WSOD). This lack of display hides the relevant error message.

When this happens check the server error logs (not access logs) if you have access to them. The error message will show what the problem was. The log files are often below website root in a dfirectory "logs"(!) and accessible via ftp or through the server cPanel. In many cases the location is defined in php.ini  The following tutorial may help for VPS (and other server setups): http://www.123-reg.co.uk/support/answers/VPS/where-can-i-find-the-error-logs-on-my-vps-4068/

Or see this tutorial: http://www.ostraining.com/blog/joomla/white-screen-of-death

A WSOD can also be caused by a lack of PHP resources. Joomla + VM2/3 requires at least 128Mb of PHP memory, and preferably 256Mb.

You can also try this: Enable the vmdebug. It suppresses the fatal errors and allows debugging in many cases.
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM3.2.1 on Joomla 3.6.5 PHP 7.0.12

Testing VM3.2.2 on J!3.6.5 and J!3.7

GJC Web Design

  • 3rd party VirtueMart Developer
  • Hero Member
  • *
  • Posts: 7339
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.0.16
Re: VirtueMart gives a blank page.
« Reply #1 on: August 12, 2016, 16:39:53 pm »
Stan from Rupostal also has a very useful Fatal error plugin that emails the error to you

https://www.rupostel.com/utilities-for-joomla/extensions/fatal-catcher-plugin
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation