Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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?

Posted
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).

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...