Skip site navigation (1) Skip section navigation (2)

php newbie : non-object problem

From: "Kalyan (FS)" <kalyan(at)frontline(dot)com(dot)sg>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: php newbie : non-object problem
Date: 2003-09-27 10:52:31
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
   I have installed & configured (as per the instructions specified by
Gforge installation document ) Postgresql - 7.2.4, apache 1.3.28, php 4.3.3
with Gforge 3.0.  All my configuration steps passed without any error.

But when I am trying to access index.php (/var/www/gforge-3.0/www/index.php)
it gives the error message...

Fatal error: Call to a member function on a non-object in
/var/www/gforge-3.0/www/index.php on line 19

There is no information in the error_log, access_log for apache and also no
error in the Postgres log.

  This is the source code for index.php (provided by
forge)  -----------------------------------------------------------
    * SourceForge Front Page
    * SourceForge: Breaking Down the Barriers to Open Source Development
    * Copyright 1999-2001 (c) VA Linux Systems
    * @version   $Id: index.php.patched,v 2002/11/30 09:57:57 cbayle
Exp $

  require_once('www/include/pre.php');    // Initial db and session library,
opens session

'=>'home'));    //This is line 19

  // Main page content is now themeable;
  // Default is index_std.php;
  include ( $HTML->getRootIndex() );

  -------------------------------------------------- until here
  Please help me.  Thanks in advance,


In response to

pgsql-admin by date

Next:From: Gaetano MendolaDate: 2003-09-28 22:23:38
Subject: Re: postgresql.conf.... virtualhost ???
Previous:From: Raj MathurDate: 2003-09-27 03:11:24
Subject: Re: Postgresql going to sleep?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group