GerardN Posted May 7, 2014 Share Posted May 7, 2014 Hi all, I have some strange problems with my website. When i type cadeauaanbieding.nl as url, the website will be loaded with the following errors: Warning: Cannot modify header information - headers already sent by (output started at /home/cadeauaa/public_html/classes/Tools.php:1) in /home/cadeauaa/public_html/classes/controller/FrontController.php on line 762Warning: Function addJS() is deprecated in /home/cadeauaa/public_html/modules/xcdailydeals/xcdailydeals.php on line 245in /home/cadeauaa/public_html/classes/Tools.php on line 1777Warning: Function addCSS() is deprecated in /home/cadeauaa/public_html/modules/xcdailydeals/xcdailydeals.php on line 246in /home/cadeauaa/public_html/classes/Tools.php on line 1777 When i enter www.cadeauaanbieding.nl as url i get a white screen with the error: Warning: Cannot modify header information - headers already sent by (output started at /home/cadeauaa/public_html/classes/Tools.php:1) in /home/cadeauaa/public_html/classes/shop/Shop.php on line 389 I read some things about BOM, but i already downloaded the files and I can't see any BOM Can someone tell me what to do? Greetz, Gerard Link to comment Share on other sites More sharing options...
musicmaster Posted May 7, 2014 Share Posted May 7, 2014 The headers already sent doesn't need to be a BOM. More usual is that there was some error message. You could look at the source code of the page for that. For the addcss/addjs errors see http://www.prestashop.com/forums/topic/208918-errors-and-bugs-how-do-i-fix-these/?do=findComment&comment=1379257 I get an internal server error 500 on your site. Link to comment Share on other sites More sharing options...
vekia Posted May 7, 2014 Share Posted May 7, 2014 you modified some files of your controllers? Link to comment Share on other sites More sharing options...
GerardN Posted May 9, 2014 Author Share Posted May 9, 2014 I asked someone to look at it. Now the site works, but a few pages still give a whitescreen. It are the pages: http://cadeauaanbieding.nl/my-account and http://cadeauaanbieding.nl/order-history. The guy who fixed it for me says it has to do with mod_rewrite?! He allready adapted the rewrite rules. It is activated at the host. Link to comment Share on other sites More sharing options...
NemoPS Posted May 9, 2014 Share Posted May 9, 2014 In any case, this module xcdailydeals Uses deprecated methods, you should clear that one first Link to comment Share on other sites More sharing options...
GerardN Posted May 9, 2014 Author Share Posted May 9, 2014 Hi Nemo, Thanks for your reply, but the errors from my first message aren't the problem anymore. Now I get a whitescreen at some pages, see my quote. Where can I fix this problem? And what should I change? I asked someone to look at it. Now the site works, but a few pages still give a whitescreen. It are the pages: http://cadeauaanbieding.nl/my-account and http://cadeauaanbieding.nl/order-history. The guy who fixed it for me says it has to do with mod_rewrite?! He allready adapted the rewrite rules. It is activated at the host. Link to comment Share on other sites More sharing options...
NemoPS Posted May 9, 2014 Share Posted May 9, 2014 Enable error reporting and see if you get some kind of error first (see my signature) Link to comment Share on other sites More sharing options...
GerardN Posted May 9, 2014 Author Share Posted May 9, 2014 At the homepage i get the following errors: Warning: Cannot modify header information - headers already sent by (output started at /home/cadeauaa/public_html/index.php:2) in /home/cadeauaa/public_html/classes/Cookie.php on line 323Warning: Cannot modify header information - headers already sent by (output started at /home/cadeauaa/public_html/index.php:2) in /home/cadeauaa/public_html/classes/controller/FrontController.php on line 762Warning: Function addJS() is deprecated in /home/cadeauaa/public_html/modules/xcdailydeals/xcdailydeals.php on line 245in /home/cadeauaa/public_html/classes/Tools.php on line 1777Warning: Function addCSS() is deprecated in /home/cadeauaa/public_html/modules/xcdailydeals/xcdailydeals.php on line 246in /home/cadeauaa/public_html/classes/Tools.php on line 1777 How can I fix these errors? Link to comment Share on other sites More sharing options...
El Patron Posted May 9, 2014 Share Posted May 9, 2014 don't worry about those errors until you have navigated to the pages that were giving you the blank page. Link to comment Share on other sites More sharing options...
GerardN Posted May 9, 2014 Author Share Posted May 9, 2014 Allright.. I fixed the Function addJS() is deprecated and the addCSS() is deprecated.. How can I fix the other 2? Link to comment Share on other sites More sharing options...
GerardN Posted May 9, 2014 Author Share Posted May 9, 2014 don't worry about those errors until you have navigated to the pages that were giving you the blank page. On the blank pages I get the following errors: Warning: Cannot modify header information - headers already sent by (output started at /home/cadeauaa/public_html/index.php:2) in /home/cadeauaa/public_html/classes/Cookie.php on line 323 Warning: Cannot modify header information - headers already sent by (output started at /home/cadeauaa/public_html/index.php:2) in /home/cadeauaa/public_html/classes/Tools.php on line 108 Link to comment Share on other sites More sharing options...
vekia Posted May 9, 2014 Share Posted May 9, 2014 On the blank pages I get the following errors: Warning: Cannot modify header information - headers already sent by (output started at /home/cadeauaa/public_html/index.php:2) in /home/cadeauaa/public_html/classes/Cookie.php on line 323 Warning: Cannot modify header information - headers already sent by (output started at /home/cadeauaa/public_html/index.php:2) in /home/cadeauaa/public_html/classes/Tools.php on line 108 this is why i asked before you modified some files of your controllers? if so, problem can be related to wrong file coding - for example utf-8 with bom, or also any other non-utf format. Link to comment Share on other sites More sharing options...
GerardN Posted May 9, 2014 Author Share Posted May 9, 2014 No files of my controllers are changed Link to comment Share on other sites More sharing options...
GerardN Posted May 9, 2014 Author Share Posted May 9, 2014 I found the problem! <?php wasn't on top of the index.php in public_html Thanks for helping me! 2 Link to comment Share on other sites More sharing options...
vekia Posted May 9, 2014 Share Posted May 9, 2014 glad to hear that you solved this weirdy issue i can go ahead and mark topic title as solved with regards, Milos Link to comment Share on other sites More sharing options...
vekia Posted May 9, 2014 Share Posted May 9, 2014 you can also mark own topic as solved, instructions below: [sOLVED] TopicIf, after posting a topic, you find a solution to your problem, please indicate it in your post and describe the solution.Furthermore if you are the author of the topic for which a solution has been found, please edit your topic title to mark it as [sOLVED].To mark a topic as [solved] :- Edit the first post of your topic by clicking on the "Edit" button,- Click on the "Use full editor" button,- Add the "[solved]" string at the beginning of your topic title and click on the "Submit Modified Post" button. it's not necessary but it's a good practice for whole community :-) with regards,Milos Link to comment Share on other sites More sharing options...
Recommended Posts