OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: FATAL ERROR
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > Contributions / Add-Ons > Order Total Modules
zerotoolkit
HELP!

i keep getting this error message:

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

what does this mean and how do i fix this??

PLEASE HELP!
enigma1
typically happens if you include the categories box more than once with your files. You could move the function to the general.php file to get around it.
rickard_l
QUOTE (enigma1 @ Mar 22 2006, 02:23 AM) *
typically happens if you include the categories box more than once with your files. You could move the function to the general.php file to get around it.



How is that done?

Get the same problem.
hari_shyam
QUOTE (rickard_l @ Jan 21 2008, 06:55 PM) *
How is that done?

Get the same problem.


in the includes/boxes/categories.php file.. there is a function by that name. cut and paste the function into the includes/functions/general.php file.
whizdome
Dear Sir,

I also encountered this problem:

Fatal error: Cannot redeclare tep_show_category() (previously declared in /home/metsuki/public_html/littlekittle/shop/includes/header.php:240) in /home/metsuki/public_html/littlekittle/shop/includes/boxes/categories.php on line 59

How could I fix it one by one? I'm truly sorry, I don't understand the above procedure (as posting above).

Thank you very much for kindness help.
Jack_mcs
This thread may help.

Jack
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.