punkit07 Posted July 11, 2005 Share Posted July 11, 2005 Fatal error: Cannot redeclare class ups in /home/punkit07/public_html/includes/modules/shipping/ups.php on line 29 What does that mean? I am trying to install a UPS Module and it says that. I put it under english/modules/shipping and under includes/modules/shipping. I tried just putting it under one and it dosn't work either. What am i doing wrong? Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 11, 2005 Share Posted July 11, 2005 The new module you are installing is using the same class name as the existing UPS module so the code is confused because you have two modules with the same class name. You need to delete the old UPS modules from includes/modules/shipping. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
punkit07 Posted July 11, 2005 Author Share Posted July 11, 2005 The new module you are installing is using the same class name as the existing UPS module so the code is confused because you have two modules with the same class name. You need to delete the old UPS modules from includes/modules/shipping. Jack <{POST_SNAPBACK}> i did. so then, what do i do? do i install the new ups.php in both directories? Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 11, 2005 Share Posted July 11, 2005 Yes. Each module has a file in the modules directory and one in the english directory. The one in the english directory just contains text so it won't cause this problem. It is the one in the modules directory that is most likely the reason for the failure. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
punkit07 Posted July 11, 2005 Author Share Posted July 11, 2005 Yes. Each module has a file in the modules directory and one in the english directory. The one in the english directory just contains text so it won't cause this problem. It is the one in the modules directory that is most likely the reason for the failure. Jack <{POST_SNAPBACK}> ok it works. Thank you. But, at the shipping page it has this error: United Parcel Service An error occured with the UPS shipping calculations. Invalid ShipperPostalCode If you prefer to use UPS as your shipping method, please contact the store owner. how do i fix that? Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 11, 2005 Share Posted July 11, 2005 Do you have a zip code listed in admin->configuration->Shipping/Packaging? Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
punkit07 Posted July 11, 2005 Author Share Posted July 11, 2005 Do you have a zip code listed in admin->configuration->Shipping/Packaging? Jack <{POST_SNAPBACK}> Thank you sooo much. You do not know how much i appreciate this. Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 11, 2005 Share Posted July 11, 2005 NP. Glad I could help. :) Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.