Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

header errors please help


wizard0522

Recommended Posts

Posted

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?

Posted

delete any whitespace b4 the first <?php and after the last ?> in the first file mentioned.

Your online success is Paramount.

  • 1 year later...
Posted
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.

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

  • 2 weeks later...
Posted
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.

  • 1 year later...
Posted
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!

Posted
Hi,

i have the same problem.

where will i remove the whitespace and which file?

 

thanks!

Depends on the error message.

  • 1 month later...
Posted

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

Posted
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

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

Posted
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:

  • 6 months later...
Posted

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?

  • 2 weeks later...
Posted

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.

  • 2 months later...
Posted

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

Posted

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.

  • 10 months later...
Posted

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?

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

  • 1 year later...
Posted

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?

Posted

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 >

Archived

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

×
×
  • Create New...