Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

header errors please help


wizard0522

Recommended Posts

Warning: Cannot modify header information - headers already sent by (output started at /home/bellbusi/public_html/bbs2005/admin/includes/languages/english.php:306) in /home/bellbusi/public_html/bbs2005/admin/includes/functions/general.php on line 18

 

 

thats what i keep on getting evry time I install a new module

 

what can I do to stop this?

Link to comment
Share on other sites

  • 1 year later...
Thank you that did the trick I can't belive I missed that

 

Hmm, I get the same error and I have tried deleting all the whitespaces before and after the PHP tags.

 

What else could be the problem?

 

Is the querystring "osCAdminID" involved in any way?

 

Thank you.

Link to comment
Share on other sites

What else could be the matter?

 

Nothing else could be the matter, it is the whitespaces. And don't use file manager to edit files.

Link to comment
Share on other sites

  • 2 weeks later...
Nothing else could be the matter, it is the whitespaces. And don't use file manager to edit files.

 

Yes, you are right, that solved the problem. I was echo'ing text before calling tep_redirect... I guess you can't do that either.

 

Thanks.

Link to comment
Share on other sites

  • 1 year later...
Yes, you are right, that solved the problem. I was echo'ing text before calling tep_redirect... I guess you can't do that either.

 

Thanks.

 

Hi,

i have the same problem.

where will i remove the whitespace and which file?

 

thanks!

Link to comment
Share on other sites

  • 1 month later...

Hello!

 

Same problem...

 

Warning: Cannot modify header information - headers already sent by (output started at /home/pokercor/public_html/includes/languages/hungarian/modules/shipping/table.php:1) in /home/pokercor/public_html/includes/functions/general.php on line 33

 

How can I check the withespaces if not with file manager?

 

Sorry if I ask a stupid question.

Please help.

 

Thanks

Link to comment
Share on other sites

Hello!

 

Same problem...

 

Warning: Cannot modify header information - headers already sent by (output started at /home/pokercor/public_html/includes/languages/hungarian/modules/shipping/table.php:1) in /home/pokercor/public_html/includes/functions/general.php on line 33

 

How can I check the withespaces if not with file manager?

 

Sorry if I ask a stupid question.

Please help.

 

Thanks

 

you need to check this file :

includes/languages/hungarian/modules/shipping/table.php

fr any blank spaces before the staring <?php or after the last ?>

 

Hari

Link to comment
Share on other sites

Hello!

 

How can I check the withespaces if not with file manager?

 

Sorry if I ask a stupid question.

Please help.

 

Thanks

You need to use a decent ftp program and ftp the file to your pc.

 

Use a text editor to edit the file and ftp the changed file to your web space.

 

A test editor - notepad (but does not list line numbers). Google for a free one.

Link to comment
Share on other sites

You need to use a decent ftp program and ftp the file to your pc.

 

Use a text editor to edit the file and ftp the changed file to your web space.

 

A test editor - notepad (but does not list line numbers). Google for a free one.

 

I did it with notepad. No whitespaces, it is sure. I used Total Commander, but nothing happened. Somebody to check my table.php? :'( :blush:

Link to comment
Share on other sites

  • 6 months later...

Warning: Cannot modify header information - headers already sent by (output started at /home/ritascre/public_html/ecomm/includes/languages/english.php:1) in /home/ritascre/public_html/ecomm/includes/functions/general.php on line 33 is the error.

 

There are no white spaces before the beginning, nor after the end - anyone who has a "better" idea?

Link to comment
Share on other sites

  • 2 weeks later...

Explanation:

If any html code is generated then html header gets generated.

 

A white space is also considered as an html utput so a header comes into existence.

 

Once an html header is there then no redirect allowed.

 

generally while uploading or edition files some special characters(not visible by most editors) comes in plave after ?>

 

So the way out is to download file.select all content from <? //start to the ?> to another file and then replace with this new file.

 

else use another editor that displays special characters and remove those.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

  • 2 months later...

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home24b/sub002/sc22474-PKOJ/vip-vacations.com/includes/languages/english/login.php:2) in /mounted-storage/home24b/sub002/sc22474-PKOJ/vip-vacations.com/includes/functions/general.php on line 33

 

I have this proplem, can someone explain me please.. I am new in php and I dont understand!!

 

Thanks

 

Mick

Link to comment
Share on other sites

See my reply in your other post!!!

 

DO NOT MULTIPLE POST QUERIES

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

  • 10 months later...

I have been warning everyone that OSCommerce edits ts own files adding spaces and taking down sites.

Is there any way we can fix this problem? We are moving everyone to zencart as fast as possible but with thousands of sites this is a chore.

Does anyone know why or how OSCommerce adds the spaces?

Link to comment
Share on other sites

Does anyone know why or how OSCommerce adds the spaces?

It doesn't.

 

It's a result of the inexperience of the user.

:huh:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

  • 1 year later...

I get this same error and no matter what I edit it with, there are no white spaces to be found. Could I send it to someone and see if they can find the white spaces?

Link to comment
Share on other sites

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...