Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

UPS Fatal error


kayotics

Recommended Posts

Can anyone help me i'm getting a fatal error msg on the shipping configuration..

 

before i had the problem of having this error where apparently i was missing the language file..

 

Warning: main(/home/uslut/kayotics.com/htdocs/shop/includes/languages/english/modules/shipping/ups.php) [function.main]: failed to open stream: No such file or directory in /home/uslut/kayotics.com/htdocs/shop/admin/modules.php on line 132

 

Warning: main(/home/uslut/kayotics.com/htdocs/shop/includes/languages/english/modules/shipping/ups.php) [function.main]: failed to open stream: No such file or directory in /home/uslut/kayotics.com/htdocs/shop/admin/modules.php on line 132

 

Warning: main() [function.include]: Failed opening '/home/uslut/kayotics.com/htdocs/shop/includes/languages/english/modules/shipping/ups.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/uslut/kayotics.com/htdocs/shop/admin/modules.php on line 132

 

I put the ups.php file in catalog\includes\languages\english\modules\shipping\ups.php

 

But now i get this error msg..

 

Fatal error: Cannot redeclare class ups in /home/uslut/kayotics.com/htdocs/shop/includes/modules/shipping/ups.php on line 0

 

Can somebody give me some info on this.

 

Thanks.

Link to comment
Share on other sites

  • 4 months later...
But now i get this error msg..

 

Fatal error: Cannot redeclare class ups in /home/uslut/kayotics.com/htdocs/shop/includes/modules/shipping/ups.php on line 0

 

Can somebody give me some info on this.

 

Thanks.

 

I had a similar experience (the Readme doesn't state to install in the language file), and now have the following error:

Fatal error: Cannot redeclare class ups in /nfs/cust/2/57/97/779752/web/catalog/includes/modules/shipping/ups.php on line 22

 

We have a UPS account, but doesn't this contribution allow you to install the module and enter your account information in the administration control panel? How would not having a UPS account cause this error?

Link to comment
Share on other sites

The solution to the above problem is to either copy the language file from the contribution or create an empty fine in the /includes/languages/LANGUAGE/modules/shipping/ directory with the name "ups.php". Do NOT just copy the shipping module into there as it will cause the "cannot redeclare class" error.

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...