This is a discussion on Warning: Cannot modify header information - headers (...) within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Ok, here is my first posting on the forum. I have tried almost anything that could come up to mind ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
#1
| |||
| |||
| Ok, here is my first posting on the forum. I have tried almost anything that could come up to mind and I can't figure this one. My website seems to be working fine except that when I do a few specific features it displays me a warning message like the following: Warning: Cannot modify header information - headers already sent by (output started at /home/alpaca-w/public_html/includes/languages/english.php:316) in /home/alpaca-w/public_html/includes/functions/general.php on line 29 My first guess was that one of the configure.php would have a blank line at the end, nada! Then I check the two php files mentionned above, same result. Anyone has any idea ? Please help, I am eager to go live P.S. No Gremlins theory this time ! javascript:emoticon(' Evil or Very Mad |
|
#2
| ||||
| ||||
| You mention specific features. What are the settings that cause this? Also, check application_top.php and header.php for the dreaded blank line Line 319 of english.php is near the end. Check that too.
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Ok you are my new god ! I know, I should really start a new thread but I still have one bug left with USPS. I have got an account with them, filled the info in the admin page and tried both product and test mode and get the following when I check out: "An error occured with the USPS shipping calculations. If you prefer to use USPS as your shipping method, please contact the store owner." Would you have any idea of what I could be doing wrong ? Does it take some time before we can use their api after they issue our account ? I am a software engineer and would like to sort of bring my contribution to this project. Any idea of some features I could work on ? |
|
#4
| ||||
| ||||
| The USPS error is probably caused by you not having your zone set up completely. You need to have the zip set in the shipping section for calculating costs. That is where I would look first. Next - ACK! How could you use the cpanel editor?!? It is SO bad. You should always use a quality text editor with line numbering when working with your php files. There are tons out there, some free, some not. I use ultra edit and dreamweaver.
__________________ Michael Sasek osCMax Developer
|
|
#5
| |||
| |||
| I have the same error, but have not used any editor.. This is what I get when clikking on to my account or checkout: Warning: Cannot modify header information - headers already sent by (output started at /home/coolkidz/public_html/shop/includes/languages/norwegian.php:785) in /home/coolkidz/public_html/shop/includes/functions/general.php on line 29 |
|
#6
| ||||
| ||||
| ChanBe, norwegian.php: line 785. Delete the blank lines after the closing php tag. The error message tells you exactly where to look.
__________________ Michael Sasek osCMax Developer
|
|
#7
| |||
| |||
| Thank you I was intended to ask questions in this item. As you said, a dreaded blank line in the end of the file catalog/includes/languages/svenska/modules/shipping/flat.php:18 I think this was the easy one and I´m coming back |
| Thread Tools | |
| |
| ||||
| Posted By | For | Type | Date | |
| Oscommerce - Discharged | This thread | Refback | 06-24-2008 01:06 AM | |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Warning: Cannot modify header information - Pls Help!! | mightymidget | osCMax v1.7 Installation | 7 | 05-22-2005 12:38 PM |
| 2 headers UGH! | AnnieChrist | osCommerce 2.2 Modification Help | 1 | 03-24-2005 05:06 AM |
| Headers | lem | osCMax v1.7 Discussion | 0 | 02-18-2005 12:07 AM |
| paypal ipn can't modify header information | battleaxe | osCMax v1.7 Discussion | 0 | 06-06-2004 11:58 AM |
| Warning: Cannot add header information | Anonymous | osCMax v1.7 Discussion | 3 | 11-28-2003 04:33 PM |