jgk-dk Posted September 14, 2017 Share Posted September 14, 2017 Hi suddenly i got the mesage Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in/home/gpadanma/public_html/classes/MySQL.php on line 33Warning: Cannot modify header information - headers already sent by (output started at /home/gpadanma/public_html/classes/MySQL.php:33) in/home/gpadanma/public_html/classes/Cookie.php on line 301Warning: Cannot modify header information - headers already sent by (output started at /home/gpadanma/public_html/classes/MySQL.php:33) in/home/gpadanma/public_html/classes/Cookie.php on line 301 Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/gpadanma/public_html/classes/MySQL.php on line 33Warning: Cannot modify header information - headers already sent by (output started at /home/gpadanma/public_html/classes/MySQL.php:33) in /home/gpadanma/public_html/2012/header.inc.php on line 29Warning: Cannot modify header information - headers already sent by (output started at /home/gpadanma/public_html/classes/MySQL.php:33) in /home/gpadanma/public_html/2012/header.inc.php on line 30Warning: Cannot modify header information - headers already sent by (output started at /home/gpadanma/public_html/classes/MySQL.php:33) in /home/gpadanma/public_html/2012/header.inc.php on line 31Warning: Cannot modify header information - headers already sent by (output started at /home/gpadanma/public_html/classes/MySQL.php:33) in /home/gpadanma/public_html/2012/header.inc.php on line 32Warning: Cannot modify header information - headers already sent by (output started at /home/gpadanma/public_html/classes/MySQL.php:33) in /home/gpadanma/public_html/classes/Cookie.php on line 301Warning: Cannot modify header information - headers already sent by (output started at /home/gpadanma/public_html/classes/MySQL.php:33) in /home/gpadanma/public_html/classes/Cookie.php on line 301 What is this and how can i solve it? Jan Link to comment Share on other sites More sharing options...
jgk-dk Posted September 14, 2017 Author Share Posted September 14, 2017 Just try to make another htaccess file and now only this: Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in/home/gpadanma/public_html/classes/MySQL.php on line 34 Jan Link to comment Share on other sites More sharing options...
Scully Posted September 14, 2017 Share Posted September 14, 2017 (edited) This messages do not occur suddenly. You changed your PHP version - or your hosting company did this. Newer PHP versions most likely have some functions which are deprecated. In other words: your php isn't compatible anymore with your PrestaShop version. Unfortunately you did not give any information on your setup but I guess your prestashop must be a quite older version. Edited September 14, 2017 by Scully (see edit history) 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