X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id C74599DC800 for ; Tue, 10 Jan 2006 17:57:07 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 04032-01 for ; Tue, 10 Jan 2006 17:57:09 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mx-2.sollentuna.net (mx-2.sollentuna.net [195.84.163.199]) by postgresql.org (Postfix) with ESMTP id 9357E9DC827 for ; Tue, 10 Jan 2006 17:57:04 -0400 (AST) Received: from ALGOL.sollentuna.se (janus.sollentuna.se [62.65.68.67]) by mx-2.sollentuna.net (Postfix) with ESMTP id 5F1398F28B; Tue, 10 Jan 2006 22:57:06 +0100 (CET) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: Re: Path-ralated problem while setting up a local postgresql website Date: Tue, 10 Jan 2006 22:57:14 +0100 Message-ID: <6BCB9D8A16AC4241919521715F4D8BCE92E9B0@algol.sollentuna.se> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [pgsql-www] Path-ralated problem while setting up a local postgresql website Thread-Index: AcYWKzGMw4SIaI2GTfCvXoE182bc8wABWr1g From: "Magnus Hagander" To: "Adrian Maier" , X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.079 required=5 tests=[AWL=0.079] X-Spam-Score: 0.079 X-Spam-Level: X-Archive-Number: 200601/59 X-Sequence-Number: 9247 > I modified in handler.php the line : >=20 > require_once './global/settings.php'; to > require_once '/home/am/pgweb/portal/global/settings.php'; >=20 > The error disappears, but it complains about the next require_once. >=20 > This is probably a configuration issue. > Any ideas about what can be done to fix the problem? > (it is very ugly to modify all the php files to use full paths ... ) In the .htaccess file in the root (portal) directory, I have: php_value include_path "/var/www/pg-pear/lib:." Do you have that, or similar? Note the single-dot path at the end after the colon, it needs to be there. And if it's there, are you sure it's being processed (the htaccess itself, but also this line in particular)? Also worth double-checking. //Magnus