将我的项目从 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();
}