maxtors Posted October 4, 2008 Posted October 4, 2008 Hello i have OSC rc1 i am trying to install Ship In Cart v2.2.1 it installed fine i also have USPS Methods 3.0 when i click on cart and type in my zip code to calculate shipping it works the first time but if i try a different zip code i get a Fatal error: Cannot redeclare round_up() (previously declared in includes/modules/shipping/usps.php:107) in includes/modules/shipping/usps.php on line 107 Does anyone know how i can fix this error? Quote
Jan Zonjee Posted October 4, 2008 Posted October 4, 2008 Hello i have OSC rc1 i am trying to install Ship In Cart v2.2.1 it installed fine i also have USPS Methods 3.0 when i click on cart and type in my zip code to calculate shipping it works the first time but if i try a different zip code i get a Fatal error: Cannot redeclare round_up() (previously declared in includes/modules/shipping/usps.php:107) in includes/modules/shipping/usps.php on line 107 Does anyone know how i can fix this error? I'm not familiar with either of those contributions but from the error it sounds that both shipping modules have a declaration of a function round_up() { bla, bla } in them that are not class functions. If so, I would suggest adding that function to catalog/includes/functions/general.php and commenting them out in both shipping modules (with a comment that you moved it to the general.php). Quote
Recommended Posts
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.