Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP: Fatal Error Problem


imaginamation

Recommended Posts

Posted

Getting my store up and its going good, but now when I try yo go to the categories.php page I get this error:

 

Fatal error: Cannot redeclare class currencies in /home/photowo/public_html/photo/includes/classes/currencies.php on line 16

 

My defualt currency is USD, everything else seems to work ok.

 

 

I dont know what to do, can anyone help?

 

Thank you so much.

 

Cory

Posted

Please don't post the whole file....just the part that's causing the problem.

 

This error is normally caused by including currencies.php more than once in a file. Check through categories.php and make sure that currencies.php is only mentioned once - it could be "require" or "include."

 

If it's only in there once or not at all, probably some other file you're including is also including currencies.php. Check application_top for starters.

Chris Dunning

osCommerce, Contributions Moderator Team

 

Please do not send me PM! I do not read or answer these often. Use the email button instead!

 

I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.

Archived

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

×
×
  • Create New...