Zen Cart 1.5.3 Bug Fix for Disabled EZ Pages and Direct Linking

The zen cart EZ pages are the preferred way of adding additional content to your online store. They are perfect for adding size charts, articles, in depth product information, really anything that you want to add to enhance your customers shopping experience. In all zen cart versions prior to 1.5.3 you could add content to an EZ page and then leave it turned off in the header, footer, and sidebox, and not specify a sort order and just link to the page directly. Version 1.5.3 has a bug that give you a blank white page if you do this. This Easy Help Zen Cart tutorial will show you how to fix this bug.

In your favorite plain text editor open the includes/modules/pages/page/header_php.php file. This is a core zen cart file, so be sure to back it up and make a note that you have altered this file so that you changes will not be lost in a future upgrade.

On or around line 29 change this:


// comment the following line to allow access to pages which don’t have a status switch set to Yes:
$sql .= " AND (status_toc > 0 or status_header > 0 or status_sidebox > 0 or status_footer > 0)";

to this:


// comment the following line to allow access to pages which don’t have a status switch set to Yes:
//$sql .= " AND (status_toc > 0 or status_header > 0 or status_sidebox > 0 or status_footer > 0)";

Save the files, upload it to your server, choosing to overwrite the file already on your server. Navigate to the front end of your zen cart, refresh the browser, and click on the link to your EZ page to see it working again.

If you need help with your zen cart web site, please contact us for a quote.

Picaflor Azul specializes in responsive zen cart design. Contact us to convert your current zen cart to a responsive design, or to have a fantastic new custom design made just for your business.

zen cart plus picaflor azul equals success

Leave a Reply