Organizational Research By

Surprising Reserch Topic

how to see database errors Codeigniter ?

CodeIgniter 2.2.0

In my database.php I have

$db['default']['dbdriver'] = 'mysql';
$db['default']['db_debug'] = TRUE;
And I am trying to connect to an old `MySQL: 5.1.73-cll"

I tested the IP, user and password using MySQL command from linux shell and it works fine, I am able to connect.

But when I add the 'database' to my $autoload['libraries'] in autoload.php my page loads blank completely and there is no error message displayed. If I remove the 'database' from $autoload['libraries'] then my page loads correctly.

If I could see the error I would at least know what the issue is.

asked Jun 2, 2015 in codeinither by rajesh
0 votes

Related Hot Questions

Government Jobs Opening