• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error conecting postgresql driver

#1
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.


Attached Files
.zip   Error.zip (Size: 9.23 KB / Downloads: 12)
Reply

#2
In application\Config\Database.php file did you use Postgre or postgre in the settings?

It is case sensitive.
Reply

#3
(06-22-2017, 03: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.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.