Failed opening required 'HTMLPurifier/Error.php' (PHP 5.2.5)
Page: 1
Daniel Cousineau
on Jan 14. 2008. 2:50 pm
AC is failing out on me when uploading a file (specifically the file upload under a project), however this problem is universal to all file uploads.
The full error is:
Fatal error: require_once() [function.require]: Failed opening required 'HTMLPurifier/Error.php' (include_path='.:/usr/share/pear:[TRUNCATED]') in [TRUNCATED]/activecollab/angie/classes/htmlpurifier/HTMLPurifier/ConfigSchema.php on line 3
The actual require() statement in question is: require_once 'HTMLPurifier/Error.php'; and the file in question (Error.php) exists and is readable (though a nice empty class :P)
I know that the problem resides in the php configuration and how it's include paths are working, however I don't seem to see what the deal is. There was a recent php5 upgrade and I've restored the include path however I don't know what's at work here. (safe_mode et. al. are not at play here).
The full error is:
Fatal error: require_once() [function.require]: Failed opening required 'HTMLPurifier/Error.php' (include_path='.:/usr/share/pear:[TRUNCATED]') in [TRUNCATED]/activecollab/angie/classes/htmlpurifier/HTMLPurifier/ConfigSchema.php on line 3
The actual require() statement in question is: require_once 'HTMLPurifier/Error.php'; and the file in question (Error.php) exists and is readable (though a nice empty class :P)
I know that the problem resides in the php configuration and how it's include paths are working, however I don't seem to see what the deal is. There was a recent php5 upgrade and I've restored the include path however I don't know what's at work here. (safe_mode et. al. are not at play here).
www.net-perspective.com
Ilija Studen
on Jan 14. 2008. 2:56 pm
Hi,
Can you please send your FTP parameters to support@a51dev.com so we can check. It is possible that HTMLPurifier uses PHP version to include specific libraries and the system broke with PHP 5.2.5 (I've found similar problems before).
Can you please send your FTP parameters to support@a51dev.com so we can check. It is possible that HTMLPurifier uses PHP version to include specific libraries and the system broke with PHP 5.2.5 (I've found similar problems before).
activeCollab team member
Daniel Cousineau
on Jan 14. 2008. 3:13 pm
I send support@a51dev.com with the details.
www.net-perspective.com
Hello
We did just buy activecollab corporate and have the same issue also on PHP 5.2.5.
How can this problem be fixed?
Regards
Tris
We did just buy activecollab corporate and have the same issue also on PHP 5.2.5.
How can this problem be fixed?
Regards
Tris
Ilija Studen
on Feb 25. 2008. 5:33 am
A customer who had a similar problem resolved it by upgrading PHP5.2.5 to a specific build. Here is what he sent us:
Problem is related to include path with this particular version of PHP. We'll see to release an update with code that does not rely on include path.
I was using atomicturtle's php5.2.5 rpm (http://www.atomicorp.com/wiki/index.php/PHP), php5.2.5-1, and there was a bug resolved in php5.2.5-3 that fixes this very issue.
Problem is related to include path with this particular version of PHP. We'll see to release an update with code that does not rely on include path.
activeCollab team member
We are using: PHP Version 5.2.5-0.dotdeb.2
This is the recent version of PHP 5.2.5 from the dotdeb.org source.
(We are using debian etch)
When will this code update be released?
We just did buy activecollab and need to test all functions to make sure this software fits our need.
thx
This is the recent version of PHP 5.2.5 from the dotdeb.org source.
(We are using debian etch)
When will this code update be released?
We just did buy activecollab and need to test all functions to make sure this software fits our need.
thx
Ilija Studen
on Feb 26. 2008. 10:31 am
If you experience this problem replace content of /htmlpurifier folder located in /activecollab/angie/classes with the files from attached archive. That should do the trick until we release new bug fix release.
activeCollab team member



