Deprecated: mysql_connect()
Posted: Tue May 10, 2016 9:56 pm
Hi
My ISP has just upgraded php on the shared server we use and am now not able to login to the store as admin, I do have FTP access however (phew)
OC Version - 1.5.6
++
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/earworms/public_html/earwormslearning.com/store/vqmod/vqcache/vq2-system_startup.php on line 102
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/earworms/public_html/earwormslearning.com/store/vqmod/vqcache/vq2-system_startup.php:102) in /home/earworms/public_html/earwormslearning.com/store/vqmod/vqcache/vq2-system_startup.php on line 120
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/earworms/public_html/earwormslearning.com/store/vqmod/vqcache/vq2-system_startup.php:102) in /home/earworms/public_html/earwormslearning.com/store/vqmod/vqcache/vq2-system_startup.php on line 120
Parse error: syntax error, unexpected 'else' (T_ELSE), expecting function (T_FUNCTION) in /home/earworms/public_html/earwormslearning.com/store/system/database/mysqli.php on line 54
++
as per advice I've read here, I've changed in both config.php and admin/config.php the line to read
define('DB_DRIVER', 'mysqli');
Any advice would be much appreciated right now.
I've already told the store owner - on many occasions - to upgrade but advice falls on deaf ears, what can ya do
My ISP has just upgraded php on the shared server we use and am now not able to login to the store as admin, I do have FTP access however (phew)
OC Version - 1.5.6
++
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/earworms/public_html/earwormslearning.com/store/vqmod/vqcache/vq2-system_startup.php on line 102
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/earworms/public_html/earwormslearning.com/store/vqmod/vqcache/vq2-system_startup.php:102) in /home/earworms/public_html/earwormslearning.com/store/vqmod/vqcache/vq2-system_startup.php on line 120
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/earworms/public_html/earwormslearning.com/store/vqmod/vqcache/vq2-system_startup.php:102) in /home/earworms/public_html/earwormslearning.com/store/vqmod/vqcache/vq2-system_startup.php on line 120
Parse error: syntax error, unexpected 'else' (T_ELSE), expecting function (T_FUNCTION) in /home/earworms/public_html/earwormslearning.com/store/system/database/mysqli.php on line 54
++
as per advice I've read here, I've changed in both config.php and admin/config.php the line to read
define('DB_DRIVER', 'mysqli');
Any advice would be much appreciated right now.
I've already told the store owner - on many occasions - to upgrade but advice falls on deaf ears, what can ya do