[eluser]PG-Tips[/eluser]
Hi,
I'm trying to get my head around this. I'm on Mac 10.6, PHP 5.x, MySQL, Apache... CI1.7.2
I autoload the database library in autoload.php because I need it on every page.
Everything works fine but I have no error reporting enabled. So I go to php.ini in private/etc/ and I set it to E_ALL (without this, CI reports nothing)
Now when I load the page it says:
Quote:A Database Error Occurred
Unable to connect to your database server using the provided settings
I installed uhoh to see if it would shed some light on this. But don't see much. Just
-Unable to connect to your database server using the provided settings.
-db_unable_to_connect
But as I say, it works with error reporting off in php.ini
Could it be throwing a warning that is enough to stop CI? Is there some way I can see a detailed log of what's going on between PHP/MySQL? Maybe I can find the error there?
Or any other suggestions?
Thanks,
Pat