骑士cms Call to undefined function HomeControllermysql_connect()
问题:
错误位置
FILE: /usr/local/applications/job/install/Home/Controller/IndexController.class.php LINE: 475
TRACE
#0 [internal function]: Home\Controller\IndexController->detection_db()
#1 /usr/local/applications/job/ThinkPHP/Library/Think/App.class.php(169): ReflectionMethod->invoke(Object(Home\Controller\IndexController))
#2 /usr/local/applications/job/ThinkPHP/Library/Think/App.class.php(106): Think\App::invokeAction(Object(Home\Controller\IndexController), 'detection_db')
#3 /usr/local/applications/job/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()
#4 /usr/local/applications/job/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#5 /usr/local/applications/job/ThinkPHP/ThinkPHP.php(102): Think\Think::start()
#6 /usr/local/applications/job/install.php(11): require('/usr/local/appl...')
#7 {main}
解决方法:
您好,根据您的描述可能原因为你服务器php环境版本过高所致,高版本的(如7.0)已不支持mysql_connect这个函数。推荐您使用php5.6环境,祝您使用娱快。
本站声明:网站内容来源于网络,如有侵权,请联系我们https://www.qiquanji.com,我们将及时处理。
微信扫码关注
更新实时通知