Martin C Posted December 29, 2010 Share Posted December 29, 2010 I have a strange problem with a shop, the url is http://www.onzesieraden.nlA lott of the links show a blank page for example:http://www.onzesieraden.nl/order.php?step=1http://www.onzesieraden.nl/my-account.phpThe shop was running fine from october and suddenley stoped working. Link to comment Share on other sites More sharing options...
Bruno Leveque Posted December 29, 2010 Share Posted December 29, 2010 Hi,Open the file config/config.inc.php and set display_errors to On, the errors will appear Regards, Link to comment Share on other sites More sharing options...
Martin C Posted December 29, 2010 Author Share Posted December 29, 2010 What is exact the syntax which i must use?The display error is not present at this file. Link to comment Share on other sites More sharing options...
Martin C Posted December 29, 2010 Author Share Posted December 29, 2010 sorry was looking in the wrong fileThe shop says:Warning: Cannot modify header information - headers already sent by (output started at /www/o/n/z/onzesieraden.nl/public_html/classes/Tools.php:1) in /www/o/n/z/onzesieraden.nl/public_html/classes/Cookie.php on line 261Warning: Cannot modify header information - headers already sent by (output started at /www/o/n/z/onzesieraden.nl/public_html/classes/Tools.php:1) in /www/o/n/z/onzesieraden.nl/public_html/classes/Cookie.php on line 261Warning: Cannot modify header information - headers already sent by (output started at /www/o/n/z/onzesieraden.nl/public_html/classes/Tools.php:1) in /www/o/n/z/onzesieraden.nl/public_html/classes/Tools.php on line 44 Link to comment Share on other sites More sharing options...
Bruno Leveque Posted December 29, 2010 Share Posted December 29, 2010 This is an UTF-8 related issue, quite easy to fix.Open the file /classes/Tools.php, you have a bad character at the begining of this file (first line), it's called BOM:http://en.wikipedia.org/wiki/Byte_order_markTo see it you might have to try different code editing softwares (try Notepad++ first).Regards, 3 Link to comment Share on other sites More sharing options...
Martin C Posted December 29, 2010 Author Share Posted December 29, 2010 Fixed it thanks for your response! Link to comment Share on other sites More sharing options...
Bruno Leveque Posted December 29, 2010 Share Posted December 29, 2010 It's always a pleasure to help people who help others! (I saw your messages on the forum last night)Regards, Link to comment Share on other sites More sharing options...
web.geek Posted May 26, 2011 Share Posted May 26, 2011 Merci beaucoup! I created an override class and suddenly similar error messages appeared. I changed the encoding in notepad++ from UTF-8 to UTF-8 without BOM, re-saved the file, uploaded, and it worked! 2 Link to comment Share on other sites More sharing options...
ilovekutchi.com Posted January 20, 2012 Share Posted January 20, 2012 (edited) I got the same error after adding a php.ini to my admin folder with suhosin.request.max_vars = 2048 suhosin.post.max_vars = 2048 I was trying to solve a problem with the translations and now I I get blank pages all over!!! Warning: Cannot modify header information - headers already sent by (output started at /customers/5/c/a/ilovekutchi.com/httpd.www/shop/config/smarty.config.inc.php:249) in /customers/5/c/a/ilovekutchi.com/httpd.www/shop/classes/Tools.php on line 43 Please help!!! ----- EDIT ----- I don't know how or why, but the file smarty.config.inc.php had 2 empty lines at the end of it. I deleted both lines and everything now works fine now... Ufff... Thinking about it, this error might not have nothing to do with the php.ini. I was editing the smarty.config.inc.php before and might have introduced an extra line without noticing... Edited January 20, 2012 by ilovekutchi.com (see edit history) Link to comment Share on other sites More sharing options...
diegomora83 Posted September 20, 2012 Share Posted September 20, 2012 Hi, I have the same error with cookie.php and Tools.php files and i I was trying to solve a problem with all the information in this topic witout results.. any idea how to fix it? Link to comment Share on other sites More sharing options...
diegomora83 Posted September 20, 2012 Share Posted September 20, 2012 (edited) Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosoraweb018/b2152/ipw.aws/public_html/mrma/admin/header.inc.php:113) in/hermes/bosoraweb018/b2152/ipw.aws/public_html/mrma/classes/Cookie.php on line 302 Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosoraweb018/b2152/ipw.aws/public_html/mrma/admin/header.inc.php:113) in/hermes/bosoraweb018/b2152/ipw.aws/public_html/mrma/classes/Cookie.php on line 302 Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosoraweb018/b2152//ipw.aws/public_html/mrma/admin/header.inc.php:113) in/hermes/bosoraweb018/b2152/ipw.awst/public_html/mrma/rrorclasses/Tools.php on line 107 Edited September 20, 2012 by diegomora83 (see edit history) Link to comment Share on other sites More sharing options...
diegomora83 Posted September 20, 2012 Share Posted September 20, 2012 Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosoraweb018/b2152/ipw.aws/public_html/mrma/admin/header.inc.php:113) in/hermes/bosoraweb018/b2152/ipw.aws/public_html/mrma/classes/Cookie.php on line 302 Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosoraweb018/b2152/ipw.aws/public_html/mrma/admin/header.inc.php:113) in/hermes/bosoraweb018/b2152/ipw.aws/public_html/mrma/classes/Cookie.php on line 302 Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosoraweb018/b2152//ipw.aws/public_html/mrma/admin/header.inc.php:113) in/hermes/bosoraweb018/b2152/ipw.awst/public_html/mrma/rrorclasses/Tools.php on line 107 Link to comment Share on other sites More sharing options...
Kt Posted December 17, 2012 Share Posted December 17, 2012 Hi! Can you help me? I have mistaces on autentication.php after tryin login Warning: Cannot modify header information - headers already sent by (output started at /home4/etnomaga/public_html/authentication.php:1) in /home4/etnomaga/public_html/config/config.inc.php on line 15 I try to change tools.php, but without results? Any idea? Link to comment Share on other sites More sharing options...
Helmuts Meskonis Posted December 27, 2012 Share Posted December 27, 2012 This is an UTF-8 related issue, quite easy to fix. Thank you. Had similar problem just with a different file. Removed 1st line just before <php ....>, replaced the file and the problem was resolved. Nice tx, Helmuts 1 Link to comment Share on other sites More sharing options...
yog_sothoth Posted April 19, 2013 Share Posted April 19, 2013 For me, ANSI encoding was the option that makes warning go away! 1 Link to comment Share on other sites More sharing options...
redmeteoric Posted March 22, 2014 Share Posted March 22, 2014 This is commonly known as the "whitespace problem". The error message typically looks something like Warning: Cannot modify header information - headers already sent by (output started at /path/to/geeklog/public_html/config.php:581) in /path/to/geeklog/public_html/system/lib-sessions.php on line 180 (line numbers and file names may vary). The problem is that many editors seem to add additional blanks (spaces) and/or empty lines at the end of a file when you edit it. This so-called whitespace is then sent to the browser when the file is loaded and interferes with the header of a page that Geeklog tries to send to the browser, often causing problems such as login problems. The fix is, obviously, to remove that whitespace from the file. Read the error message carefully. It says "output started at ..." followed by a file name and a line number. That is the file (and line) that you need to edit. Ignore the second file name - that is only a file that included the file that has the whitespace. The first file is the one you have to edit, not the second one. Since the editor you've been using caused this problem in the first place, you should use another editor to fix the problem and remove the whitespace. https://www.geeklog.net/faqman/index.php?op=view&t=38 Link to comment Share on other sites More sharing options...
mkczarek Posted September 15, 2014 Share Posted September 15, 2014 Hi, I have the problem and I can't sovle it. I have removed the whitespace (I think) but still the problem is the same. Can someone help me with this case? 1 Link to comment Share on other sites More sharing options...
Ed_03 Posted June 4, 2015 Share Posted June 4, 2015 Thank Bruno, i downloaded the file which was specified in the error message from my cpanel, in my case it was accordion.php. I opened it with Notepad++ and deleted the first line (the line was blank), saved and uploaded it and the problem was solved. Link to comment Share on other sites More sharing options...
raulsuances Posted May 9, 2016 Share Posted May 9, 2016 For me, ANSI encoding was the option that makes warning go away! For me too!! I edit the file who was corrupted and i save it in ANSI enconding. And i resolve the problem. Link to comment Share on other sites More sharing options...
DRIKORE Posted September 27, 2016 Share Posted September 27, 2016 Thanks you Link to comment Share on other sites More sharing options...
sussex jewellery Posted February 24, 2017 Share Posted February 24, 2017 (edited) Can anyone please help me? I cannot access the back end of the site Both front and back are white pages. I have changed php.ini to increase limits and set to show display errors and this is what I see;- Notice: tempnam(): file created in the system's temporary directory in /var/sites/x/xxxxx/public_html/store/classes/PrestaShopAutoload.php on line 151Fatal error: Uncaught Error: [] operator not supported for strings in /var/sites/x/xxxxxx/public_html/store/classes/db/DbQuery.php:70 Stack trace: #0 /var/sites/x/xxxxxx/public_html/store/classes/ObjectModel.php(203): DbQueryCore->from('shop', 'a') #1 /var/sites/x/xxxxxx/public_html/store/classes/shop/Shop.php(131): ObjectModelCore->__construct('1', NULL, NULL) #2 /var/sites/x/xxxxxx/public_html/store/classes/shop/Shop.php(392): ShopCore->__construct('1') #3 /var/sites/x/xxxxx/public_html/store/config/config.inc.php(97): ShopCore::initialize() #4 /var/sites/x/xxxxx/public_html/store/index.php(18): require('/var/sites/x/xxx...') #5 {main} thrown in /var/sites/x/xxxxxx/public_html/store/classes/db/DbQuery.php on line 70 I am using version 1.6.0.9 and default template Any help would be greatly appreciated Edited February 24, 2017 by sussex jewellery (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts