6.0.0-beta13
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/11/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9810] PHP Error when changin permissions on file/folder
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ __ __ . .. . [ __/ `/ `| || | [_./\__.\__.|__||__|
Comment
> 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 > < if > (!is_a(Gollem::changePermissions(Gollem::getDir(), $item, $chmod), > 'PEAR_Error')) { > --- >> $result = Gollem::changePermissions(Gollem::getDir(), $item, $chmod); >> if (!is_a($result, 'PEAR_Error')) { > > > Hope this helps someone. > > jack
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers