X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id B4918D1B4E3 for ; Sat, 27 Sep 2003 10:56:34 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 04693-02 for ; Sat, 27 Sep 2003 07:56:06 -0300 (ADT) Received: from mailsrv.iaspire.net (mailsrv.iaspire.net [203.166.128.190]) by svr1.postgresql.org (Postfix) with ESMTP id 28B5AD1B509 for ; Sat, 27 Sep 2003 07:56:02 -0300 (ADT) Received: from kalyan ([203.166.139.133]) by mailsrv.iaspire.net (Netscape Messaging Server 4.15) with SMTP id HLVD2P00.CWY for ; Sat, 27 Sep 2003 18:56:49 +0800 From: "Kalyan (FS)" To: Subject: php newbie : non-object problem Date: Sat, 27 Sep 2003 18:52:31 +0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01D0_01C38528.81C3E170" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: Importance: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/457 X-Sequence-Number: 10545 This is a multi-part message in MIME format. ------=_NextPart_000_01D0_01C38528.81C3E170 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, 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) ----------------------------------------------------------- header(array('title'=>$Language->getText('index','welcome'),'pagename '=>'home')); //This is line 19 // Main page content is now themeable; // Default is index_std.php; include ( $HTML->getRootIndex() ); $HTML->footer(array()); ?> -------------------------------------------------- until here Please help me. Thanks in advance, Regards, Kalyan. ------=_NextPart_000_01D0_01C38528.81C3E170 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
   I have in= stalled=20 & configured (as per the instructions specified by Gforge installation= =20 document ) Postgresql - 7.2.4, apache 1.3.28, php 4.3.3 with Gforge 3.0.&nb= sp;=20 All my configuration steps passed without any error.
 
But when I am trying t= o access=20 index.php (/var/www/gforge-3.0/www/index.php) it gives the error=20 message...
 
 
Fatal error: Call to= a=20 member function on a non-object in /var/www/gforge-3.0/www/index.php= on=20 line 19
 
There is no informatio= n in the=20 error_log, access_log for apache and also no error in the Postgres=20 log. 
This is the source c= ode for=20 index.php (provided by Gforge) =20 -----------------------------------------------------------=
<?php
/**
&= nbsp;=20 *
  * SourceForge Front Page
  *
  * SourceForge:= =20 Breaking Down the Barriers to Open Source Development
  * Copyrig= ht=20 1999-2001 (c) VA Linux Systems
  * http://sourceforge.net
  * =20 * @version   $Id: index.php.patched,v 1.1.2.1 2002/11/30 09:57:= 57=20 cbayle Exp $
  *
  */
 
require_once('www/include/pre.php');    // Initia= l db=20 and session library, opens=20 session
require_once('www/news/news_utils.php');
require_once('comm= on/forum/Forum.class');
require_once('www/include/features_boxes.php');<= /FONT>
 
$HTML->header(array('title'=3D>$Language->getTe= xt('index','welcome'),'pagename'=3D>'home'));   =20 //This is line 19
 
// Main page content= is now=20 themeable;
// Default is index_std.php;
include (=20 $HTML->getRootIndex() );
 
$HTML->footer(array());
?><= /DIV>
-------------------------------------------------- until=20 here
Please help me. = ; Thanks=20 in advance,
 =
Regards,
Kalyan.

------=_NextPart_000_01D0_01C38528.81C3E170--