Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error Cannot redeclare tep_show_category()


Guest

Recommended Posts

Fatal error: Cannot redeclare tep_show_category() (previously declared in /var/www/vhosts/tunerwerx.ca/httpdocs/catalog/includes/header.php:198) in /var/www/vhosts/tunerwerx.ca/httpdocs/catalog/includes/boxes/categories.php on line 13

 

 

I reloaded a few times, apparently that was supposed to fix it, but I still get the error.

 

My .com site works fine with the same files and settings.

 

Any suggestions?

Link to comment
Share on other sites

It's caused because the template you are using has added it's own version of that function (or some other code had). That has to be renamed for it to work.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I am not sure what had happened, since it works flawlessly on one site, and has the error on the other, the only changes are the database name (to work in Canadian dollars, prices revised to accomodate shipping) and the .ca at the end...

 

I changed it to the _template on the .ca site, and now I get a second listing of product and product reviews...

 

 

After fixing that, everything seems to be working fine.

 

I certainly appreciate the time you took. Thanks.

 

I just have to figure out how to change the default price to Canadian dollars on that site, then change the costs....

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...