致命错误:类“控制”在<local_path>\system\application\controllers\welcome.php
没有发现3号线笨,PHP5,致命错误:类“控制”未找到
<?php
class Welcome extends Controller {
function __construct()
{
parent::Controller();
}
function index()
{
$this->load->view('welcome_message');
}
}
/* End of file welcome.php */
/* Location: ./system/application/controllers/welcome.php */
我初学PHP框架刚刚提取的笨zip文件,试图在Aptana studio中运行welcome.php控制器。 (PHP 5)
ru关闭你的PHP报价? – rabidmachine9 2010-09-02 22:15:45
你正在采取什么步骤来获得这段代码?你确定你是通过index.php指导而不是直接访问这个文件吗? – treeface 2010-09-02 23:31:25
@rabidmachine关闭php标签是可选的,有时它是有帮助检查了这一点http://us.php.net/basic-syntax.instruction-separation我不认为这是问题 – Brary 2010-09-03 00:03:57