timhieuxem Posted July 8, 2007 Posted July 8, 2007 Hello, i'm new here... i purchased this template and installed everything. But when i try to register or sign in or enter my email to "tell your friend" didn't work... these are the message i got: Please help . Thank you very much Warning: Cannot modify header information - headers already sent by (output started at /home/shop/public_html/v84/mobi/includes/languages/english.php:320) in /home/shop/public_html/v84/mobi/includes/functions/general.php on line 33
Guest Posted July 8, 2007 Posted July 8, 2007 Hello, i'm new here...i purchased this template and installed everything. But when i try to register or sign in or enter my email to "tell your friend" didn't work... these are the message i got: Please help . Thank you very much Warning: Cannot modify header information - headers already sent by (output started at /home/shop/public_html/v84/mobi/includes/languages/english.php:320) in /home/shop/public_html/v84/mobi/includes/functions/general.php on line 33 It may be that both mentioned files are doing the same thing and you need to delete from one.
roobbe Posted July 10, 2007 Posted July 10, 2007 http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/15 Try this? Havent had possibility to check this on my own store yet but found this link today. Please report here if this solved your problem.
stew_g4 Posted July 16, 2007 Posted July 16, 2007 http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/15 Try this? Havent had possibility to check this on my own store yet but found this link today. Please report here if this solved your problem. That helped me as i had the same problem, there was some text at the top of one of my pages before the php tag.
danielcompton Posted February 8, 2009 Posted February 8, 2009 http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/15 Try this? Havent had possibility to check this on my own store yet but found this link today. Please report here if this solved your problem. Great post thanks, was just whitespace after the > in my case
Guest Posted February 16, 2009 Posted February 16, 2009 http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/15 Try this? Havent had possibility to check this on my own store yet but found this link today. Please report here if this solved your problem. Thank you for your help. It's folks like you who make dealing with Oscommerce quirks bearable. I had this issue while installing the Discount Coupon 3.32 module. Now if I can figure out how to make the new module work, I'll give you a discount coupon for helping me at Blessed Be Gifts! :lol:
silv3r007 Posted March 16, 2009 Posted March 16, 2009 Hi all, had this same problem make sure you check english.php in includes/languages/english.php for any white space after the ?> too. Thats what caused my problems
pooroldlu Posted March 22, 2009 Posted March 22, 2009 I second that BBGifts, "It's folks like you who make dealing with Oscommerce quirks bearable." Thanks guys, I solved my problem. All that was wrong was, my transfer.php file (\catalog\includes\languages\english\modules\payment\transfer.php) had two "enters" at the end - the dreaded whitespace. Crazy thing is, I'd never even touched that file before! Anyway, I deleted the two extra lines and hey presto, no problem! thanks again guys :)
wayneb1 Posted January 27, 2010 Posted January 27, 2010 Can someone help me debug mine even at a cost this is driving me crazy, am new to PHP and this script i bought has few errors. http://www.premierconcepts.co.za [email protected]
MouCo Posted April 12, 2010 Posted April 12, 2010 http://www.oscommerce.info/kb/osCommerce/G...mon_Problems/15 Try this? Havent had possibility to check this on my own store yet but found this link today. Please report here if this solved your problem. Thanks for this, solved my issues.
~Kira Posted April 16, 2010 Posted April 16, 2010 This happened for me after installing Header Tags SEO, where the previous developer had meta tag code in the /includes/languages/english.php file. After looking at the error code on the site again, I realized it was showing me to go to that file. So no investigation was necessary or following code flow... lol. And I might mention here that I have TONS of whitespaces everywhere after the ?> which have no effect on site performance. ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆ ☆
Rubin Remus Posted July 15, 2011 Posted July 15, 2011 I apologise for opening an old thread, but I found it quite easily and if I can get this sorted out, it might help future OSC users. I'm getting this error on a local MAMP install of the site. I migrated it from a working server to do some major work to it, but can't access the admin panel because of this damned error. Every time I delete white space, more appears in other files. I ran an automated white space removal through Dreamweaver and white space appears before the opening and after the closing PHP tags when I try to access the admin side. I don't know why it keeps generating this white space, so if anyone can shed some light on it, I'd be very grateful! Thanks in advance!
germ Posted July 15, 2011 Posted July 15, 2011 Stop using Dreamweaver and use a simple text editor like Wordpad instead. 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 >
Rubin Remus Posted July 16, 2011 Posted July 16, 2011 Is that what's causing the white space? I'll give it a shot. Thanks!
Rubin Remus Posted July 16, 2011 Posted July 16, 2011 For the future reference of anyone else giving this a go... It works! God knows why Dreamweaver does that! Thanks Germ!
Rubin Remus Posted July 16, 2011 Posted July 16, 2011 I spoke too soon. It got me to the login page, but after that I get the same error, but referencing a different file. I go there and remove the whitespace and try to load the page, and it reports the error in yet another file. It seems endless! The thing is, it's giving errors like the one below, changing the first file reference but ALWAYS referencing line 16 in general.php. [16-Jul-2011 10:11:33] PHP Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/mysite/admin/includes/classes/table_block.php:1) in /Applications/MAMP/htdocs/mysite/admin/includes/functions/general.php on line 16 Any clues as to what I can do? Below is a code snippet from general.php - the second line is line 16. } header('Location:' . $url); if (STORE_PAGE_PARSE_TIME == 'true') { if (!is_object($logger)) $logger = new logger; $logger->timer_stop(); }
germ Posted July 16, 2011 Posted July 16, 2011 Click the "Headers already sent" link in my signature. The problem is in the other file on line 1. 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 >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.