wizard0522 Posted June 22, 2005 Posted June 22, 2005 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?
♥yesudo Posted June 22, 2005 Posted June 22, 2005 delete any whitespace b4 the first <?php and after the last ?> in the first file mentioned. Your online success is Paramount.
wizard0522 Posted June 22, 2005 Author Posted June 22, 2005 delete any whitespace b4 the first <?php and after the last ?> in the first file mentioned. <{POST_SNAPBACK}> Thank you that did the trick I can't belive I missed that
Guest Posted July 6, 2006 Posted July 6, 2006 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.
Guest Posted July 6, 2006 Posted July 6, 2006 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.
Guest Posted July 18, 2006 Posted July 18, 2006 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.
pixeltrace Posted December 2, 2007 Posted December 2, 2007 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!
Guest Posted December 2, 2007 Posted December 2, 2007 Hi,i have the same problem. where will i remove the whitespace and which file? thanks! Depends on the error message.
leffencs Posted January 29, 2008 Posted January 29, 2008 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
hari_shyam Posted January 29, 2008 Posted January 29, 2008 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
Guest Posted January 29, 2008 Posted January 29, 2008 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.
leffencs Posted January 29, 2008 Posted January 29, 2008 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:
daniaw Posted August 5, 2008 Posted August 5, 2008 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?
jollyjoker Posted August 15, 2008 Posted August 15, 2008 I've tried to set up all language files to UTF-8 and then everything was working !! :blink:
satish Posted August 15, 2008 Posted August 15, 2008 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.
Mick-Jensen Posted November 15, 2008 Posted November 15, 2008 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
spooks Posted November 15, 2008 Posted November 15, 2008 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.
scottprovost Posted September 28, 2009 Posted September 28, 2009 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?
germ Posted September 28, 2009 Posted September 28, 2009 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 >
Guest Posted June 17, 2011 Posted June 17, 2011 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?
germ Posted June 17, 2011 Posted June 17, 2011 "Headers already sent..." The definitive guide/help 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 >
Guest Posted June 17, 2011 Posted June 17, 2011 "Headers already sent..." The definitive guide/help Simply Awesome! Thanks!!!!! Keith
Recommended Posts
Archived
This topic is now archived and is closed to further replies.