Summary | class ErrorException missing |
Queue | Horde Framework Packages |
Queue Version | Git master |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | michael (at) bigmichi1 (dot) de |
Created | 09/30/2011 (5030 days ago) |
Due | |
Updated | 10/03/2011 (5027 days ago) |
Assigned | |
Resolved | 09/30/2011 (5030 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
result. the permission i set wrong was file owned by root:root and
only had read permission for user and group when my webserver is
running with user www-data:www-data
<?php
throw new ErrorException("hallo");
?>
i got:
PHP Fatal error: Uncaught exception 'ErrorException' with message
'hallo' in -:2
Stack trace:
#0 {main}
thrown in - on line 2
but when it is called inside horde the class can't be found like in my
error message. perhaps you can test my testcase to see the actual
result. the permission i set wrong was file owned by root:root and
only had read permission for user and group when my webserver is
running with user www-data:www-data
State ⇒ Not A Bug
http://php.net/ErrorException
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ class ErrorException missing
Type ⇒ Bug
State ⇒ Unconfirmed
is not readable for the webserver i got a fatal error about that class
ErrorException can't be found:
PHP Fatal error: Class 'ErrorException' not found in
/var/www/pear/php/Horde.php on line 238
so i searched the entire horde installation for that class and didn't
found it, but i found some places where it is thrown, so eighter the
file is missing in some place or the throws are false.
grep -R ErrorException /var/www/pear/php | grep -v registry
/var/www/pear/php/Horde.php: self::logMessage(new
ErrorException('PHP ERROR: ' . $errstr, 0, $errno, $errfile,
$errline), $priority);
/var/www/pear/php/Horde/Mime/Part.php: } catch
(ErrorException $e) {
/var/www/pear/php/Horde/Mime/Part.php: * ErrorException if
an error is found.
/var/www/pear/php/Horde/Mime/Part.php: * @throws ErrorException
/var/www/pear/php/Horde/Mime/Part.php: } catch (ErrorException $e) {
/var/www/pear/php/Horde/Mime/Part.php: * @throws ErrorException
/var/www/pear/php/Horde/Mime/Part.php: throw new
ErrorException($errstr, $errno);
/var/www/pear/php/Horde/Core/Log/Logger.php: *
ErrorException).