M. Alim
M. Alim

Reputation: 153

Issue: Class 'CI_Config' not found in codeigniter

I am trying to run a codeIgniter project downloaded from 1and1.co.uk .... But when I am browsing it showing this message:

 An uncaught Exception was encountered
 Type: Error

Message: Class 'CI_Config' not found

Filename: C:\xampp\htdocs\projectname\system\core\Common.php

Line Number: 196

Backtrace:

File: C:\xampp\htdocs\projectname\index.php
Line: 315
Function: require_once

I dont know why? The class is ok in system/core/config. Its version in system/core/codeigniter is 3.1.8.

can anyone tell me the reason pls? Atleast some clue!

never ever faced anything like this before !

Upvotes: 1

Views: 1638

Answers (1)

user969068
user969068

Reputation: 2943

You have duplicate config file also in application/core folder which was causing this issue, there should be only one config in application/config folder.

Upvotes: 1

Related Questions