CodeIgniter Forums

Full Version: Error conecting postgresql driver
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!!
   I have been working with CI2  for a long long while, and I'm pretty excited with CI4. Then, I made an installation and started to test it. Since I'm a PostgreSQL lover, I tried to connect to it, but I had the following error:

Error

Class '\CodeIgniter\Database\postgre\Connection' not found


 I realized the fact that 'postgre' was not in caps in the route given with the error. Then, i tried the following:

cd /usr/local/www/apache24/data/CI4 (which is my install directory in my Freebsd 11.0 system)

ln -s Database/Postgre Database/postgre

And everything worked perfectly.

I'm barely sure it's not because I missed something. If so, please, let me know. Otherwise I'd like to know if this is the right place to post it or  where should I report this -apparent- bug.
In application\Config\Database.php file did you use Postgre or postgre in the settings?

It is case sensitive.
(06-22-2017, 02:33 PM)qury Wrote: [ -> ]In application\Config\Database.php file did you use Postgre or postgre in the settings?

It is case sensitive.

That was the key. Silly me. Tnx.