Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Cannot redeclare class usps???????


Guest

Recommended Posts

After just receiving my USPS user id and password to use the shipping module, I went in to the admin section to enter the userid and password. This is the error message that I get:

 

Fatal error: Cannot redeclare class usps in /usr/local/etc/httpd/htdocs/catalog/includes/modules/shipping/usps.php on line 13

 

 

This is line 13:

 

class usps {

 

 

 

Any suggestions??? I'm lost.

 

Thanks,

 

Bob

Link to comment
Share on other sites

I've been fooling around with this all morning??? Anyone have any suggestions before I smash my head into the wall.... again? :?

 

Thanks,

 

Bob

Link to comment
Share on other sites

Apparently it is including usps.php twice. Sometimes, this means that whatever includes usps.php (application_top.php?) is being included twice.

 

Hth,

Matt

Link to comment
Share on other sites

  • 9 months later...

I ran across this error tonight as I goofed up implementing this contribution.

USPSMethods 2.5 for osCommerce 2.2 CVS / MS2

 

So if anyone ever comes across the error message searching like I did, look to this contribution to see what 4 files are involved in the USPSMethods..and reinstall them to correct the error.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...