Warning: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /alidata/www/lib/redbeanphp/4.x/rb.php on line 820
Fatal error: Uncaught exception 'PDOException' with message 'Could not connect to database (hongbao2016).' in /alidata/www/lib/redbeanphp/4.x/rb.php:830
Stack trace:
#0 /alidata/www/lib/redbeanphp/4.x/rb.php(656): RedBeanPHP\Driver\RPDO->connect()
#1 /alidata/www/lib/redbeanphp/4.x/rb.php(854): RedBeanPHP\Driver\RPDO->runQuery('SELECT * FROM `...', Array)
#2 /alidata/www/lib/redbeanphp/4.x/rb.php(921): RedBeanPHP\Driver\RPDO->GetAll('SELECT * FROM `...', Array)
#3 /alidata/www/lib/redbeanphp/4.x/rb.php(3350): RedBeanPHP\Driver\RPDO->GetRow('SELECT * FROM `...', Array)
#4 /alidata/www/lib/redbeanphp/4.x/rb.php(10092): RedBeanPHP\Adapter\DBAdapter->getRow('SELECT * FROM `...', Array)
#5 /alidata/www/lib/redbeanphp/4.x/rb.php(10725): RedBeanPHP\Facade::query('getRow', 'SELECT * FROM `...', Array)
#6 /alidata/www/default/hongbao2016/inc/session.php(18): RedBeanPHP\Facade::getRow('SELECT * FROM `...', Array)
#7 [internal function]: MySessionHandler->read('3h3as9600uqffli...')
#8 /alidata/www/default/hongbao2016/inc/session.php in /alidata/www/lib/redbeanphp/4.x/rb.php on line 830
Warning: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /alidata/www/lib/redbeanphp/4.x/rb.php on line 820
Fatal error: Uncaught exception 'PDOException' with message 'Could not connect to database (hongbao2016).' in /alidata/www/lib/redbeanphp/4.x/rb.php:830
Stack trace:
#0 /alidata/www/lib/redbeanphp/4.x/rb.php(656): RedBeanPHP\Driver\RPDO->connect()
#1 /alidata/www/lib/redbeanphp/4.x/rb.php(930): RedBeanPHP\Driver\RPDO->runQuery('START TRANSACTI...', Array)
#2 /alidata/www/lib/redbeanphp/4.x/rb.php(3328): RedBeanPHP\Driver\RPDO->Execute('START TRANSACTI...', Array)
#3 /alidata/www/lib/redbeanphp/4.x/rb.php(10092): RedBeanPHP\Adapter\DBAdapter->exec('START TRANSACTI...', Array)
#4 /alidata/www/lib/redbeanphp/4.x/rb.php(10683): RedBeanPHP\Facade::query('exec', 'START TRANSACTI...', Array)
#5 /alidata/www/default/hongbao2016/inc/session.php(24): RedBeanPHP\Facade::exec('START TRANSACTI...')
#6 [internal function]: MySessionHandler->write('3h3as9600uqffli...', '')
#7 [internal function]: session_write_close()
#8 {main}
thrown in /alidata/www/lib/redbeanphp/4.x/rb.php on line 830