VPS侦探论坛

 找回密码
 注册
查看: 14542|回复: 1

[Apache] 另一个站的错误日志如下

[复制链接]
发表于 2016-3-4 00:38:32 | 显示全部楼层 |阅读模式

这要怎么改啊?
[Tue Mar 01 23:35:18.881685 2016] [:error] [pid 15593] [client 192.168.11.100:59769] 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 [internal function]: 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 [internal function]: 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 [internal function]: 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 [internal function]: 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 [internal function]: 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 [internal function]: 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]
[Tue Mar 01 23:35:18.881893 2016] [:error] [pid 15593] [client 192.168.11.100:59769] PHP Notice:  Trying to get property of non-object in /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/log/Dispatcher.php on line 181
[Tue Mar 01 23:35:18.881908 2016] [:error] [pid 15593] [client 192.168.11.100:59769] PHP Notice:  Trying to get property of non-object in /home/wwwroot/www.hasscms.com/vendor/yiisoft/yii2/log/Dispatcher.php on line 181
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-3-4 09:12:05 | 显示全部楼层


php程序问题我们无法提供排查联系你的程序提供商
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-23 09:51 , Processed in 0.025575 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表