Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

got error when try to add additional shipping option


mlcy44

Recommended Posts

hi there, i have installed the osc successfully. then i tried to add an extra shipping option by specifying the shipping cost, but not brand. i followed the way how flat shipping generated, i created a file nextday.php in /includes/modules/shipping/ and includes/english/modules/shipping/. those files are same as flat.php, just changed "flat" to "nextday". i can install the new shipping option in the admin interface without problem. but when i tried to check out stuff, i got error on this page:

 

http://localhost/osc/checkout_shipping.php?n=1

 

Warning: Cannot modify header information - headers already sent by (output started at c:\inetpub\wwwroot\template50\includes\languages\english\modules\shipping\nextday.php:18) in c:\inetpub\wwwroot\template50\includes\functions\general.php on line 29

 

i don't have any clue what caused this happen. if anyone knows what is wrong, help me please. thanks alot.

Link to comment
Share on other sites

hi there, i have installed the osc successfully. then i tried to add an extra shipping option by specifying the shipping cost, but not brand. i followed the way how flat shipping generated, i created a file nextday.php in /includes/modules/shipping/ and includes/english/modules/shipping/. those files are same as flat.php, just changed "flat" to "nextday". i can install the new shipping option in the admin interface without problem. but when i tried to check out stuff, i got error on this page:

 

http://localhost/osc/checkout_shipping.php?n=1

 

Warning: Cannot modify header information - headers already sent by (output started at c:\inetpub\wwwroot\template50\includes\languages\english\modules\shipping\nextday.php:18) in c:\inetpub\wwwroot\template50\includes\functions\general.php on line 29

 

i don't have any clue what caused this happen. if anyone knows what is wrong, help me please. thanks alot.

 

arh.. i can't believe what i found! the reason this error happened is because there is a extra empty line after the ?> in includes/english/modules/shipping/nextday.php. oh well, at least it works now.

Link to comment
Share on other sites

arh.. i can't believe what i found! the reason this error happened is because there is a extra empty line after the ?> in includes/english/modules/shipping/nextday.php. oh well, at least it works now.

Yes, this is well known.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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