lil_zipo Posted February 24, 2015 Share Posted February 24, 2015 Hi all, I'm getting this message on the website: Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /customers/6/7/8/exotic-insects.com/httpd.www/classes/MySQL.php on line 34 Warning: Cannot modify header information - headers already sent by (output started at /customers/6/7/8/exotic-insects.com/httpd.www/classes/MySQL.php:34) in /customers/6/7/8/exotic-insects.com/httpd.www/classes/Cookie.php on line 300 Warning: Cannot modify header information - headers already sent by (output started at /customers/6/7/8/exotic-insects.com/httpd.www/classes/MySQL.php:34) in /customers/6/7/8/exotic-insects.com/httpd.www/classes/Cookie.php on line 300 Warning: Cannot modify header information - headers already sent by (output started at /customers/6/7/8/exotic-insects.com/httpd.www/classes/MySQL.php:34) in /customers/6/7/8/exotic-insects.com/httpd.www/classes/FrontController.php on line 335 it shows on the frontoffice and i cannot access the backoffice. I'm confused what to do about it...Can anyone help? Should I update my prestashop version? Thanks in Advance Link to comment Share on other sites More sharing options...
bellini13 Posted February 24, 2015 Share Posted February 24, 2015 it appears you have debug mode enabled. you should disable it and try again. you can search the forums or google how to disable debug mode for whatever version it is you are using. Link to comment Share on other sites More sharing options...
lil_zipo Posted February 24, 2015 Author Share Posted February 24, 2015 my debug mode is not enabled; still I get the same problem... I really dont understand cuz the problem happend over night without changing anything Link to comment Share on other sites More sharing options...
Guest Posted February 24, 2015 Share Posted February 24, 2015 if it has happened overnight without you doing anything then talk to your server hosts. Perhaps they have changed their systems. Link to comment Share on other sites More sharing options...
lil_zipo Posted February 24, 2015 Author Share Posted February 24, 2015 Ok; the problem is solved, it was a problem with my server host. thank you all very much for the fast reply! Link to comment Share on other sites More sharing options...
Mackens Posted April 17, 2017 Share Posted April 17, 2017 Hello Lil_zipo Can you say here what was the problem with your server host ? I have the same problem now Link to comment Share on other sites More sharing options...
bellini13 Posted April 17, 2017 Share Posted April 17, 2017 If you are receiving the same exact warning... Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead Then it means you are using an older mysql driver/extension, which is technically ok, and you have a few options 1) you can disable debug mode, and then just ignore and move on 2) if you do not want to ignore the warning, then you will need to work with your hosting provider to disable the mysql extension, and instead use the mylsqi or pdo extension Link to comment Share on other sites More sharing options...
Mackens Posted April 18, 2017 Share Posted April 18, 2017 Hello Bellini13. Thank you for the advice. The warning does not appear any more since we have removed 2 obsolete modules. Thanks again 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