Uncaught error with message 'E_WARNING: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known'
/data1/www/htdocs/game.weibo.com/mall/pay/wind/db/WindConnection.php: 293
- 288: try {
- 289: if ($this->_dbHandle !== null) return;
- 290: $driverName = $this->getDriverName();
- 291: $dbHandleClass = "WIND:db." . $driverName . ".Wind" . ucfirst($driverName) . "PdoAdapter";
- 292: $dbHandleClass = Wind::import($dbHandleClass);
- 293: $this->_dbHandle = new $dbHandleClass($this->_dsn, $this->_user, $this->_pwd, (array) $this->_attributes);
- 294: $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
- 295: $this->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true);
- 296: $this->_dbHandle->setCharset($this->_charset);
- 297: } catch (PDOException $e) {
__Stack:
- #19 /data1/www/htdocs/game.weibo.com/mall/pay/wind/base/AbstractWindFrontController.php (245)
- #18 ~Internal Location~ (N/A) _errorHandle(2,"PDO::__construct(): php_network_getaddresses: getaddrinfo failed…","/data1/www/htdocs/game.weibo.com/mall/pay/wind/db/WindConnection…",293,array(
'driverName' => 'mysql',
'dbHandleClass' => 'WindMysqlPdoAdapter',
))
- #17 /data1/www/htdocs/game.weibo.com/mall/pay/wind/db/WindConnection.php (293) __construct("mysql:host=w.rdc.sae.sina.com.cn;dbname=app_vgpay;port=3307","njwl03y5l2","zjj334z3x5zxl434x2425j20x2xw4yhyh1y0ki01",array(
))
- #16 /data1/www/htdocs/game.weibo.com/mall/pay/wind/db/WindConnection.php (115) init()
- #15 /data1/www/htdocs/game.weibo.com/mall/pay/wind/db/WindSqlStatement.php (299) getDbHandle()
- #14 /data1/www/htdocs/game.weibo.com/mall/pay/wind/db/WindConnection.php (105) setQueryString("SELECT * FROM wyx_common_config WHERE namespace=?")
- #13 /data1/www/htdocs/game.weibo.com/mall/pay/source/service/config/dao/ConfigDao.php (24) createStatement("SELECT * FROM wyx_common_config WHERE namespace=?")
- #12 /data1/www/htdocs/game.weibo.com/mall/pay/source/service/config/Config.php (55) getConfigs("components")
- #11 /data1/www/htdocs/game.weibo.com/mall/pay/source/library/engine/ConfigBo.php (53) getValues("components")
- #10 /data1/www/htdocs/game.weibo.com/mall/pay/source/library/engine/ConfigBo.php (33) getValues("components")
- #09 /data1/www/htdocs/game.weibo.com/mall/pay/source/library/engine/ConfigBo.php (73) get("components")
- #08 /data1/www/htdocs/game.weibo.com/mall/pay/source/library/engine/ConfigBo.php (20) __get("components")
- #07 /data1/www/htdocs/game.weibo.com/mall/pay/source/wekit.php (203) C("components","")
- #06 /data1/www/htdocs/game.weibo.com/mall/pay/source/library/filter/FrontFilters.php (26) C("components")
- #05 /data1/www/htdocs/game.weibo.com/mall/pay/wind/filter/WindSimpleHandlerInterceptor.php (29) onCreate()
- #04 /data1/www/htdocs/game.weibo.com/mall/pay/wind/base/AbstractWindFrontController.php (199) handle("onCreate")
- #03 /data1/www/htdocs/game.weibo.com/mall/pay/wind/web/WindWebFrontController.php (20) run()
- #02 /data1/www/htdocs/game.weibo.com/mall/pay/source/wekit.php (28) run()
- #01 /data1/www/htdocs/game.weibo.com/mall/pay/index.php (5) run("weiyouxi")
The server encountered an internal error and failed to process your request.
Please try again later. If this error is temporary, reloading the page might resolve the problem.
If you are able to contact the administrator report this error message.(http://www.windframework.com/)