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


  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28746
  • 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.

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”.

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VirtueMart 4.2.5 10924 J! 3.10.11 PHP 8.2.7

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10880
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: VirtueMart gives a blank page.
« Reply #1 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
GJC Web Design
VirtueMart and Joomla Developers - php developers
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
Contact for any VirtueMart or Joomla development & customisation