求帮助 新手搞了2天3夜找了无数办法,无法加载模块问题

浏览:1040 发布日期:2014/09/03 分类:求助交流 关键字: 无法加载模块
我真是无解了 求帮忙

点击页面出的错也不一样 我真心无力再搞这个了求大神们帮忙FILE: /home/wwwroot/www.23bt.net/Thinkphp/Lib/Core/App.class.php  LINE: 122



TRACE


[14-09-03 05:39:09] /home/wwwroot/www.23bt.net/Thinkphp/Lib/Core/App.class.php (122) _404(无法加载模块:�)
 [14-09-03 05:39:09] /home/wwwroot/www.23bt.net/Thinkphp/Lib/Core/App.class.php (207) App::exec()
 [14-09-03 05:39:09] /home/wwwroot/www.23bt.net/Thinkphp/Lib/Core/Think.class.php (39) App::run()
 [14-09-03 05:39:09] /home/wwwroot/www.23bt.net/Thinkphp/Common/runtime.php (242) Think::start()
 [14-09-03 05:39:09] /home/wwwroot/www.23bt.net/Thinkphp/ThinkPHP.php (30) require(/home/wwwroot/www.23bt.net/Thinkphp/Common/runtime.php)
 [14-09-03 05:39:09] /home/wwwroot/www.23bt.net/index.php (11) require(/home/wwwroot/www.23bt.net/Thinkphp/ThinkPHP.php)
模式为URL_MODEL == 2
conf配置server
    {
        listen 80;
        #listen [::]:80;
        server_name 23bt.net www.23bt.net;
        index index.html index.htm index.php default.html default.htm default.php;
        root  /home/wwwroot/www.23bt.net;
                   include thinkphp.conf;


        access_log  /home/wwwlogs/23bt.net.log  access;
    }
thinkphp.conf配置location /project/ { 
index index.php; 
if (!-e $request_filename) { 
 
rewrite ^(.*)$ /index.php/$1 last; #pathinfo模式 任选其一
break; 



location ~ .+\.php($|/) { 
set $script $uri; 
set $path_info "/"; 
if ($uri ~ "^(.+\.php)(/.+)") { 
set $script $1; 
set $path_info $2; 


fastcgi_pass  unix:/tmp/php-cgi.sock; 
fastcgi_index index.php?IF_REWRITE=1; 
include /usr/local/nginx/conf/fastcgi_params; 
fastcgi_param PATH_INFO $path_info; 
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 
fastcgi_param SCRIPT_NAME $script; 
最佳答案
评论( 相关
后面还有条评论,点击查看>>