在将我的项目从Windows迁移到Linux之后,当我查看日志时,我得到的只是一个空白页面,我得到了这个错误:
[Wed Oct 03 22:59:14 2012] [warn] [client MY.IP.] mod_fcgid: stderr: PHP Fatal error: Class 'Public_Controller' not found in /home/clients/client13/web32/web/application/modules/welcome/controllers/welcome.php on line 11服务器正在运行Fast-CGI (我也尝试过Mod-PHP,以防万一)
文件的第10到16行:
class Welcome extends Public_Controller
{
function Welcome()
{
parent::__construct();
}发布于 2012-10-04 11:45:09
当涉及到文件命名约定时,Linux区分大小写。仔细检查控制器上的机箱。具体地说,确保您的文件名为Public_Controller.php
https://stackoverflow.com/questions/12716992
复制相似问题