mlcy44 Posted March 8, 2007 Share Posted March 8, 2007 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. Quote Link to comment Share on other sites More sharing options...
mlcy44 Posted March 8, 2007 Author Share Posted March 8, 2007 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. Quote Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2007 Share Posted March 8, 2007 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. Quote Link to comment Share on other sites More sharing options...
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.