在网上找了些资料,说是以下几个问题:1.大小写
2.权限
3.重写可是我的这个都不存在这些问题,请教各位大侠,可有其他情况会导致这个问题,
怎么测试才能找到问题所在,tp不大熟悉

解决方案 »

  1.   

    不是使用 import 来加载的吗??你说的模块是指哪个模块??
      

  2.   

    貌似图片显示不出来,下面是错误提示系统发生错误
    您可以选择 [ 重试 ] [ 返回 ] 或者 [ 回到首页 ]错误位置: FILE: D:\iyinhang_oa\App\Lib\Action\EmptyAction.class.php LINE: 286[ 错误信息 ]无法加载模块[ TRACE ][12-03-16 11:13:03] D:\iyinhang_oa\App\Lib\Action\EmptyAction.class.php (286) EmptyAction->getid()
    [12-03-16 11:13:03] D:\iyinhang_oa\App\Lib\Action\EmptyAction.class.php (30) EmptyAction->getPartTreeNav()
    [12-03-16 11:13:03] D:\iyinhang_oa\App\Runtime\~runtime.php (2) EmptyAction->_empty(index, Array)
    [12-03-16 11:13:03] () Action->__call(index, Array)
    [12-03-16 11:13:03] () EmptyAction->index()
    [12-03-16 11:13:03] D:\iyinhang_oa\App\Runtime\~runtime.php (2) call_user_func(Array)
    [12-03-16 11:13:03] D:\iyinhang_oa\App\Runtime\~runtime.php (2) App::exec()
    [12-03-16 11:13:03] D:\iyinhang_oa\index.php (28) App::run()
      

  3.   


    .htaccess文件:#保护模板文件#去除index.php
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
    </IfModule># 关闭目录浏览
    <Files *>
    Options -Indexes
    </Files># 最大POST文件
    php_value post_max_size 20M
    # 最大上传文件
    php_value upload_max_filesize 20M
    # 页面执行最大时间(s)
    php_value max_execution_time 120
    # 页面传输最大时间(s)
    php_value max_input_time 240 
    Conf/config.php配置有:
    'APP_GROUP_LIST' => 'Newtask',
    App/Lib/Action/Newtask/IndexAction.class.phpclass IndexAction extends BaseAction
    {
        public function index()
        {   
         echo 'a';
         //$this->display();
        }
    }
    ?>访问地址:http://192.168.1.206:2000/Newtask出现错误信息:系统发生错误
    您可以选择 [ 重试 ] [ 返回 ] 或者 [ 回到首页 ]错误位置: FILE: D:\iyinhang_oa\App\Runtime\~runtime.php LINE: 2[ 错误信息 ]无法加载模块Newtask[ TRACE ][12-03-19 08:34:03] D:\iyinhang_oa\App\Runtime\~runtime.php (2) App::exec()
    [12-03-19 08:34:03] D:\iyinhang_oa\index.php (28) App::run()