cyngus Posted May 5, 2005 Posted May 5, 2005 when i tried to add more boxes or a new navbar button... by following www.oscommerce.info tutorial.. i get this error message Fatal error: Cannot redeclare tep_show_category() (previously declared in /home/official/public_html/includes/boxes/categories.php:13) in /home/official/public_html/includes/boxes/categories.php on line 13 also i just started getting that same message on the "contact us" button ... not sure what i might have done to make this happen.. any help ? thanks all!
FalseDawn Posted May 5, 2005 Posted May 5, 2005 You are trying to include the file that contains the tep_show_category() function twice in the same script - check your includes. Either that or you have copied this function to your new box. Functions definitions should only ever be defined once per script execution.
cyngus Posted May 5, 2005 Author Posted May 5, 2005 sorry to sound likea moron hehe.. but im not sure what u mean..
Recommended Posts
Archived
This topic is now archived and is closed to further replies.