Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HEader Error


dropmachine.com

Recommended Posts

Dammit. This is driving me nuts.

 

I randomly get this error:

 

Warning: Cannot modify header information - headers already sent by (output started at /homepages/43/d114531006/htdocs/cyclesolutionsonline/includes/languages/english.php:1) in /homepages/43/d114531006/htdocs/cyclesolutionsonline/includes/functions/general.php on line 33

 

 

I dont know why. It only happens on certain pages, not all of them. I am at a loss of what to do.

 

I have edited quite a few pages, so I'm not sure where to start...

Link to comment
Share on other sites

Dammit. This is driving me nuts.

 

I randomly get this error:

 

Warning: Cannot modify header information - headers already sent by (output started at /homepages/43/d114531006/htdocs/cyclesolutionsonline/includes/languages/english.php:1) in /homepages/43/d114531006/htdocs/cyclesolutionsonline/includes/functions/general.php on line 33

I dont know why. It only happens on certain pages, not all of them. I am at a loss of what to do.

 

I have edited quite a few pages, so I'm not sure where to start...

 

Caused by empty space at the end or beginnig of your file. You can find more info HERE

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Caused by empty space at the end or beginnig of your file. You can find more info HERE

 

Hi, I got this warning earlier today but got helped and fixed it. Maybe it also works for you. My error was:

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /customers/kjolebutikken.com/kjolebutikken.com/httpd.www/nettbutikk/admin/includes/functions/sessions.php:110) in /customers/kjolebutikken.com/kjolebutikken.com/httpd.www/nettbutikk/admin/includes/functions/sessions.php on line 67

 

I did this:

 

....

Cause : Previous bug in PHP fixed in latest version (Chances are your ISP has updated to the new version)

 

 

Fix: Goto Admin / Configuration / Sessions and change the "Sessions Directory" to tmp (no slashes)

 

If you can't get into Admin, goto your Database Admin page (usually PhPAdmin app.)

Click on any table on the left hand side.

Click on SQL at the top of the screen

Overtype whatever appears in the SQL window with ...

 

 

UPDATE configuration SET configuration_value = 'tmp' WHERE configuration_key='SESSION_WRITE_DIRECTORY'

 

 

Click GO

........

 

God luck

Kjolebutikken:-)

Best regards

Kjolebutikken

Link to comment
Share on other sites

Those are two completely different errors.

 

In the first error the first line states "Cannot modify header information - headers already sent by".

 

In the second error posted the first line says "session_start(): Cannot send session cache limiter - headers already sent"

 

The first one is definitely a white space issue which caused the 'headers already sent' error, in the second one it is the session error that led to the 'headers already sent' error.

 

I just don't want people getting confused - thinking that they are the same problem.

 

Vger

Link to comment
Share on other sites

Dammit. This is driving me nuts.

 

I randomly get this error:

 

Warning: Cannot modify header information - headers already sent by (output started at /homepages/43/d114531006/htdocs/cyclesolutionsonline/includes/languages/english.php:1) in /homepages/43/d114531006/htdocs/cyclesolutionsonline/includes/functions/general.php on line 33

I dont know why. It only happens on certain pages, not all of them. I am at a loss of what to do.

You probably have white space before the first <?php or after the last ?> in one file or another, probably languages/english.php.

 

I have edited quite a few pages, so I'm not sure where to start...
<_<

That'll teach ya...

 

Test thoroughly after every change...

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

You probably have white space before the first <?php or after the last ?> in one file or another, probably languages/english.php.

 

<_<

That'll teach ya...

 

Test thoroughly after every change...

 

 

and BACKUP YOUR FILES!!!!!

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...