celina1982 Posted March 3, 2014 Share Posted March 3, 2014 (edited) hello there I have a problem :-( When i place an order in my eshop, and ready to pay, everything looks good. I write the credit card number etc, but when I click on "next" button I get the following warnings: Warning: File /home/sichicdk/public_html/mysite/order-confirmation.php is deprecatedin /home/sichicdk/public_html/mysite/classes/Tools.php on line 1843Warning: Cannot modify header information - headers already sent by (output started at /home/sichicdk/public_html/mysite/classes/Tools.php:1843) in /home/sichicdk/public_html/mysite/classes/Tools.php on line 105Warning: Cannot modify header information - headers already sent by (output started at /home/sichicdk/public_html/mysite/classes/Tools.php:1843) in /home/sichicdk/public_html/mysite/classes/Tools.php on line 108 Someone told me to set the display errors to off. I read about it on www.mypresta.eu, but I just can't figure it out:-/ I looked at the config.ini, but could not find anything. I don't know anything about php and codes, and afraid to do something wrong and ruin everything. plz tell what I have to do exactly? kind regards Edited March 5, 2014 by celina1982 (see edit history) Link to comment Share on other sites More sharing options...
celina1982 Posted March 5, 2014 Author Share Posted March 5, 2014 hi guys. I want to turn off the warning and deprecated. I tried with this code: error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED but it does not turn off the deprecated, only the other warnings. can you help me with that? it should work, but it does not :-/ Link to comment Share on other sites More sharing options...
El Patron Posted March 5, 2014 Share Posted March 5, 2014 in same place you are setting different error reporting levels, set this to false define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); Note: for production day to day running of your shop you should set debug off as it can lead to unpredictable results. 1 Link to comment Share on other sites More sharing options...
celina1982 Posted March 7, 2014 Author Share Posted March 7, 2014 thank you El patron, the problem is solved. someonehas disabled debug mode in my site, and that solved tge problem with warning messages 1 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