
Originally Posted by
sitehatchery
I'm not sure what it was. However, I solved the problem by replacing the following code on line 34 of tpl_index_categories.php:
<?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2) { ?>
with this:
<?php if (DEFINE_MAIN_PAGE_STATUS >= 1 and DEFINE_MAIN_PAGE_STATUS <= 2 && !$_GET['cPath']) { ?>
Now it works.
However, it doesn't seem very secure to me to use cPath without validating it. But, I don't see anywhere in the Zen-Cart where cPath is validated. Isn't that a security issue?