Jump to content

Unable to create new or save changes to products (PS 1.6.1.6)


claudio

Recommended Posts

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/fp86yk
http://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

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

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

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

  • 2 weeks later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...