kayotics Posted March 1, 2007 Posted March 1, 2007 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.
usernamenone Posted March 1, 2007 Posted March 1, 2007 You have to sign up for an account with UPS first!
Guest Posted July 2, 2007 Posted July 2, 2007 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?
dynamoeffects Posted July 2, 2007 Posted July 2, 2007 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.