[imp] Strange IMP Errors
Drew J. Como
dcomo@bascom.com
Tue, 2 Apr 2002 15:28:50 -0500
Devin,
It's all there, just like you have written it below.
I added the Apache config that you included in a past
post. After adding it, I get the same message, however,
if I change the line from:
php_value include_path '/usr/local/lib:/usr/local/lib/php'
-to-
php_value include_path '/usr/local/lib'
_Only_ the following is thrown:
Fatal error: Failed opening required 'PEAR.php'
(include_path='/usr/local/lib') in
/usr/local/apache/htdocs/horde/lib/Registry.php on line 4
I know that it needs both directories in the path, but
for some reason, it isn't accepting it.
Any clues??
============================================
Drew J. Como Phone: 631-434-6600
Systems Administrator Fax: 631-434-7800
dcomo@bascom.com Web: www.bascom.com
Bascom Global Internet Services, Inc.
--------------------------------------------
"When quality is the goal,
winning is guaranteed."
Fatal error: Failed opening required 'PEAR.php'
(include_path='/usr/local/lib') in
/usr/local/apache/htdocs/horde/lib/Registry.php on line 4
My httpd.conf file has this directive for that directory:
<Directory "/usr/local/apache/htdocs/horde">
php_flag magic_quotes_gpc Off
php_value include_path '/usr/local/lib'
</Directory>
As said in a prior post, my 'include path' should be:
php_value include_path '/usr/local/lib:/usr/local/lib/php'
-----Original Message-----
From: Devin Atencio [mailto:dreamboy@aros.net]
Sent: Tuesday, April 02, 2002 3:12 PM
To: dcomo@bascom.com
Subject: RE: [imp] Strange IMP Errors
Drew,
Do you even have the PHP PEAR Stuff installed?
You can check by seeing if you have the directory
/usr/local/lib/php, and inside this directory you
should have the following files/directories:
drwxr-xr-x 24 root wheel 1024 Mar 29 14:24 .
drwxr-xr-x 7 root wheel 1536 Mar 29 14:23 ..
drwxr-xr-x 2 root wheel 512 Mar 29 14:24 Archive
drwxr-xr-x 2 root wheel 512 Feb 27 10:12 Benchmark
drwxr-xr-x 3 root wheel 512 Feb 27 10:12 Cache
-rw-r--r-- 1 root wheel 10913 Feb 27 10:12 Cache.php
drwxr-xr-x 2 root wheel 512 Mar 29 14:24 Console
drwxr-xr-x 2 root wheel 512 Mar 29 14:24 Crypt
drwxr-xr-x 2 root wheel 512 Mar 29 14:24 DB
-rw-r--r-- 1 root wheel 27829 Mar 29 14:24 DB.php
drwxr-xr-x 2 root wheel 512 Mar 29 14:24 Date
drwxr-xr-x 2 root wheel 512 Mar 29 14:24 File
drwxr-xr-x 2 root wheel 512 Mar 29 14:24 HTML
drwxr-xr-x 2 root wheel 512 Mar 29 14:24 HTTP
-rw-r--r-- 1 root wheel 6554 Mar 29 14:24 HTTP.php
drwxr-xr-x 2 root wheel 512 Feb 27 10:12 Image
drwxr-xr-x 2 root wheel 512 Feb 27 10:12 Log
-rw-r--r-- 1 root wheel 6838 Feb 27 10:12 Log.php
drwxr-xr-x 2 root wheel 512 Mar 29 14:24 Mail
-rw-r--r-- 1 root wheel 7287 Mar 29 14:24 Mail.php
drwxr-xr-x 2 root wheel 512 Feb 27 10:12 Math
drwxr-xr-x 2 root wheel 512 Mar 29 14:24 Net
drwxr-xr-x 2 root wheel 512 Feb 27 10:12 Numbers
drwxr-xr-x 2 root wheel 512 Mar 29 14:24 PEAR
-rw-r--r-- 1 root wheel 24324 Mar 29 14:24 PEAR.php
drwxr-xr-x 2 root wheel 512 Feb 27 10:12 Payment
drwxr-xr-x 2 root wheel 512 Mar 29 14:24 Schedule
-rw-r--r-- 1 root wheel 13327 Mar 29 14:24 System.php
drwxr-xr-x 2 root wheel 512 Mar 29 14:24 XML
drwxr-xr-x 2 root wheel 512 Feb 13 13:45 build
drwxr-xr-x 3 root wheel 512 Feb 13 13:45 extensions
If you don't have anything inside the directory /usr/local/lib/php
then you need to install PEAR.
-----Original Message-----
From: Drew J. Como [mailto:dcomo@bascom.com]
Sent: Tuesday, April 02, 2002 12:48 PM
To: imp@lists.horde.org
Subject: RE: [imp] Strange IMP Errors
OK. I played a around a little and now I'm down to only
one error when viewing the 'horde' page.
Fatal error: Failed opening required 'PEAR.php'
(include_path='/usr/local/lib') in
/usr/local/apache/htdocs/horde/lib/Registry.php on line 4
My httpd.conf file has this directive for that directory:
<Directory "/usr/local/apache/htdocs/horde">
php_flag magic_quotes_gpc Off
php_value include_path '/usr/local/lib'
</Directory>
As said in a prior post, my 'include path' should be:
php_value include_path '/usr/local/lib:/usr/local/lib/php'
The only problem with that is with the 2 separated by a colon
throws more errors. What syntax is it expecting and what am I missing?
Thanks :-)
============================================
Drew J. Como Phone: 631-434-6600
Systems Administrator Fax: 631-434-7800
dcomo@bascom.com Web: www.bascom.com
Bascom Global Internet Services, Inc.
--------------------------------------------
"When quality is the goal,
winning is guaranteed."
-----Original Message-----
From: Drew J. Como [mailto:dcomo@bascom.com]
Sent: Tuesday, April 02, 2002 2:23 PM
To: imp@lists.horde.org
Subject: RE: [imp] Strange IMP Errors
I just added the lines from below to my httpd.conf file,
and restarted, but the errors are still appearing...
Anyone have any other ideas?
Thanks :-)
============================================
Drew J. Como Phone: 631-434-6600
Systems Administrator Fax: 631-434-7800
dcomo@bascom.com Web: www.bascom.com
Bascom Global Internet Services, Inc.
--------------------------------------------
"When quality is the goal,
winning is guaranteed."
-----Original Message-----
From: Devin Atencio [mailto:dreamboy@aros.net]
Sent: Tuesday, April 02, 2002 12:13 PM
To: Imp@Lists.Horde.Org
Subject: RE: [imp] Strange IMP Errors
I am thinking that you don't have PEAR linked correctly in your
configuration. You need to add something like this to your Apache
Configuration:
<Directory "/home/devin/public_html/utahdjs/horde">
php_flag magic_quotes_gpc Off
php_value include_path '/usr/local/lib:/usr/local/lib/php'
</Directory>
Make sure you change Directory to be your path to your
Horde Directory. :)
-----Original Message-----
From: Drew J. Como [mailto:dcomo@bascom.com]
Sent: Tuesday, April 02, 2002 10:05 AM
To: imp@lists.horde.org
Subject: [imp] Strange IMP Errors
All,
I have just installed the following on my new server:
Apache 1.3.23
php4 4.1.2
imap-2001a
gettext-0.11.1
horde-2.0
imp-3.0
All seem to install and compile just fine. I went to
the Horde test page and everything shows up without issue.
However, when I go to the /imp folder, I get the following:
Warning: Failed opening
'/usr/local/apache/htdocs/horde/imp/lib/../../config/lang.php' for inclusion
(include_path='.:/usr/local/lib/php') in
/usr/local/apache/htdocs/horde/lib/Lang.php on line 68
Warning: Invalid argument supplied for foreach() in
/usr/local/apache/htdocs/horde/lib/Lang.php on line 149
Warning: Invalid argument supplied for foreach() in
/usr/local/apache/htdocs/horde/lib/Lang.php on line 149
Warning: Invalid argument supplied for foreach() in
/usr/local/apache/htdocs/horde/lib/Lang.php on line 149
Warning: Invalid argument supplied for foreach() in
/usr/local/apache/htdocs/horde/lib/Lang.php on line 149
Warning: Invalid argument supplied for foreach() in
/usr/local/apache/htdocs/horde/lib/Lang.php on line 149
Warning: Failed opening
'/usr/local/apache/htdocs/horde/lib/../config/registry.php' for inclusion
(include_path='.:/usr/local/lib/php') in
/usr/local/apache/htdocs/horde/lib/Registry.php on line 95
What is happening (or better, what did I mess up??)
Thanks :-)
============================================
Drew J. Como Phone: 631-434-6600
Systems Administrator Fax: 631-434-7800
dcomo@bascom.com Web: www.bascom.com
Bascom Global Internet Services, Inc.
--------------------------------------------
"When quality is the goal,
winning is guaranteed."
--
IMP mailing list: http://horde.org/imp/
Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org
--
IMP mailing list: http://horde.org/imp/
Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org
--
IMP mailing list: http://horde.org/imp/
Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org
--
IMP mailing list: http://horde.org/imp/
Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org