Troubleshoot CS Cart blank page

One of the most annoying things that can happen in a CS Cart installation, is a blank screen, without any errors.

First you check the error_log but it is empty, then you check the server logs but you find nothing. So what can you do to troubleshoot a CS Cart white page?

 

It is pretty simple, open config.local.php and below this line

if ( !defined('AREA') ) { die('Access denied'); }

add this line

define('DEVELOPMENT', true);

Now the error will be displayed and you can see what is causing the blank screen.

 

One of the most common causes for a white page is database connection. Double check your settings before making anything else.

Don’t forget to remove define(‘DEVELOPMENT’, true); after you are done!

Master of SEO, server management specialist, guru of web development. A living legend.

Leave a Reply

Next ArticleMySQL tuning example for beginners