CodeIgniter Forums
No output on mysqli unavailability. - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: No output on mysqli unavailability. (/showthread.php?tid=8589)



No output on mysqli unavailability. - El Forum - 05-23-2008

[eluser]Блум[/eluser]
When mysqli not available and
Code:
$db['default']['dbdriver'] = "mysqli";
$db['default']['db_debug'] = TRUE;
there is no output. No errors in the output, error_log also empty.
Tested on two systems running Linux, PHP 5.2.5, MySQL 5.0.30.

Can you please test it and tell me if it is the same for you and if I should fill a bug report.
Thank You.


No output on mysqli unavailability. - El Forum - 05-23-2008

[eluser]Michael Wales[/eluser]
We discussed this in another thread - I'm of the opinion this should give a could not connect error or even something more specific stating that mysqli is unavailable.


No output on mysqli unavailability. - El Forum - 05-23-2008

[eluser]Derek Allard[/eluser]
Hm, what's the other thread Michael. I agree, it would be nice to have an error thrown.