6.0.0-beta1
9/2/25

[#9494] Horde Groupware Webmail Edition 1.2.9 - prefs.php
Summary Horde Groupware Webmail Edition 1.2.9 - prefs.php
Queue Horde Groupware Webmail Edition
Queue Version 1.2.8
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester anthony (at) lou (dot) heraut (dot) eu
Created 01/05/2011 (5354 days ago)
Due
Updated 01/05/2011 (5354 days ago)
Assigned
Resolved 01/05/2011 (5354 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/05/2011 05:16:40 PM anthony (at) lou (dot) heraut (dot) eu Comment #3 Reply to this comment
No, the solution is to set up your basedir restrictions correctly.
sorry but my basedir_restriction is ok :-) I just blanked out the 
names of directories
the script can not read the path in question ... since it consists of 
the name of the directory and the name of a css file (present in the 
said directory)

sorry for my bad english
01/05/2011 05:02:28 PM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
No, the solution is to set up your basedir restrictions correctly.
01/05/2011 04:40:21 PM anthony (at) lou (dot) heraut (dot) eu Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ Horde Groupware Webmail Edition 1.2.9 - prefs.php
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Horde Groupware Webmail Edition 1.2.9

File /lib/prefs.php
Lines 166-168
______________________________________________________
if (is_readable($theme_base . '/' . $dir . '/info.php')) {
                 include $theme_base . '/' . $dir . '/info.php';
             }
______________________________________________________

Errors php (with  open_basedir restriction ) :

______________________________________________________

[Wed Jan 05 17:24:03 2011] [error] [client ***] PHP Warning:   
is_readable(): open_basedir restriction in effect. 
File(/folder_path/config/../themes/embed.css/info.php) is not within 
the allowed path(s): (***) in ***/lib/prefs.php on line 166
[Wed Jan 05 17:24:03 2011] [error] [client ***] PHP Warning:   
is_readable(): open_basedir restriction in effect. 
File(/folder_path/webmail/config/../themes/rtl.css/info.php) is not 
within the allowed path(s): (***) in ***/lib/prefs.php on line 166

The "themes" directory contains css files
______________________________________________________

SOLUTION :
replace :
line 166 if (is_readable($theme_base . '/' . $dir . '/info.php')) {
by
line 166 if (@is_readable($theme_base . '/' . $dir . '/info.php')) {

Saved Queries