Office Hours
Day Hours (GMT)
Bank Holidays Closed
Monday 9:00 - 17:30
Tuesday 9:00 - 17:30
Wednesday 9:00 - 17:30
Thursday 9:00 - 17:30
Friday 9:00 - 17:30
Saturday Closed
Sunday Closed
Knowledgebase: General Usage
How do I debug a blank screen error?!
Posted by Al Brookbanks on 21 November 2014 01:31 PM

For security reasons CubeCart prevents errors from being shown on screen. It's obvioulsy crucial to know what the error is to be able to fix it. 

There are a few places to look for the detailed error message;

  1. Login to the admin side of your store and go to "Advanced" >> "Error Log". Have a look at the "System Error Log".

  2. If that doesn't show anything relevant please check the servers php error log. You can see where errors are logged by going to "Advanced" >> "PHP Info" then look for the value "error_log". Please note that some hosting companies have error loggin disabled to save disk space.

  3. It maybe possible to force the error on screen. To do this open the classes/debug.class.php file.


    ini_set('display_errors', false);

    Replace it with:

    ini_set('display_errors', true);

    Upload the file back to the server and you may see the error on screen. Please remember to change this back afterwards.