Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Cannot redeclare tep_show_category() (previously declared


kristoz

Recommended Posts

Posted

Could someone help me to solve it....

 

I'm getting this error when I checkout :

 

Fatal error: Cannot redeclare tep_show_category() (previously declared in /htdocs/includes/header.php:174) in /includes/boxes/categories.php on line 13

 

 

I include files also:

 

categories.php

header.php

 

You can find them here: http://www.zone.ee/trenn/

 

 

Please could someone help me to solve it.....

Posted
Hi I have the same problem when I change the

tep_show_category

with this one

tep_show_category_template

 

I can view the details of my product but It's display it whit two more columns one in the rigth with the categories,advanced search etc, and other to the left with the coins and with other things , and in the middle the details but this details are accumulated, can you help me orsomebody can fix this problem

 

 

yes i do. but i tried changing tep_show_category ....to.... tep_show_category_template

 

that fixes the error but then i get 2 additional columns on left and right that include links like privacy, conditions, and so on....

Posted

It's difficult to say what the problem is because the code in the shop using a tenplate is generally changed to where it almost doesn't resemble oscommerce is several places. It sounds like the code is including the left column when it shouldn't. That might help you trace it down.

 

Jack

Support Links:

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

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

  • 1 month later...
Posted
I found my problem it was calling for the left column when it did not need to deleted the code and worked just fine.

 

where is that code that you deleted...

I am having the same problem...

Archived

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

×
×
  • Create New...