Hello I have a weird issue. I have a custom controller that extends the core CI Controller
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class RA_AdminController extends Controller
{
public function RA_AdminController()
{
parent::Controller();
}
}
This file is in application/libraries/RA_AdminController.php
I have changed the application/config.php to include my prefix
$config['subclass_prefix'] = 'RA_';
I also have a custom controller that extends the RA_AdminController
<?php
//require_once(APPPATH.'libraries/RA_AdminController.php');
class Home extends RA_AdminController {
function Home()
{
parent::RA_AdminController();
}
function index()
{
$this->load->view('admin/home');
}
}
this is in the application/controllers/admin/home.php
Now every time I try to load the home.php I get the following error
[Tue Dec 01 21:01:38 2009] [error] [client 127.0.0.1] PHP Fatal error: Class ‘RA_AdminController’ not found in D:\\applications\\Apache2.2\\ciproject\\application\\controllers\\admin\\home.php on line 3
I have searched the forum and I saw that many people had the same problem in the past. Unfortunately none of the proposed solutions worked for me. I’d appreciate any ideas/help I can get.
Regards
Panos
