+ -
当前位置:首页 → 问答吧 → nginx中部署THINKPHP报错的问题

nginx中部署THINKPHP报错的问题

时间:2011-08-04

来源:互联网

系统发生错误 您可以选择 [ [url=/index.php]重试[/url] ] [ [url="]返回[/url] ] 或者 [ [url=/index.php]回到首页[/url] ]
错误位置: FILE: /nginx/html/ThinkPHP/Lib/Think/Template/ThinkTemplate.class.php LINE: 96
[ 错误信息 ]
缓存文件写入失败!:/nginx/html/Runtime/Cache/a748056080a5b1c5fca6f7af75728ed4.php
[ TRACE ]
[11-08-04 16:14:08] /nginx/html/ThinkPHP/Lib/Think/Template/ThinkTemplate.class.php (96) ThinkTemplate->loadTemplate(/nginx/html/ThinkPHP/Tpl/Autoindex/hello.html)
[11-08-04 16:14:08] /nginx/html/ThinkPHP/Lib/Think/Util/Template/TemplateThink.class.php (45) ThinkTemplate->load(/nginx/html/ThinkPHP/Tpl/Autoindex/hello.html, Array, utf-8)
[11-08-04 16:14:08] /nginx/html/Runtime/~runtime.php (2) TemplateThink->fetch(/nginx/html/ThinkPHP/Tpl/Autoindex/hello.html, Array, utf-8)
[11-08-04 16:14:08] /nginx/html/Runtime/~runtime.php (2) View->fetch(/nginx/html/ThinkPHP/Tpl/Autoindex/hello.html, , text/html, 1)
[11-08-04 16:14:08] /nginx/html/Runtime/~runtime.php (2) View->display(/nginx/html/ThinkPHP/Tpl/Autoindex/hello.html, , text/html)
[11-08-04 16:14:08] /nginx/html/Lib/Action/IndexAction.class.php (12) Action->display(/nginx/html/ThinkPHP/Tpl/Autoindex/hello.html)
[11-08-04 16:14:08]  () IndexAction->index()
[11-08-04 16:14:08] /nginx/html/Runtime/~runtime.php (2) call_user_func(Array)
[11-08-04 16:14:08] /nginx/html/Runtime/~runtime.php (2) App::exec()
[11-08-04 16:14:08] /nginx/html/index.php (3) App::run()


ThinkPHP 2.1 { Fast & Simple OOP PHP Framework } -- [ WE CAN DO IT JUST THINK IT ]




要怎么解决??

作者: nixiaoweihunter   发布时间: 2011-08-04

配置的问题,没仔细看~

作者: yil   发布时间: 2011-08-05