[dev] _filecleanup() problems

Robin P. Blanchard Robin_Blanchard@gactr.uga.edu
Tue, 11 Dec 2001 10:06:45 -0500


Anil Madhavapeddy wrote:
> 
> On Mon, Dec 10, 2001 at 01:58:01PM -0500, Robin P. Blanchard wrote:
> >
> > Fatal error: Cannot redeclare _filecleanup() in
> > ..../horde/lib/Horde.php on line 58
> >
> 
> Please check your include path, and make sure that you aren't
> somehow including Horde.php in twice.  If there is nothing in your
> PHP install that is doing this, then it could possibly be a missing
> require_once somewhere in Horde.

include_path = ".:/usr/local/lib/php"

_filecleanup() only exists in ..../horde/lib/Horde.php

> But as noone else has reported this problem, chances are its your
> install doing this somehow.  Make sure you do stuff like regenerate
> all of your config files from the .dist originals.

just moved out my personalised configs and moved in the .dist originals
(as .php), *without* modifying them. still same error.

> Also, what version of PHP, Apache, etc are you running, and on
> what OS?

Just upgraded to php-4.1.0 and still same error.
Now running:
FreeBSD 4.4-STABLE (23 Nov 2001)
apache-1.3.22
mod_perl-1.26
mod_php-4.1.0
mod_ssl-2.8.5 (openssl-0.9.6a)
mod_mp3-0.33

php.ini:
file_uploads = on
upload_tmp_dir = /usr/local/var/php/uploads
upload_max_filesize = 5M
session.save_path = /usr/local/var/php/sessions
include_path = ".:/usr/local/lib/php"
log_errors = on
error_log = /www/logs/php-error.log

horde .htaccess:
php_flag magic_quotes_gpc on
php_flag magic_quotes_runtime on
php_flag track_vars on
php_flag track_errors on
php_value include_path ".:/usr/local/lib/php"
php_flag log_errors on

-- 
------------------------------------
Robin P. Blanchard
IT Program Specialist
Georgia Center for Continuing Ed.
fon: 706.542.2404 fax: 706.542.6546
email: Robin_Blanchard@gactr.uga.edu
------------------------------------