[eluser]enko[/eluser]
Hi guys I have pretty much same problem

.
This is my database configuration:
$active_group = "default";
$active_record = TRUE;
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "root";
$db['default']['password'] = "";
$db['default']['database'] = "booking";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['active_r'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";
This is in autoload.php
$autoload['libraries'] = array('database');
And I am getting this error:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: BookingCalendar::$db
Filename: controllers/bookingCalendar.php
Line Number: 38
It seams that db is not loaded properly.
If I use something like this it works:
$this->CI =& get_instance();
$this->CI->load->database("", FALSE, TRUE);
Thanks!
$this->CI->db->cache_off();