Website Returns Blank White Page


All of a sudden, sometime in the last few hours, if you go to my website, I have a white page.

Was working in admin for a while and tried to preview a new product and only get a white page. Customer tracking shows no one on site for about 4 hours.

My host said:

You can turn on "display_errors" by adding the following line to a file called ".htaccess" in the same folder as the script having issues:

Is this correct for cs-cart or should I use something else? Have no idea why this suddenly happened. Of course, even if I did see an error, I would not know what it meant.



First try clearing cache.


That is what I did first. Used Administration/Storage/Clear cache a few times and then did this a couple of times in admin: ?cc&ctpl.

Also opened three browsers cleared their cache. Just get a blank white page.

Just gong to try debug mode. I think the site was down for a few hours before I added a new category and product.


Might want to make sure by clearing it manually.

Also if you're still on 2.2.4, make sure your host didn't update PHP.


i am on 4.2.4. I am using PHP 5.6.15

I want to see the php errors, but not sure what to change. My local.config.php does not have a debug parameter. Do I just add this

if( $_SERVER['REMOTE_ADDR'] == '' /* your ip address */ )
define('DEBUG_MODE', true);

The local.config.php just has:

// Log everything, but do not display
ini_set('display_errors', 0);
//define('DEVELOPMENT', true);

Is development the same as debug?

For manual clearing of cache


Do I delete all Folders or just content of all folders?: Misc, Registry, Template folders



Yes, delete the folders in /var/cache/.

You should have an error_log in the root of your install if it is enabled.

Replace this line in config.local.php:

ini_set('display_errors', 0);

with this one:

ini_set('display_errors', 1);

This will display PHP errors.

You can also uncomment the line

define('DEVELOPMENT', true);

This will enable development mode. In this mode you will see not only PHP errors, but CS-Cart errors, too.

Please let me know the URL of your storefront.

Thanks for your feedback.

The actual problem was that the 3rd party theme license was inactive (cscartrocks found this). Not sure how that could possibly happen. The only add-on I touched was PayPal to look into fixing the cancel status with partial refund issue. The theme and Paypal add-ons are not even close to each other.

I guess I have to put this in my knowledge base, once I start one.

Thanks again,


Anyway, if you enable all developer's tools you have, it will be much more quicker to find out what is wrong.

Is development the same as debug?

No, debugger is used for other purposes. Please check and put it to your knowledge base :)