VirtueMart Forum

VirtueMart 2 + 3 => FAQ Frequently Asked Questions => Topic started by: jenkinhill on July 10, 2013, 15:38:59 pm

Title: VirtueMart gives a blank page or 500 error
Post by: jenkinhill 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.

Most time you can enable this error message configuring the virtuemart config. Go to the first tab and set for "PHP Developer mode" just "all". Then you should see php error messages again. You can set it also to "admin" so that only administrators see the php messages (good for live shops).

You may also 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 directory "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):

Or see this tutorial:

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.
Title: Re: VirtueMart gives a blank page.
Post by: GJC Web Design on August 12, 2016, 16:39:53 pm
Stan from Rupostel also has a very useful Fatal error plugin that emails the error to you