osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Warning: Cannot modify header information - headers (...)

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


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack (1) Thread Tools
  1 links from elsewhere to this Post. Click to view. #1  
Old 06-07-2003, 08:33 AM
Lurker
 
Join Date: Jun 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
grosnombril
Default Warning: Cannot modify header information - headers (...)

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 06-07-2003, 11:49 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

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


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 06-07-2003, 02:05 PM
Lurker
 
Join Date: Jun 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
grosnombril
Default

Ok you are my new god ! Actually this was not my problem but your comment did ring a bell. I was trusting cpanel for editing the file. The truth was that EVEN THOUGH the Cpanel editor would show me nothing after the > there was 2 extra lines. I have ftp'ed the file, edited it and it works just fine now!

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 ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 06-07-2003, 02:35 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

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


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 10-29-2003, 03:56 PM
New Member
 
Join Date: Aug 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ChanBe
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 10-29-2003, 05:23 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

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


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 02-08-2005, 01:04 AM
Lurker
 
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Bernt
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.oscmax.com/forums/oscommerce-2-2-installation-help/696-warning-cannot-modify-header-information-headers.html

Posted By For Type Date
Oscommerce - Discharged This thread Refback 06-24-2008 01:06 AM

Similar Threads

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


All times are GMT -8. The time now is 01:47 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax