<?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>PHP Error when changin permissions on file/folder</title> 
  <pubDate>Fri, 10 Apr 2026 18:48:34 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9810</link> 
  <atom:link rel="self" type="application/rss+xml" title="PHP Error when changin permissions on file/folder" href="https://bugs.horde.org/ticket/9810/rss" /> 
  <description>PHP Error when changin permissions on file/folder</description> 
 
   
   
  <item> 
   <title>When changing permissions on a file/folder, webmail displays</title> 
   <description>When changing permissions on a file/folder, webmail displays a blank page.
in the error Log:
[Tue Apr 05 16:05:54 2011] [error] [client 155.207.xxx.yyy] PHP Fatal error:  Call to a member function getMessage() on a non-object in /var/www/webmail.auth.gr/htdocs/horde/gollem/manager.php on line 79, referer: https://webmail.auth.gr/horde/gollem/manager.php


I do not know if this has been resolved in a later version but after reviewing source code of manager.php, I have discovered that the solution is to change two lines:

75c75,76
&lt;                     if (!is_a(Gollem::changePermissions(Gollem::getDir(), $item, $chmod), &#039;PEAR_Error&#039;)) {
---
&gt; 		    $result = Gollem::changePermissions(Gollem::getDir(), $item, $chmod);
&gt;                     if (!is_a($result, &#039;PEAR_Error&#039;)) {


Hope this helps someone.

jack</description> 
   <pubDate>Tue, 05 Apr 2011 13:25:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9810#t63159</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Keep copy of</title> 
   <description>Changes have been made in CVS for this ticket:

Keep copy of PEAR_Error (Bug #9810).
http://cvs.horde.org/diff.php/gollem/manager.php?rt=horde&amp;r1=1.146.2.23&amp;r2=1.146.2.24&amp;ty=u</description> 
   <pubDate>Tue, 19 Apr 2011 16:21:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9810#t63926</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
