Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Strange error...


Recommended Posts

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites


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

  • Create New...