Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please help me!


Guest

Recommended Posts

I'm using a custom template and whenever I try to add a contribution (in this case FAQ's) it gives me this page error.

 

Fatal error: Cannot redeclare tep_show_category() (previously declared in /home/comgear/public_html/store/includes/header.php:134) in /home/comgear/public_html/store/includes/boxes/categories.php on line 13

 

It displays everything but in the area where the FAQ's should be it has that.

 

 

 

Has the same error for returns tracking.

Link to comment
Share on other sites

I think you'll find that the FAQ contibution needs to be modified to work with your custom template /includes/header.php as categories.php is being called twice.

 

Your FAQ php file is including column_left.php in all probability where your custom template /includes/header.php is including categories.php already.

Link to comment
Share on other sites

I think you'll find that the FAQ contibution needs to be modified to work with your custom template /includes/header.php as categories.php is being called twice.

 

Your FAQ php file is including column_left.php in all probability where your custom template /includes/header.php is including categories.php already.

 

 

So what should I do?

Link to comment
Share on other sites

aahhh fixed it... Yeah it was trying to load column_left when it didn't need to as everything for this template is loaded within the header file. sweet. I should of looked harder.

Link to comment
Share on other sites

Examine your custom template includes/header.php

 

Compare it with the FAQ.php (whatever it is called) and remove from FAQ.php any lines that are already called via custom template includes/header.php other than doing it for you that is all I can offer.

Link to comment
Share on other sites

thanks for the info but yeah I found the issue. I find it really weird that everything loads within the header file but it makes things a lot easier.

Link to comment
Share on other sites

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/comgear/public_html/store/includes/functions/general.php on line 42

 

 

Now i'm getting this on the checkout page... any ideas?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...