[horde] Preferences Problem

Jan Schneider jan at horde.org
Mon Jul 14 16:52:32 PDT 2003


Zitat von Kai <horde at shosting.de>:

> Hello all,
> i have just installed Horde, Imp, Kronolith, Turba, etc. from the
> latest snaps.
>
> It all runs just fine until the point i set $conf['prefs']['driver']
> in the horde/config/conf.php from 'none' to 'sql'.
>
> The next time i log in i get the following 3 warnings:
>
>   Warning: _connect() [function.-connect]: open_basedir restriction in
> effect.
>   File(./DB.php) is not within the allowed path(s): (/home/www/web2/) in
> /home/www/web2/html/horde/lib/Prefs/sql.php on line 454
>
>   Warning: _connect(DB.php) [function.-connect]: failed to create stream:
>   Die Operation ist nicht erlaubt in
> /home/www/web2/html/horde/lib/Prefs/sql.php on line 454
>
>   Fatal error: _connect() [function.-connect]:
>   Failed opening required 'DB.php' (include_path='.:/usr/share/php') in
> /home/www/web2/html/horde/lib/Prefs/sql.php on line 454
>
> open_basedir restriction is active, but configured correctly (it works
> perfect without the preferences option)

Obviously not.

> the sql.php line 454 tries to require_once the DB.php.

And looks for it in your include_path (.:/usr/share/php) while you set up
the open_basedir restrictions to only allow access to files in
/home/www/web2.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft



More information about the horde mailing list