数据库链接错误/无法找到数据库 : MySQL server has gone away


Fatal error: Uncaught Error: Call to undefined function ereg() in /www/wwwroot/xunleikuaichuan.com/SpeedPHP/Misc/notice.php:51 Stack trace: #0 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/Misc/notice.php(45): highlight_code() #1 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/Misc/notice.php(25): getsource() #2 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/spFunctions.php(167): require_once('/www/wwwroot/xu...') #3 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/Drivers/mysqli.php(94): spError() #4 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/spFunctions.php(149) : eval()'d code(1): db_mysqli->__construct() #5 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/spFunctions.php(149): eval() #6 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/Core/spModel.php(52): spClass() #7 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/spFunctions.php(149) : eval()'d code(1): spModel->__construct() #8 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/spFunctions.php(149): eval() #9 /www/wwwroot/xunleikuaichuan.com/SpeedPHP/Extensions/spAcl.php(78): spClass() #10 /www/wwwroot/xunleikuaich in /www/wwwroot/xunleikuaichuan.com/SpeedPHP/Misc/notice.php on line 51