<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>class ErrorException missing</title> 
  <pubDate>Fri, 10 Apr 2026 14:37:16 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/10591</link> 
  <atom:link rel="self" type="application/rss+xml" title="class ErrorException missing" href="https://bugs.horde.org/ticket/10591/rss" /> 
  <description>class ErrorException missing</description> 
 
   
   
  <item> 
   <title>when i have set a wrong permission on my backends.local.php </title> 
   <description>when i have set a wrong permission on my backends.local.php so that it is not readable for the webserver i got a fatal error about that class ErrorException can&#039;t be found:
 PHP Fatal error:  Class &#039;ErrorException&#039; not found in /var/www/pear/php/Horde.php on line 238

so i searched the entire horde installation for that class and didn&#039;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(&#039;PHP ERROR: &#039; . $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).
</description> 
   <pubDate>Fri, 30 Sep 2011 18:36:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10591#t67834</link> 
  </item> 
   
  <item> 
   <title>Your PHP is broken.  ErrorException is part of PHP itself:
</title> 
   <description>Your PHP is broken.  ErrorException is part of PHP itself:

http://php.net/ErrorException</description> 
   <pubDate>Fri, 30 Sep 2011 18:38:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10591#t67835</link> 
  </item> 
   
  <item> 
   <title>when i create a sample test case:

&lt;?php
throw new ErrorE</title> 
   <description>when i create a sample test case:

&lt;?php
throw new ErrorException(&quot;hallo&quot;);
?&gt;

i got:


PHP Fatal error:  Uncaught exception &#039;ErrorException&#039; with message &#039;hallo&#039; in -:2
Stack trace:
#0 {main}
  thrown in - on line 2


but when it is called inside horde the class can&#039;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</description> 
   <pubDate>Fri, 30 Sep 2011 18:51:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10591#t67836</link> 
  </item> 
   
  <item> 
   <title>&gt; my error message. perhaps you can test my testcase to see </title> 
   <description>&gt; my error message. perhaps you can test my testcase to see the actual 
&gt; result. the permission i set wrong was file owned by root:root and 
&gt; only had read permission for user and group when my webserver is 
&gt; running with user www-data:www-data

Gets me a correct exception.</description> 
   <pubDate>Mon, 03 Oct 2011 17:37:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/10591#t67878</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
