vondrys Posted June 24, 2015 Share Posted June 24, 2015 Hi, I moved my store to another hosting, after several errors, I turned on debug and here is what shows: (check it up here: www.vsmarsovice.cz) Warning: Cannot modify header information - headers already sent by (output started at /data/web/virtuals/104293/virtual/www/tools/pear/PEAR.php:2821) in /data/web/virtuals/104293/virtual/www/classes/controller/FrontController.php on line 1355Warning: Cannot modify header information - headers already sent by (output started at /data/web/virtuals/104293/virtual/www/tools/pear/PEAR.php:2821) in /data/web/virtuals/104293/virtual/www/classes/controller/FrontController.php on line 1357Warning: Cannot modify header information - headers already sent by (output started at /data/web/virtuals/104293/virtual/www/tools/pear/PEAR.php:2821) in /data/web/virtuals/104293/virtual/www/classes/Tools.php on line 267 Thanks in advance for solving. Link to comment Share on other sites More sharing options...
El Patron Posted June 24, 2015 Share Posted June 24, 2015 Have you ever run a PretaShop on this hosing? If not then download a version of your ps (see top of forum for link). Create a subdomain and db. Upload the installation and install. this will run through PS compatibility check. If you run other PS on this hosting, check your error log from hosting. Not all errors (mod_security for example) will display on the front office regardless of enable error. Note: the above are php warnings and do not stop execution of script, this makes point you to the php error log view from hosting. Link to comment Share on other sites More sharing options...
musicmaster Posted June 26, 2015 Share Posted June 26, 2015 "Cannot modify header information - headers already sent" means that PS already emitted some data before it had finished its header stuff. And then when the header command came it couldn't because it was too late. My suggestion would be to look at the source code of the page that contains this error. At the beginning of that page you will find the data that was sent to early. Link to comment Share on other sites More sharing options...
Zohaib-fk Posted June 26, 2015 Share Posted June 26, 2015 Hi, Good news is these are warning message not error messages. Could you please try to updating error_reporting to show only error not warning messages. Using ini_set -- Sets the value of a configuration option -Thanks Zohaib. Link to comment Share on other sites More sharing options...
vondrys Posted June 29, 2015 Author Share Posted June 29, 2015 Thank you to everyone. I downloaded the whole website from old hosting again and upload to new hosting and now it works! 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