Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/orange2y/public_html/system/database/mysql.php on line 6
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/orange2y/public_html/system/database/mysql.php:6) in /home/orange2y/public_html/system/library/session.php on line 11Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/orange2y/public_html/system/database/mysql.php:6) in /home/orange2y/public_html/system/library/session.php on line 11
Hi, can anyone help me for this?
I tried to restore back 1.5.6.1, because getting this message after install 1.5.6.4 , but still get the error message at the end and I can't login via admin page.
There are some fixes that address the deprecation of mysql_connect() in the marketplace. I think this is one of them, it may work for you:
https://www.opencart.com/index.php?rout ... n_id=30233
https://www.opencart.com/index.php?rout ... n_id=30233
Check your config.php and admin/config.php files are using the newer mysqli driver.
Code: Select all
define('DB_DRIVER', 'mysqli');
Who is online
Users browsing this forum: No registered users and 129 guests