Inclusion Problems

Matt Janssen blackwidow@writeme.com
Sat, 5 May 2001 20:08:51 -0500


I keep getting errors like the one below with my Horde/IMP installation.  It
seems as if every time I install Horde on a fresh system, I get a different
error.


Warning: Failed opening './../config/registry.php' for inclusion
(include_path='/usr/local/share/php/pear') in
usrlocalapachehtdocshordelibRegistry.php on line 31

When I alter Registry.php to use the absolute path,
'/usr/local/apache/htdocs/horde/config/registry.php', it works fine, but I
run into other inclusion problems with other parts of Horde and IMP. I hope
this is fixable... Thanks for any help.

-Matt Janssen
matt@mattjanssen.net

---------------------------------------------
versions
---------------------------------------------
Dist: RedHat 7.1
Linux: 2.4.2-2

Apache: 1.3.19
mySQL: 3.23.37
PHP: 4.0.6-dev
Zend: 1.0.6

Horde: 1.3.4-cvs
IMP: 2.3.7-cvs
Turba: 0.0.2-cvs

---------------------------------------------
test.php
---------------------------------------------
Horde Versions
Horde: 1.3.4-cvs
IMP: 2.3.7-cvs
Turba: 0.0.2-cvs
PHP Version
View phpinfo() screen
PHP Version: 4.0.6-dev
PHP Major Version: 4.0
PHP Minor Version: 6
PHP Version Classification: dev
You are running a supported version of PHP. Enjoy the ride!
PHP Module Capabilities
FTP Support: Yes
Gettext Support: Yes
IMAP Support: Yes
LDAP Support: Yes
MCAL Support: Yes
Mcrypt Support: Yes
MySQL Support: Yes
PostgreSQL Support: No
XML Support: Yes
Miscellaneous PHP Settings
magic_quotes_gpc set to Off: Yes
magic_quotes_runtime set to Off: Yes
PHP Sessions
Session counter: 1
To unregister the session: click here
PEAR
PEAR - Yes
Mail::RFC822 - Yes
Log - Yes
DB - Yes



>From max@the Date: Sat,  5 May 2001 18:38:22 -0700
Return-Path: <max@the-triumvirate.net>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 35418 invoked from network); 6 May 2001 01:39:03 -0000
Received: from cx439309-b.santab1.ca.home.com (HELO zion.the-triumvirate.net) (65.5.157.46)
  by horde.org with SMTP; 6 May 2001 01:39:03 -0000
Received: (from http@localhost)
	by zion.the-triumvirate.net (8.10.2/8.10.2) id f461cNV11382
	for imp@lists.horde.org; Sat, 5 May 2001 18:38:23 -0700
X-Authentication-Warning: zion.the-triumvirate.net: http set sender to max@the-triumvirate.net using -f
Received: from 65.5.157.45 ( [65.5.157.45])
	as user max@imap.the-triumvirate.net by www.the-triumvirate.net with HTTP;
	Sat,  5 May 2001 18:38:22 -0700
Message-ID: <989113102.3af4ab0e33462@www.the-triumvirate.net>
Date: Sat,  5 May 2001 18:38:22 -0700
From: Max Kalika <max@the-triumvirate.net>
To: imp@lists.horde.org
References: <BJEMJOFECADEKAAPKMFJIEMHCEAA.blackwidow@writeme.com>
In-Reply-To: <BJEMJOFECADEKAAPKMFJIEMHCEAA.blackwidow@writeme.com>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 65.5.157.45
Subject: Re: [imp] Inclusion Problems

Quoting Matt Janssen <blackwidow@writeme.com>:

> Warning: Failed opening './../config/registry.php' for inclusion
> (include_path='/usr/local/share/php/pear') in
> usrlocalapachehtdocshordelibRegistry.php on line 31

You're probably noticing the problem with the __FILE__ constant in the latest 
php cvs.  Try downgrading to 4.0.5.

-- 
/// max kalika 
// max@the-triumvirate.net 

"and after a while you'll stop making computers out of stuff and start making 
stuff out of computers" -- douglas adams 4/5/01


>From chuck@horde.org Date: Sat,  5 May 2001 23:40:45 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 37819 invoked from network); 6 May 2001 03:42:05 -0000
Received: from 208-59-250-206.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.250.206)
  by horde.org with SMTP; 6 May 2001 03:42:05 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 1332E3CA4; Sat,  5 May 2001 23:40:45 -0400 (EDT)
Received: from 192.168.0.107 ( [192.168.0.107])
	as user chuck@localhost by marina.horde.org with HTTP;
	Sat,  5 May 2001 23:40:45 -0400
Message-ID: <989120445.3af4c7bdb199c@marina.horde.org>
Date: Sat,  5 May 2001 23:40:45 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <BJEMJOFECADEKAAPKMFJIEMHCEAA.blackwidow@writeme.com> <989113102.3af4ab0e33462@www.the-triumvirate.net>
In-Reply-To: <989113102.3af4ab0e33462@www.the-triumvirate.net>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] Inclusion Problems

Quoting Max Kalika <max@the-triumvirate.net>:

> You're probably noticing the problem with the __FILE__ constant in the latest
> php cvs.  Try downgrading to 4.0.5.

Or, update to latest CVS as of about this morning or so. Make sure you get the 
latest TSRM, not just php.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"When you can't even start, it's time to stop" - Jason


>From chuck@horde.org Date: Sat,  5 May 2001 23:45:43 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 38652 invoked from network); 6 May 2001 03:47:02 -0000
Received: from 208-59-250-206.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.250.206)
  by horde.org with SMTP; 6 May 2001 03:47:02 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id CB0BF3CA4; Sat,  5 May 2001 23:45:43 -0400 (EDT)
Received: from 192.168.0.107 ( [192.168.0.107])
	as user chuck@localhost by marina.horde.org with HTTP;
	Sat,  5 May 2001 23:45:43 -0400
Message-ID: <989120743.3af4c8e7b0267@marina.horde.org>
Date: Sat,  5 May 2001 23:45:43 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <F60zadTMVwVn20lbhsK00000c20@hotmail.com>
In-Reply-To: <F60zadTMVwVn20lbhsK00000c20@hotmail.com>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] customizing webmail

Quoting Abid Ghufran <abidghufran@hotmail.com>:

> Is there a listing of all the configurable IMP/HORDE features modyfing which
> we can get a customized implementation?

Read the .dist files in the config/ directories. They're all pretty heavily 
commented.

> Most importantly. Does someone need to be expert with the php lang. top be 
> able to work with it?

Nope.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"When you can't even start, it's time to stop" - Jason