Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Cannot redeclare class currencies


Guest

Recommended Posts

Posted

Please could someone help me with this, I have searched through all the Fatal Error: posts and cannot find an answer.

I have quite a few contributions added to my site and all were working fine.

I then installed the header tags for novices contribution which worked fine but when I went to the discount coupons section in my admin I got the following message:

 

Fatal error: Cannot redeclare class currencies in /home/angelsbo/public_html/onlinestore/admin/includes/classes/currencies.php on line 16

 

From the pages that I have read it looks like it means that there is a duplicate of a file somewhere but how should I find out where that is and how would I sort it?

 

Any help would be appreciated big time :thumbsup:

Posted

Post first 20 lines of the file

/home/angelsbo/public_html/onlinestore/admin/includes/classes/currencies.php

Posted

There is a duplicate "declaration" of that file, probably in one of the files you modded when you added a contribution.

 

Vger

Posted

You renamed a php file having the same class.

Just delete that file.

chek classes folder.

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

Thanks very much everyone :thumbsup:

 

All your suggestions helped - managed to sort it with your help.

 

Thanks again :rolleyes:

Archived

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

×
×
  • Create New...