asialong 发表于 2016-3-4 00:38:32

另一个站的错误日志如下

这要怎么改啊?
[:error] An Error occurred while handling another error:\nyii\\base\\InvalidRouteException: Unable to resolve the request "site/error". in /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/base/Module.php:460\nStack trace:\n#0 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/web/ErrorHandler.php(92): yii\\base\\Module->runAction('site/error')\n#1 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/base/ErrorHandler.php(109): yii\\web\\ErrorHandler->renderException(Object(yii\\base\\Exception))\n#2 : yii\\base\\ErrorHandler->handleException(Object(yii\\base\\Exception))\n#3 {main}\nPrevious exception:\nyii\\base\\ErrorException: mkdir(): Permission denied in /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/helpers/BaseFileHelper.php:477\nStack trace:\n#0 : yii\\base\\ErrorHandler->handleError(2, 'mkdir(): Permis...', '/home/wwwroot/w...', 477, Array)\n#1 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/helpers/BaseFileHelper.php(477): mkdir('/home/wwwroot/w...', 509)\n#2 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/log/FileTarget.php(90): yii\\helpers\\BaseFileHelper::createDirectory('/home/wwwroot/w...', 509, true)\n#3 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/base/Object.php(107): yii\\log\\FileTarget->init()\n#4 : yii\\base\\Object->__construct(Array)\n#5 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/di/Container.php(372): ReflectionClass->newInstanceArgs(Array)\n#6 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/di/Container.php(151): yii\\di\\Container->build('yii\\\\log\\\\FileTar...', Array, Array)\n#7 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/BaseYii.php(344): yii\\di\\Container->get('yii\\\\log\\\\FileTar...', Array, Array)\n#8 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/log/Dispatcher.php(101): yii\\BaseYii::createObject(Array)\n#9 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/base/Object.php(107): yii\\log\\Dispatcher->init()\n#10 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/log/Dispatcher.php(89): yii\\base\\Object->__construct(Array)\n#11 : yii\\log\\Dispatcher->__construct(Array)\n#12 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/di/Container.php(372): ReflectionClass->newInstanceArgs(Array)\n#13 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/di/Container.php(151): yii\\di\\Container->build('yii\\\\log\\\\Dispatc...', Array, Array)\n#14 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/BaseYii.php(344): yii\\di\\Container->get('yii\\\\log\\\\Dispatc...', Array, Array)\n#15 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/di/ServiceLocator.php(133): yii\\BaseYii::createObject(Array)\n#16 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/base/Application.php(302): yii\\di\\ServiceLocator->get('log')\n#17 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/web/Application.php(63): yii\\base\\Application->bootstrap()\n#18 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/base/Application.php(267): yii\\web\\Application->bootstrap()\n#19 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/base/Object.php(107): yii\\base\\Application->init()\n#20 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/base/Application.php(206): yii\\base\\Object->__construct(Array)\n#21 /home/wwwroot/www.hasscms.com/index.php(20): yii\\base\\Application->__construct(Array)\n#22 {main}\n\nNext yii\\base\\Exception: Failed to create directory "/home/wwwroot/www.hasscms.com/storage/runtime/logs": mkdir(): Permission denied in /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/helpers/BaseFileHelper.php:482\nStack trace:\n#0 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/log/FileTarget.php(90): yii\\helpers\\BaseFileHelper::createDirectory('/home/wwwroot/w...', 509, true)\n#1 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/base/Object.php(107): yii\\log\\FileTarget->init()\n#2 : yii\\base\\Object->__construct(Array)\n#3 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/di/Container.php(372): ReflectionClass->newInstanceArgs(Array)\n#4 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/di/Container.php(151): yii\\di\\Container->build('yii\\\\log\\\\FileTar...', Array, Array)\n#5 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/BaseYii.php(344): yii\\di\\Container->get('yii\\\\log\\\\FileTar...', Array, Array)\n#6 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/log/Dispatcher.php(101): yii\\BaseYii::createObject(Array)\n#7 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/base/Object.php(107): yii\\log\\Dispatcher->init()\n#8 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/log/Dispatcher.php(89): yii\\base\\Object->__construct(Array)\n#9 : yii\\log\\Dispatcher->__construct(Array)\n#10 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/di/Container.php(372): ReflectionClass->newInstanceArgs(Array)\n#11 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/di/Container.php(151): yii\\di\\Container->build('yii\\\\log\\\\Dispatc...', Array, Array)\n#12 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/BaseYii.php(344): yii\\di\\Container->get('yii\\\\log\\\\Dispatc...', Array, Array)\n#13 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/di/ServiceLocator.php(133): yii\\BaseYii::createObject(Array)\n#14 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/base/Application.php(302): yii\\di\\ServiceLocator->get('log')\n#15 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/web/Application.php(63): yii\\base\\Application->bootstrap()\n#16 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/base/Application.php(267): yii\\web\\Application->bootstrap()\n#17 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/base/Object.php(107): yii\\base\\Application->init()\n#18 /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/base/Application.php(206): yii\\base\\Object->__construct(Array)\n#19 /home/wwwroot/www.hasscms.com/index.php(20): yii\\base\\Application->__construct(Array)\n#20 {main}\n$_SERVER = [\n    'HTTP_HOST' => 'www.hasscms.com',\n    'HTTP_X_REAL_IP' => '192.168.11.100',\n    'HTTP_CONNECTION' => 'close',\n    'HTTP_USER_AGENT' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36',\n    'HTTP_ACCEPT' => '*/*',\n    'HTTP_ACCEPT_LANGUAGE' => 'zh-CN,zh;q=0.8',\n    'PATH' => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin',\n    'LD_LIBRARY_PATH' => '/usr/local/apache/lib',\n    'SERVER_SIGNATURE' => '<address>Apache Server at www.hasscms.com Port 80</address>\n',\n    'SERVER_SOFTWARE' => 'Apache',\n    'SERVER_NAME' => 'www.hasscms.com',\n    'SERVER_ADDR' => '127.0.0.1',\n    'SERVER_PORT' => '80',\n    'REMOTE_ADDR' => '192.168.11.100',\n    'DOCUMENT_ROOT' => '/home/wwwroot/www.hasscms.com',\n    'REQUEST_SCHEME' => 'http',\n    'CONTEXT_PREFIX' => '',\n    'CONTEXT_DOCUMENT_ROOT' => '/home/wwwroot/www.hasscms.com',\n    'SERVER_ADMIN' => 'webmaster@example.com',\n    'SCRIPT_FILENAME' => '/home/wwwroot/www.hasscms.com/index.php',\n    'REMOTE_PORT' => '59769',\n    'GATEWAY_INTERFACE' => 'CGI/1.1',\n    'SERVER_PROTOCOL' => 'HTTP/1.0',\n    'REQUEST_METHOD' => 'GET',\n    'QUERY_STRING' => '',\n    'REQUEST_URI' => '/',\n    'SCRIPT_NAME' => '/index.php',\n    'PHP_SELF' => '/index.php',\n    'REQUEST_TIME_FLOAT' => 1456846518.7780001,\n    'REQUEST_TIME' => 1456846518,\n]
[:error] PHP Notice:Trying to get property of non-object in /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/log/Dispatcher.php on line 181
[:error] PHP Notice:Trying to get property of non-object in /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/log/Dispatcher.php on line 181

licess 发表于 2016-3-4 09:12:05

php程序问题我们无法提供排查联系你的程序提供商
页: [1]
查看完整版本: 另一个站的错误日志如下