2017-07-03 16:50:42 ["\u9519\u8bef\u6587\u4ef6 \uff1a..\/Qii\/Driver\/Pdo\/Connection.php","\u9519\u8bef\u4ee3\u7801 \uff1a1045","\u9519\u8bef\u63cf\u8ff0 \uff1aSQLSTATE[HY000] [1045] Access denied for user 'root'@'172.17.0.1' (using password: YES)","\u9519\u8bef\u884c \uff1a69 on
59:<\/font>\t\t *\/<\/font>
60:<\/font>\t\tpublic function getWriteConnection()<\/font>
61:<\/font>\t\t{<\/font>
62:<\/font>\t\t\t$dbInfo = $this->_dbInfo['master'];<\/font>
63:<\/font>\t\t\ttry {<\/font>
64:<\/font>\t\t\t\tif ($this->_dbInfo['use_db_driver'] == 'mssql') {<\/font>
65:<\/font>\t\t\t\t\t$dsn = 'odbc:Driver={SQL Server};Server=' . $dbInfo['host'] . ';Database=' . $dbInfo['db'] . ';';<\/font>
66:<\/font>\t\t\t\t} else {<\/font>
67:<\/font>\t\t\t\t\t$dsn = $this->_dbInfo['use_db_driver'] . ":host=" . $dbInfo['host'] . ";dbname=" . $dbInfo['db'];<\/font>
68:<\/font>\t\t\t\t}<\/font>
69:<\/font>\t\t\t\treturn new \\PDO($dsn, $dbInfo['user'], $dbInfo['password']);<\/font>
70:<\/font>\t\t\t} catch (Exception $e) {<\/font>
71:<\/font>\t\t\t\tthrow new \\Qii\\Exceptions\\Errors(\\Qii::i(1500, $dbInfo['host'], $dbInfo['user'], $dbInfo['password'], $dbInfo['db'], $e->getMessage()), __LINE__);<\/font>
72:<\/font>\t\t\t}<\/font>
73:<\/font>\t\t}<\/font>
74:<\/font>\t}<\/font><\/pre>","\u9519\u8bef\u8ffd\u8e2a\u5982\u4e0b\uff1a
#0 E:\\WebRoot\\Qii\\Qii\\Driver\\Pdo\\Connection.php(69): PDO->__construct('mysql:host=127....', 'root', '119328118')
#1 E:\\WebRoot\\Qii\\Qii\\Driver\\Pdo\\Connection.php(53): Qii\\Driver\\Pdo\\Connection->getWriteConnection()
#2 E:\\WebRoot\\Qii\\Qii\\Driver\\ConnBase.php(55): Qii\\Driver\\Pdo\\Connection->getReadConnection()
#3 E:\\WebRoot\\Qii\\Qii\\Driver\\Pdo\\Driver.php(120): Qii\\Driver\\ConnBase->getConnectionBySQL('SELECT * FROM i...')
#4 E:\\WebRoot\\Qii\\Qii\\Driver\\Pdo\\Driver.php(103): Qii\\Driver\\Pdo\\Driver->query('SELECT * FROM i...')
#5 E:\\WebRoot\\Qii\\Qii\\Driver\\Pdo\\Driver.php(192): Qii\\Driver\\Pdo\\Driver->setQuery('SELECT * FROM i...')
#6 [internal function]: Qii\\Driver\\Pdo\\Driver->getRow('SELECT * FROM i...')
#7 E:\\WebRoot\\Qii\\Qii\\Driver\\Model.php(220): call_user_func_array(Array, Array)
#8 E:\\WebRoot\\Qii\\private\\Controller\\index.php(11): Qii\\Driver\\Model->__call('getRow', Array)
#9 [internal function]: Controller\\index->indexAction()
#10 E:\\WebRoot\\Qii\\Qii\\Base\\Dispatcher.php(73): call_user_func_array(Array, Array)
#11 E:\\WebRoot\\Qii\\Qii\\Application.php(390): Qii\\Base\\Dispatcher->dispatch()
#12 E:\\WebRoot\\Qii\\public\\index.php(12): Qii\\Application->run()
#13 {main}
","Source URL:http:\/\/test\/Qii\/public\/index\/","Referer URL:http:\/\/test\/Qii\/public\/index\/"] 2017-07-03 16:50:45 ["\u9519\u8bef\u6587\u4ef6 \uff1a..\/Qii\/Driver\/Pdo\/Connection.php","\u9519\u8bef\u4ee3\u7801 \uff1a1045","\u9519\u8bef\u63cf\u8ff0 \uff1aSQLSTATE[HY000] [1045] Access denied for user 'root'@'172.17.0.1' (using password: YES)","\u9519\u8bef\u884c \uff1a69 on59:<\/font>\t\t *\/<\/font>
60:<\/font>\t\tpublic function getWriteConnection()<\/font>
61:<\/font>\t\t{<\/font>
62:<\/font>\t\t\t$dbInfo = $this->_dbInfo['master'];<\/font>
63:<\/font>\t\t\ttry {<\/font>
64:<\/font>\t\t\t\tif ($this->_dbInfo['use_db_driver'] == 'mssql') {<\/font>
65:<\/font>\t\t\t\t\t$dsn = 'odbc:Driver={SQL Server};Server=' . $dbInfo['host'] . ';Database=' . $dbInfo['db'] . ';';<\/font>
66:<\/font>\t\t\t\t} else {<\/font>
67:<\/font>\t\t\t\t\t$dsn = $this->_dbInfo['use_db_driver'] . ":host=" . $dbInfo['host'] . ";dbname=" . $dbInfo['db'];<\/font>
68:<\/font>\t\t\t\t}<\/font>
69:<\/font>\t\t\t\treturn new \\PDO($dsn, $dbInfo['user'], $dbInfo['password']);<\/font>
70:<\/font>\t\t\t} catch (Exception $e) {<\/font>
71:<\/font>\t\t\t\tthrow new \\Qii\\Exceptions\\Errors(\\Qii::i(1500, $dbInfo['host'], $dbInfo['user'], $dbInfo['password'], $dbInfo['db'], $e->getMessage()), __LINE__);<\/font>
72:<\/font>\t\t\t}<\/font>
73:<\/font>\t\t}<\/font>
74:<\/font>\t}<\/font><\/pre>","\u9519\u8bef\u8ffd\u8e2a\u5982\u4e0b\uff1a
#0 E:\\WebRoot\\Qii\\Qii\\Driver\\Pdo\\Connection.php(69): PDO->__construct('mysql:host=127....', 'root', '119328118')
#1 E:\\WebRoot\\Qii\\Qii\\Driver\\Pdo\\Connection.php(53): Qii\\Driver\\Pdo\\Connection->getWriteConnection()
#2 E:\\WebRoot\\Qii\\Qii\\Driver\\ConnBase.php(55): Qii\\Driver\\Pdo\\Connection->getReadConnection()
#3 E:\\WebRoot\\Qii\\Qii\\Driver\\Pdo\\Driver.php(120): Qii\\Driver\\ConnBase->getConnectionBySQL('SELECT * FROM i...')
#4 E:\\WebRoot\\Qii\\Qii\\Driver\\Pdo\\Driver.php(103): Qii\\Driver\\Pdo\\Driver->query('SELECT * FROM i...')
#5 E:\\WebRoot\\Qii\\Qii\\Driver\\Pdo\\Driver.php(192): Qii\\Driver\\Pdo\\Driver->setQuery('SELECT * FROM i...')
#6 [internal function]: Qii\\Driver\\Pdo\\Driver->getRow('SELECT * FROM i...')
#7 E:\\WebRoot\\Qii\\Qii\\Driver\\Model.php(220): call_user_func_array(Array, Array)
#8 E:\\WebRoot\\Qii\\private\\Controller\\index.php(11): Qii\\Driver\\Model->__call('getRow', Array)
#9 [internal function]: Controller\\index->indexAction()
#10 E:\\WebRoot\\Qii\\Qii\\Base\\Dispatcher.php(73): call_user_func_array(Array, Array)
#11 E:\\WebRoot\\Qii\\Qii\\Application.php(390): Qii\\Base\\Dispatcher->dispatch()
#12 E:\\WebRoot\\Qii\\public\\index.php(12): Qii\\Application->run()
#13 {main}
","Source URL:http:\/\/test\/Qii\/public\/index","Referer URL:http:\/\/test\/Qii\/public\/index"] 2017-07-03 17:40:43 ["\u9519\u8bef\u6587\u4ef6 \uff1a..\/Qii\/Base\/Dispatcher.php","\u9519\u8bef\u4ee3\u7801 \uff1a71","\u9519\u8bef\u63cf\u8ff0 \uff1a\u65b9\u6cd5index->\u662fAction<\/font>\u672a\u5b9a\u4e49","\u9519\u8bef\u884c \uff1a71 on61:<\/font>\t $actionCls->response = $response = call_user_func_array(array($actionCls, $action. Register::get(Consts::APP_DEFAULT_ACTION_SUFFIX)), $funcArgs);<\/font>
62:<\/font>\t }<\/font>
63:<\/font>\t if (!method_exists($actionCls, 'run')) {<\/font>
64:<\/font>\t throw new \\Qii\\Exceptions\\MethodNotFound(\\Qii::i(1101, $controllerCls->actions[$action] . '->run'), __LINE__);<\/font>
65:<\/font>\t }<\/font>
66:<\/font>\t $response = call_user_func_array(array($actionCls, 'run'), $funcArgs);<\/font>
67:<\/font>\t } else {<\/font>
68:<\/font>\t array_shift($funcArgs);<\/font>
69:<\/font>\t $actionName = $action . Register::get(Consts::APP_DEFAULT_ACTION_SUFFIX);<\/font>
70:<\/font>\t if (!method_exists($controllerCls, $actionName) && !method_exists($controllerCls, '__call')) {<\/font>
71:<\/font>\t throw new \\Qii\\Exceptions\\MethodNotFound(\\Qii::i(1101, $controller . '->' . $actionName), __LINE__);<\/font>
72:<\/font>\t }<\/font>
73:<\/font>\t $controllerCls->response = $response = call_user_func_array(array($controllerCls, $actionName), $funcArgs);<\/font>
74:<\/font>\t }<\/font>
75:<\/font>\t return $response;<\/font>
76:<\/font>\t }<\/font>
77:<\/font>\t}<\/font><\/pre>","\u9519\u8bef\u8ffd\u8e2a\u5982\u4e0b\uff1a
#0 E:\\WebRoot\\Qii\\Qii\\Application.php(390): Qii\\Base\\Dispatcher->dispatch()
#1 E:\\WebRoot\\Qii\\public\\index.php(12): Qii\\Application->run()
#2 {main}
","Source URL:http:\/\/test\/Qii\/public\/index\/%E6%98%AF\/s","Referer URL:http:\/\/test\/Qii\/public\/index\/%E6%98%AF\/s"] 2017-07-03 17:40:46 ["\u9519\u8bef\u6587\u4ef6 \uff1a..\/Qii\/Base\/Dispatcher.php","\u9519\u8bef\u4ee3\u7801 \uff1a71","\u9519\u8bef\u63cf\u8ff0 \uff1a\u65b9\u6cd5index->sAction<\/font>\u672a\u5b9a\u4e49","\u9519\u8bef\u884c \uff1a71 on61:<\/font>\t $actionCls->response = $response = call_user_func_array(array($actionCls, $action. Register::get(Consts::APP_DEFAULT_ACTION_SUFFIX)), $funcArgs);<\/font>
62:<\/font>\t }<\/font>
63:<\/font>\t if (!method_exists($actionCls, 'run')) {<\/font>
64:<\/font>\t throw new \\Qii\\Exceptions\\MethodNotFound(\\Qii::i(1101, $controllerCls->actions[$action] . '->run'), __LINE__);<\/font>
65:<\/font>\t }<\/font>
66:<\/font>\t $response = call_user_func_array(array($actionCls, 'run'), $funcArgs);<\/font>
67:<\/font>\t } else {<\/font>
68:<\/font>\t array_shift($funcArgs);<\/font>
69:<\/font>\t $actionName = $action . Register::get(Consts::APP_DEFAULT_ACTION_SUFFIX);<\/font>
70:<\/font>\t if (!method_exists($controllerCls, $actionName) && !method_exists($controllerCls, '__call')) {<\/font>
71:<\/font>\t throw new \\Qii\\Exceptions\\MethodNotFound(\\Qii::i(1101, $controller . '->' . $actionName), __LINE__);<\/font>
72:<\/font>\t }<\/font>
73:<\/font>\t $controllerCls->response = $response = call_user_func_array(array($controllerCls, $actionName), $funcArgs);<\/font>
74:<\/font>\t }<\/font>
75:<\/font>\t return $response;<\/font>
76:<\/font>\t }<\/font>
77:<\/font>\t}<\/font><\/pre>","\u9519\u8bef\u8ffd\u8e2a\u5982\u4e0b\uff1a
#0 E:\\WebRoot\\Qii\\Qii\\Application.php(390): Qii\\Base\\Dispatcher->dispatch()
#1 E:\\WebRoot\\Qii\\public\\index.php(12): Qii\\Application->run()
#2 {main}
","Source URL:http:\/\/test\/Qii\/public\/index\/s\/s","Referer URL:http:\/\/test\/Qii\/public\/index\/s\/s"] 2017-07-03 17:40:48 ["\u9519\u8bef\u6587\u4ef6 \uff1a..\/Qii\/Base\/Dispatcher.php","\u9519\u8bef\u4ee3\u7801 \uff1a71","\u9519\u8bef\u63cf\u8ff0 \uff1a\u65b9\u6cd5index->sAction<\/font>\u672a\u5b9a\u4e49","\u9519\u8bef\u884c \uff1a71 on61:<\/font>\t $actionCls->response = $response = call_user_func_array(array($actionCls, $action. Register::get(Consts::APP_DEFAULT_ACTION_SUFFIX)), $funcArgs);<\/font>
62:<\/font>\t }<\/font>
63:<\/font>\t if (!method_exists($actionCls, 'run')) {<\/font>
64:<\/font>\t throw new \\Qii\\Exceptions\\MethodNotFound(\\Qii::i(1101, $controllerCls->actions[$action] . '->run'), __LINE__);<\/font>
65:<\/font>\t }<\/font>
66:<\/font>\t $response = call_user_func_array(array($actionCls, 'run'), $funcArgs);<\/font>
67:<\/font>\t } else {<\/font>
68:<\/font>\t array_shift($funcArgs);<\/font>
69:<\/font>\t $actionName = $action . Register::get(Consts::APP_DEFAULT_ACTION_SUFFIX);<\/font>
70:<\/font>\t if (!method_exists($controllerCls, $actionName) && !method_exists($controllerCls, '__call')) {<\/font>
71:<\/font>\t throw new \\Qii\\Exceptions\\MethodNotFound(\\Qii::i(1101, $controller . '->' . $actionName), __LINE__);<\/font>
72:<\/font>\t }<\/font>
73:<\/font>\t $controllerCls->response = $response = call_user_func_array(array($controllerCls, $actionName), $funcArgs);<\/font>
74:<\/font>\t }<\/font>
75:<\/font>\t return $response;<\/font>
76:<\/font>\t }<\/font>
77:<\/font>\t}<\/font><\/pre>","\u9519\u8bef\u8ffd\u8e2a\u5982\u4e0b\uff1a
#0 E:\\WebRoot\\Qii\\Qii\\Application.php(390): Qii\\Base\\Dispatcher->dispatch()
#1 E:\\WebRoot\\Qii\\public\\index.php(12): Qii\\Application->run()
#2 {main}
","Source URL:http:\/\/test\/Qii\/public\/index\/s\/s","Referer URL:http:\/\/test\/Qii\/public\/index\/s\/s"] 2017-07-03 17:41:01 ["\u9519\u8bef\u6587\u4ef6 \uff1a..\/Qii\/Autoloader\/Psr4.php","\u9519\u8bef\u4ee3\u7801 \uff1a245","\u9519\u8bef\u63cf\u8ff0 \uff1a\u6587\u4ef6E:\\WebRoot\\Qii\\private\\Controller\\s.php<\/font>\u4e0d\u5b58\u5728","\u9519\u8bef\u884c \uff1a245 on235:<\/font>\t * @return string \u6587\u4ef6\u8def\u5f84<\/font>
236:<\/font>\t *\/<\/font>
237:<\/font>\t public function loadFileByClass($class)<\/font>
238:<\/font>\t {<\/font>
239:<\/font>\t \/\/ the current namespace prefix<\/font>
240:<\/font>\t \/\/replace "_" to "\\" use common method to load class<\/font>
241:<\/font>\t $class = str_replace("_", "\\\\", $class);<\/font>
242:<\/font>\t if(!$this->searchMappedFile($class))<\/font>
243:<\/font>\t {<\/font>
244:<\/font>\t $notLoaded = isset(self::$lastErrorLoadedFile[$class]) ? self::$lastErrorLoadedFile[$class] : self::getClassName($class);<\/font>
245:<\/font>\t throw new \\Qii\\Exceptions\\FileNotFound(\\Qii::i(1405, $notLoaded), __LINE__);<\/font>
246:<\/font>\t }<\/font>
247:<\/font>\t }<\/font>
248:<\/font>\t<\/font>
249:<\/font>\t \/**<\/font>
250:<\/font>\t * loadClass\u8fd4\u56de\u771f\u6b63\u7684\u7c7b\u540d<\/font>
251:<\/font>\t *<\/font>
252:<\/font>\t * @param string $class \u7c7b\u540d<\/font>
253:<\/font>\t *\/<\/font>
254:<\/font>\t public function getClassName($class)<\/font>
255:<\/font>\t {<\/font><\/pre>","\u9519\u8bef\u8ffd\u8e2a\u5982\u4e0b\uff1a
#0 E:\\WebRoot\\Qii\\Qii\\Autoloader\\Psr4.php(285): Qii\\Autoloader\\Psr4->loadFileByClass('Controller\\\\s')
#1 [internal function]: Qii\\Autoloader\\Psr4->loadClass('Controller_s')
#2 E:\\WebRoot\\Qii\\Qii\\Base\\Dispatcher.php(44): call_user_func_array(Array, Array)
#3 E:\\WebRoot\\Qii\\Qii\\Application.php(390): Qii\\Base\\Dispatcher->dispatch()
#4 E:\\WebRoot\\Qii\\public\\index.php(12): Qii\\Application->run()
#5 {main}
","Source URL:http:\/\/test\/Qii\/public\/s","Referer URL:http:\/\/test\/Qii\/public\/s"] 2017-07-03 17:41:02 ["\u9519\u8bef\u6587\u4ef6 \uff1a..\/Qii\/Autoloader\/Psr4.php","\u9519\u8bef\u4ee3\u7801 \uff1a245","\u9519\u8bef\u63cf\u8ff0 \uff1a\u6587\u4ef6E:\\WebRoot\\Qii\\private\\Controller\\s.php<\/font>\u4e0d\u5b58\u5728","\u9519\u8bef\u884c \uff1a245 on235:<\/font>\t * @return string \u6587\u4ef6\u8def\u5f84<\/font>
236:<\/font>\t *\/<\/font>
237:<\/font>\t public function loadFileByClass($class)<\/font>
238:<\/font>\t {<\/font>
239:<\/font>\t \/\/ the current namespace prefix<\/font>
240:<\/font>\t \/\/replace "_" to "\\" use common method to load class<\/font>
241:<\/font>\t $class = str_replace("_", "\\\\", $class);<\/font>
242:<\/font>\t if(!$this->searchMappedFile($class))<\/font>
243:<\/font>\t {<\/font>
244:<\/font>\t $notLoaded = isset(self::$lastErrorLoadedFile[$class]) ? self::$lastErrorLoadedFile[$class] : self::getClassName($class);<\/font>
245:<\/font>\t throw new \\Qii\\Exceptions\\FileNotFound(\\Qii::i(1405, $notLoaded), __LINE__);<\/font>
246:<\/font>\t }<\/font>
247:<\/font>\t }<\/font>
248:<\/font>\t<\/font>
249:<\/font>\t \/**<\/font>
250:<\/font>\t * loadClass\u8fd4\u56de\u771f\u6b63\u7684\u7c7b\u540d<\/font>
251:<\/font>\t *<\/font>
252:<\/font>\t