claudio Posted June 28, 2017 Share Posted June 28, 2017 Hi guys, I'm running into a problem since we upgraded from version 1.4 to 1.6.1.6 a few months ago, I'm unable to create new products or save changes to exisitng products as the changes do not reflect even though sometimes (randomly) the changes take effect. I've enabled debugging and on the front end as well as in the back-office I immediately started seeing the following error message; "Warning on line 1807 in file /home/stopshop/public_html/classes/controller/AdminController.php[2] Cannot modify header information - headers already sent by (output started at /home/stopshop/public_html/config/defines.inc.php:1)" Line 1807 has the following;header('Cache-Control: no-store, no-cache'); Screenshots of these errors;http://prntscr.com/fp86ykhttp://prntscr.com/fp8bas Can someone please help or point me in the right direction or have a suggestion? Thanks! Link to comment Share on other sites More sharing options...
Scully Posted June 28, 2017 Share Posted June 28, 2017 Headers alredy sent means, the output of HTML has already startet. So any function that tries to set headers again after some output has startet will fail. Try disabling modules one by one. Or at least all non prestashop default modules. Then check products update again. Turn on modules one by one. As soon as you get the error, you should know the module that causes this behavior. Link to comment Share on other sites More sharing options...
claudio Posted June 29, 2017 Author Share Posted June 29, 2017 Thanks for the suggestion, unfortunately disabling all non Prestashop module didn't help and I also disabled the theme that I'm running and used the PS standard theme but the problem persists. Any other suggestions that I could try? Thanks Link to comment Share on other sites More sharing options...
Scully Posted June 29, 2017 Share Posted June 29, 2017 Check this file which is part of the error message. /public_html/config/defines.inc.php The error message says this files outputs something which it may not. Error is probably on the very first line there. Even a blank space might caused that error. Eventually restoring this file from a backup might help. Link to comment Share on other sites More sharing options...
claudio Posted July 12, 2017 Author Share Posted July 12, 2017 For anyone that runs into similar issues or has any other problems that you can't fix, please contact Jeevan as he resolved all issues that we were experiencing and our website is working extremely well and fast. His services are great and definitely worth considering as he knows what he's doing. Here's a link to his profile; https://www.prestashop.com/forums/user/224035-jeevanoss/ Link to comment Share on other sites More sharing options...
Scully Posted July 12, 2017 Share Posted July 12, 2017 Helpful would be to how the fix was made. This is what the forum is for. Link to comment Share on other sites More sharing options...
claudio Posted July 12, 2017 Author Share Posted July 12, 2017 Sorry but I can post a solution that I don't know, I paid him to fix this and other problems that came up. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now