#0 [2]ErrorException in File.php line 37

file_put_contents(/home/wwwroot/xiezilou123.com/runtime/index/temp/8d329496d743904f00c69fc93f448bec.php): Failed to open stream: No such file or directory

  1. {
  2. // 检测模板目录
  3. $dir = dirname($cacheFile);
  4. if (!is_dir($dir)) {
  5. mkdir($dir, 0755, true);
  6. }
  7. // 生成模板缓存文件
  8. if (false === file_put_contents($cacheFile, $content)) {
  9. throw new Exception('cache write error:' . $cacheFile, 11602);
  10. }
  11. }
  12. /**
  13. * 读取编译编译
  14. * @access public
  15. * @param string $cacheFile 缓存的文件名
  16. * @param array $vars 变量数组

Call Stack

  1. in File.php line 37
  2. at Error->appError()
  3. at file_put_contents() in File.php line 37
  4. at File->write() in Template.php line 429
  5. at Template->compiler() in Template.php line 243
  6. at Template->fetch() in Think.php line 149
  7. at Think->fetch() in View.php line 90
  8. at View->think\{closure}() in View.php line 126
  9. at View->getContent() in View.php line 91
  10. at View->fetch() in Search.php line 195
  11. at Search->pro()
  12. at ReflectionMethod->invokeArgs() in Container.php line 344
  13. at Container->invokeReflectMethod() in Controller.php line 110
  14. at Controller->think\route\dispatch\{closure}() in Pipeline.php line 59
  15. at Pipeline->think\{closure}() in Pipeline.php line 66
  16. at Pipeline->then() in Controller.php line 113
  17. at Controller->exec() in Dispatch.php line 90
  18. at Dispatch->run() in Route.php line 785
  19. at Route->think\{closure}() in Pipeline.php line 59
  20. at Pipeline->think\{closure}() in Pipeline.php line 66
  21. at Pipeline->then() in Route.php line 786
  22. at Route->dispatch() in Http.php line 216
  23. at Http->dispatchToRoute() in Http.php line 206
  24. at Http->think\{closure}() in Pipeline.php line 59
  25. at Pipeline->think\{closure}() in MultiApp.php line 71
  26. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  27. at Pipeline->think\{closure}() in HtmlCache.php line 26
  28. at HtmlCache->handle()
  29. at call_user_func() in Middleware.php line 142
  30. at Middleware->think\{closure}() in Pipeline.php line 85
  31. at Pipeline->think\{closure}() in LoadLangPack.php line 98
  32. at LoadLangPack->handle()
  33. at call_user_func() in Middleware.php line 142
  34. at Middleware->think\{closure}() in Pipeline.php line 85
  35. at Pipeline->think\{closure}() in Pipeline.php line 66
  36. at Pipeline->then() in MultiApp.php line 72
  37. at MultiApp->handle()
  38. at call_user_func() in Middleware.php line 142
  39. at Middleware->think\{closure}() in Pipeline.php line 85
  40. at Pipeline->think\{closure}() in SessionInit.php line 67
  41. at SessionInit->handle()
  42. at call_user_func() in Middleware.php line 142
  43. at Middleware->think\{closure}() in Pipeline.php line 85
  44. at Pipeline->think\{closure}() in Pipeline.php line 66
  45. at Pipeline->then() in Http.php line 207
  46. at Http->runWithRequest() in Http.php line 170
  47. at Http->run() in index.php line 29

Environment Variables

GET Data
mianji 500-800平米
shangquan 8
zujin 5-7元
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 */*
HTTP_HOST xiezilou123.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME xiezilou123.com
SERVER_PORT 443
SERVER_ADDR 211.149.231.14
REMOTE_PORT 14073
REMOTE_ADDR 216.73.216.104
SERVER_SOFTWARE nginx/1.21.4
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/xiezilou123.com/public
DOCUMENT_URI /index.php
REQUEST_URI /Search/pro.html?mianji=500-800%E5%B9%B3%E7%B1%B3&shangquan=8&zujin=5-7%E5%85%83
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/Search/pro.html&mianji=500-800%E5%B9%B3%E7%B1%B3&shangquan=8&zujin=5-7%E5%85%83
SCRIPT_FILENAME /www/wwwroot/xiezilou123.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1772418616.6185
REQUEST_TIME 1772418616