Post by hslee1106 » Fri Jan 04, 2019 11:45 am

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.

Newbie

Posts

Joined
Fri Jan 04, 2019 11:28 am

Post by Johnathan » Fri Jan 04, 2019 11:14 pm

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

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by ADD Creative » Fri Jan 04, 2019 11:29 pm

Check your config.php and admin/config.php files are using the newer mysqli driver.

Code: Select all

define('DB_DRIVER', 'mysqli');

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 40 guests