Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error on testing server, whith add to cart and buy


egoaltur

Recommended Posts

Fatal error: Cannot redeclare tep_show_category() (previously declared in d:\phpdev5\www\public\osc\includes\boxes\categories.php:13) in d:\phpdev5\www\public\osc\includes\boxes\categories.php on line 13

 

I'm running oscommerce on Windows XP with Apache, MySQL4, and PHP4. I recieve the aforementioned error whenever I try to "buy" a product. Any suggestions? :-"

Link to comment
Share on other sites

This error is usually caused by uploading the wrong file to the languages directory. That is, the file that should be in catalog/shopping_cart.php was loaded to catalog/includes/languages/english/shopping_cart.php. Check your files in includes/languages/english/ (or other languages if you use them).

 

If that is not the case, then you may have made an error in modifying one of the files. Check all of your recent modifications for duplicate include() or require() statements.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...