Looking for documentation? Take a look on our wiki

Main Menu

VirtueMart gives a blank page or 500 error

Started by jenkinhill, July 10, 2013, 15:38:59 PM

Previous topic - Next topic


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.

To show an error trace nn Joomla Global Configuration set "Error Reporting" as "Maximum" and enable the "Debugging" option. In VirtueMart Configuration and set PHP Development mode for "all".
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

GJC Web Design

Stan from Rupostel also has a very useful Fatal error plugin that emails the error to you
GJC Web Design
VirtueMart and Joomla Developers - php developers
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
Contact for any VirtueMart or Joomla development & customisation