Weird Error: Fatal error: Class ‘CI_Controller’ not found in Codeigniter Framework

It’s a simply weird and misleading error message.  I was working on a client project which was actually based on Codeigniter  (CI) framework version 2.1.3.  Somehow, I did a typo in DB setting located at config/database.php file. But, I got a very weird error message: Fatal error: Class ‘CI_Controller’ not found in /var/www/my/……./system/core/CodeIgniter.php on line 233 … 

 

Object Oriented In Javascript

Last few days I passed with Javascritp with its OOP concept. I found some beauties in Javascript programming language. So far everything we use in Javascript as function. But the object oriented concept is also available in the Javascript. Through Javascript is a class-less language but everything is an object in the Javascript. Basically, Javascript …