Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: I am getting a blank page (or blank part of a page) - Zencart  (Read 2622 times)

0 Members and 1 Guest are viewing this topic.

sajugovind

  • Guest
I am getting a blank page (or blank part of a page) on Zencart domain.

Blank pages can be caused by a number of things, and often occur just after installing, upgrading, or customizing your store.

1. Did all your file-uploads work properly?

Best to re-upload and ensure that there are no errors, and that no files are left with 0 bytes.

2. Have you created any syntax errors in your customizations and/or file edits?

A PHP syntax error will very often result in a blank screen, or a partially-blank screen.

Check for the actual error messages in the store's myDebug-xxxxxxx.log files:

The built-in debug logging will create files in your website's /logs/ folder, named "myDebug-xxxxxx.log" (or "myDebug-adm-xxxxxxx.log" if they are from the admin side).  (If you're on an older version of Zen Cart such as v1.3.9 or v1.5.0 then these will be in the /cache/ folder instead of the /logs/ folder.)

3. PHP debug errors on-screen

To attempt to show PHP debug errors on-screen, create and upload a new file, like this:
Filename: /includes/local/configure.php


Code: [Select]
<?php
  define
('STRICT_ERROR_REPORTING'true);


Be sure to delete the /includes/local/configure.php file once you've identified the problem, lest you leave yourself with a security problem on your site.

Thank you,  :) :) :) :)