My comments below, Shridhar...

On Thursday 26 Aug 2004 1:20 pm, energon wrote:
> Anybody installed gforge-3.3?
>
> I've set it up, but am facing problems while connecting to the
> postgresql database: "Could Not Connect to Database:"
> PostgreSQL postmaster is running well.

> Checked pg_hba.conf?
local all trust

> Have you set TCP/IP socket connectivity to true in postgresql.conf?
tcpip_socket = true
port = 5432

I can still see a "Could Not Connect to Database:" in my browser page.
This error is printed from pre.php if connection to database fails.
-----
db_connect();
if (!$conn) {
    print "$sys_name Could Not Connect to Database: ".db_error();
    exit;
}
-----
BTW, is $conn a global variable ?
Or should the line be:
$conn = db_connect();
[I'm not a PHP specialist.]


=====
-energon0


        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      ([EMAIL PROTECTED])
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to