duanbage2161 2011-04-04 02:59
浏览 267
已采纳

CodeIgniter找不到CI_Controller

I'm trying to get CodeIgniter running on my testserver (using XAMPP). I have set up everything like i usually do, plus I've copied all of the files from a working installation on my web server and just changed the necessary config options:

  1. Fatal error: Class 'CI_Controller' not found in D:\Websites\****\www\application\controllers\main.php on line 4

  2. Message: Undefined index: scaffolding_trigger, Filename: libraries/Router.php

I'm pretty sure my controller is set-up properly, but in case it isn't here's the setup:

class Speaker extends CI_Controller
{
     function __construct()
     {
         parent::__construct();
         $this->load->helper('url');
     }
}

Anyone know what I'm doing wrong here?

  • 写回答

2条回答 默认 最新

  • doujingxi3356 2011-04-04 03:10
    关注

    Gah I hate how you finally find the problem right as you ask the question haha

    I decided to check out my system folder and found it was out of sync with what I had on my server. Just updated it and everything's working.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 教务系统账号被盗号如何追溯设备
  • ¥20 delta降尺度方法,未来数据怎么降尺度
  • ¥15 c# 使用NPOI快速将datatable数据导入excel中指定sheet,要求快速高效
  • ¥15 再不同版本的系统上,TCP传输速度不一致
  • ¥15 高德地图点聚合中Marker的位置无法实时更新
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式