1.5.3.1 admin stopped working
errors at admin login page:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/xxx/public_html/system/database/mysql.php on line 6
Warning: fopen(/home/xxx/public_html/system/logs/error.txt): failed to open stream: No such file or directory in /home/xxx/public_html/system/library/log.php on line 12
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/xxx/public_html/system/library/log.php on line 14
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/xxx/public_html/system/library/log.php on line 16
after unsuccessful login, blank page with errors goes like this:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/xxx/public_html/system/database/mysql.php on line 6
Warning: fopen(/home/xxx/public_html/system/logs/error.txt): failed to open stream: No such file or directory in /home/xxx/public_html/system/library/log.php on line 12
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/xxx/public_html/system/library/log.php on line 14
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/xxx/public_html/system/library/log.php on line 16
Warning: fopen(/home/xxx/public_html/system/logs/error.txt): failed to open stream: No such file or directory in /home/xxx/public_html/system/library/log.php on line 12
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/xxx/public_html/system/library/log.php on line 14
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/xxx/public_html/system/library/log.php on line 16
Warning: fopen(/home/xxx/public_html/system/logs/error.txt): failed to open stream: No such file or directory in /home/xxx/public_html/system/library/log.php on line 12
Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/xxx/public_html/system/library/log.php on line 14
Warning: fclose() expects parameter 1 to be resource, boolean given in /home/xxx/public_html/system/library/log.php on line 16
xxx is used for domain name
Any advice or help on this?
Thanks!
The error is the advise itself.
Open you config.php and admin/config.php, lookup where it says mysql and change to mysqli
Open you config.php and admin/config.php, lookup where it says mysql and change to mysqli
Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com
For OC v.1.5.3.x, you also need to download a mysqli.php File, to make it work!
Ernie
Mysqli for Opencart 1.5.x
https://www.opencart.com/index.php?rout ... rch=mysqli
Ernie
Mysqli for Opencart 1.5.x
https://www.opencart.com/index.php?rout ... rch=mysqli
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 123 guests