Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Error Message for USPS shipping rates


Recommended Posts

Posted

My shipping rates seem to come thru but yet when i go into the module/shipping I get this error message.

 

Warning: include(/catalog/includes/languages/english/modules/shipping/usps2.php) [function.include]: failed to open stream: No such file or directory in /catalog/admin/modules.php on line 136

 

Warning: include() [function.include]: Failed opening '/catalog/includes/english/modules/shipping/usps2.php' for inclusion (include_path='.:/usr/local/lib/php-5.2.1/lib/php') in /catalog/admin/modules.php on line 136

 

Fatal error: Cannot redeclare class usps in /calalog/includes/modules/shipping/usps2.php on line 44

Do I need to remove and reinstall this module. Or what is this error message telling me? Also Could it be preventing me from setting up the tracking plus add-on

Pat

Posted

Looks like someone has duplicated the usps shipping method and not renamed the class to usps2.

 

From memory there are several things that need to be done and one is to change the class name, see line 44

 

Did the installation instructions say delete usps.php and you renamed it so you had a bachup?

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

Thanks Geoffrey, I wish it was that easy This was a server install by my host. I did not reinstall the module. Now I cant remove it through the admin panel. I am also not sure of where to down load just the module so I can over write the one that is messed up without having to do a complete OSC re-install. I think it may have been an add-on that I was trying to get working that may have messed it up and I did not notice it before I over wrote the backup. Any suggestions?

Pat

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...