Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ECS has a deprecated constructor in /data/webroot/xiaomabaoPc/includes/cls_ecshop.php on line 25 Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /data/webroot/xiaomabaoPc/includes/cls_mysql.php:199 Stack trace: #0 /data/webroot/xiaomabaoPc/includes/cls_mysql.php(481): cls_mysql->connect('127.0.0.1', 'write_user', 'write_pwd', 'xiaomabao', 'utf8', 0) #1 /data/webroot/xiaomabaoPc/includes/cls_mysql.php(843): cls_mysql->query('select count(*)...') #2 /data/webroot/xiaomabaoPc/includes/cls_session.php(145): cls_mysql->getOne('select count(*)...') #3 /data/webroot/xiaomabaoPc/includes/cls_session.php(127): cls_session->insert_session() #4 /data/webroot/xiaomabaoPc/includes/cls_session.php(115): cls_session->gen_session_id() #5 /data/webroot/xiaomabaoPc/includes/cls_session.php(30): cls_session->cls_session(Object(cls_mysql), '`xiaomabao`.`ym...', '`xiaomabao`.`ym...', 'ECS_ID', '') #6 /data/webroot/xiaomabaoPc/includes/init.php(305): cls_session->__construct(Object(cls_mysql), '`xiaomabao`.`ym...', '`xiaomabao`.`ym...') #7 /data/webroot/xiaomabaoPc/activity/carnival_cross.php(4): require('/data/ in /data/webroot/xiaomabaoPc/includes/cls_mysql.php on line 199