#0 [1]ErrorException in File.php line 118

error_log(/www/wwwroot/rd-eval/runtime/log/20260426.log): Failed to open stream: Permission denied

  1. * @param array $message 日志信息
  2. * @param string $destination 日志文件
  3. * @return bool
  4. */
  5. protected function write(array $message, string $destination): bool
  6. {
  7. // 检测日志文件大小,超过配置大小则备份日志文件重新生成
  8. $this->checkLogSize($destination);
  9. return error_log(implode(PHP_EOL, $message) . PHP_EOL, 3, $destination);
  10. }
  11. /**
  12. * 获取主日志文件名
  13. * @access public
  14. * @return string
  15. */
  16. protected function getMasterLogFile(): string
  17. {

Call Stack

  1. in File.php line 118
  2. at Error->appError()
  3. at error_log() in File.php line 118
  4. at File->write() in File.php line 100
  5. at File->save() in Channel.php line 138
  6. at Channel->save() in Channel.php line 97
  7. at Channel->record() in Log.php line 192
  8. at Log->record() in Log.php line 230
  9. at Log->log() in DbManager.php line 177
  10. at DbManager->log() in Connection.php line 235
  11. at Connection->think\db\{closure}() in Connection.php line 261
  12. at Connection->trigger() in PDOConnection.php line 586
  13. at PDOConnection->connect() in PDOConnection.php line 1846
  14. at PDOConnection->initConnect() in PDOConnection.php line 814
  15. at PDOConnection->getPDOStatement() in Mysql.php line 68
  16. at Mysql->getFields() in PDOConnection.php line 442
  17. at PDOConnection->getTableFieldsInfo() in PDOConnection.php line 399
  18. at PDOConnection->getCachedSchemaInfo() in PDOConnection.php line 361
  19. at PDOConnection->getSchemaInfo() in PDOConnection.php line 428
  20. at PDOConnection->getTableInfo() in PDOConnection.php line 517
  21. at PDOConnection->getFieldsType() in TableFieldInfo.php line 60
  22. at Query->getFieldsType() in DbConnect.php line 87
  23. at Model->getFields() in Attribute.php line 47
  24. at Model->initializeData() in Model.php line 150
  25. at Model->__construct() in DbConnect.php line 183
  26. at Model::__callStatic() in RouteLoadedListener.php line 19
  27. at RouteLoadedListener->handle()
  28. at ReflectionMethod->invokeArgs() in Container.php line 334
  29. at Container->invokeMethod() in Container.php line 367
  30. at Container->invoke() in Event.php line 289
  31. at Event->dispatch() in Event.php line 250
  32. at Event->trigger() in Http.php line 238
  33. at Http->loadRoutes() in Http.php line 205
  34. at Http->think\{closure}() in Route.php line 701
  35. at Route->dispatch() in Http.php line 208
  36. at Http->dispatchToRoute() in Http.php line 198
  37. at Http->think\{closure}() in Pipeline.php line 59
  38. at Pipeline->think\{closure}() in MultiApp.php line 45
  39. at MultiApp->handle()
  40. at call_user_func() in Middleware.php line 134
  41. at Middleware->think\{closure}() in Pipeline.php line 85
  42. at Pipeline->think\{closure}() in TraceDebug.php line 71
  43. at TraceDebug->handle()
  44. at call_user_func() in Middleware.php line 134
  45. at Middleware->think\{closure}() in Pipeline.php line 85
  46. at Pipeline->think\{closure}() in Pipeline.php line 66
  47. at Pipeline->then() in Http.php line 197
  48. at Http->runWithRequest() in Http.php line 162
  49. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
PATH_INFO
HTTP_HOST api.eval.beta.wxww.cn
REDIRECT_STATUS 200
SERVER_NAME api.eval.beta.wxww.cn
SERVER_PORT 443
SERVER_ADDR 172.30.210.43
REMOTE_PORT 46089
REMOTE_ADDR 216.73.216.251
SERVER_SOFTWARE nginx/1.28.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/rd-eval/public
DOCUMENT_URI /index.php
REQUEST_URI /sitemap.xml
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/sitemap.xml
SCRIPT_FILENAME /www/wwwroot/rd-eval/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1777206808.9067
REQUEST_TIME 1777206808
0.037919s