Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » RADICORE Installation Issues » pg_connect parameter order?
pg_connect parameter order? [message #1176] Wed, 28 November 2007 07:52 Go to previous message
chrisvwn is currently offline  chrisvwn
Messages: 3
Registered: November 2007
Junior Member
Hi,

I almost pulled my hair out installing radicore since i kept getting the error that the audit schema did not exist. but through farther debugging, i realized that although the system was connecting to postgresql, it was connecting to the wrong database - the postgresql default db.

the way i solved this was to change the code in dml.pgsql.inc and changing the order of parameters for the connection from pg_connect("host=$host,user=$user,pass=$pass,db=$db") to pg_connect("host=$host,db=$db,user=$user,pass=$pass") - not the exact syntax but you can see the change in the location of the dbase parameter.

worked for me.

postgresql 8.2.3
php 5.2.1

cheers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Hi all,
Next Topic: Problem with IIS
Goto Forum:
  


Current Time: Fri Nov 22 04:20:50 EST 2024

Total time taken to generate the page: 0.00992 seconds