如何修复未捕获的错误:调用未定义函数mysql_connect

时间:2019-03-26 17:38:31

标签: mysql-connect

我有这个问题:

我该如何解决?

我试图将所有内容更改为“ mysqli_connect”,但是当我这样做时,出现了“无法连接到数据库:无法连接到MySQL”错误。

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/tamiafan/public_html/jojo-levesque.net/gallery/include/functions.inc.php:183 Stack trace: #0 /home/tamiafan/public_html/jojo-levesque.net/gallery/include/init.inc.php(171): cpg_db_connect() #1 /home/tamiafan/public_html/jojo-levesque.net/gallery/index.php(26): require('/home/tamiafan/...') #2 {main} thrown in /home/tamiafan/public_html/jojo-levesque.net/gallery/include/functions.inc.php on line 183

0 个答案:

没有答案