6.0.0-alpha12
6/9/25

[#6111] Include-Error
Summary Include-Error
Queue Ingo
Queue Version 1.1.5
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester spam2 (at) rhsoft (dot) net
Created 01/14/2008 (6356 days ago)
Due
Updated 03/08/2008 (6302 days ago)
Assigned
Resolved 01/14/2008 (6356 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/08/2008 04:31:18 PM spam2 (at) rhsoft (dot) net Comment #5 Reply to this comment
Where is the problem to change this line?
Because the path you wrote is *not* going to be correct on most Horde
installations. You need to have the Horde framework libraries in your
include_path, which needs to be coordinated with your open_basedir
settings.
IT IS CORRECT

I have set the lib-dir in include path now and openbasedir of the 
whole horde-stuff is correct since years - But the errors are 
everytime the same!

After update auf hode-framework now i have a problem again



    php_admin_value open_basedir 
"/Volumes/dune/www-servers/thelounge.net/webmail_internal:/Volumes/dune/www-servers/phpincludes:/usr/local/Zend/Core/share/pear:/usr/local/Zend/php-temp"

    php_value include_path 
".:/Volumes/dune/www-servers/phpincludes:/usr/local/Zend/Core/share/pear:/Volumes/dune/www-servers/thelounge.net/webmail_internal/horde/lib"

[08-Mär-2008 17:20:15] PHP Fatal error:  Can't load 
Horde/SessionObjects.php, open_basedir restriction. in 
/Volumes/dune/www-servers/thelounge.net/webmail_internal/horde/lib/Horde/IMAP/Tree.php on line 
311



[08-Mär-2008 17:23:10] PHP Fatal error:  Can't load 
Horde/SessionObjects.php, open_basedir restriction. in 
/Volumes/dune/www-servers/thelounge.net/webmail_internal/horde/lib/Horde/IMAP/Tree.php on line 
311

[08-Mär-2008 17:23:21] PHP Fatal error:  Can't load 
Horde/SessionObjects.php, open_basedir restriction. in 
/Volumes/dune/www-servers/thelounge.net/webmail_internal/horde/lib/Horde/IMAP/Tree.php on line 
311



Sorry but i must say that a have developed a lot of php-applications 
and they are ALL working with realpath-Locations set on start and 
works on every location, in subfolders as in docroot!
01/14/2008 06:48:08 PM Chuck Hagenbuch Comment #4 Reply to this comment
Where is the problem to change this line?
Because the path you wrote is *not* going to be correct on most Horde 
installations. You need to have the Horde framework libraries in your 
include_path, which needs to be coordinated with your open_basedir 
settings.
01/14/2008 02:31:59 PM spam2 (at) rhsoft (dot) net Comment #3 Reply to this comment
The path is not fine and there is nothing to fix on the server

You should test this with openbasedir-settings

This is not a poor configured server without openbasedir and old php-versions



Where is the problem to change this line?

Generated absolute paths for require/include are always better than 
relative ones



I must fix this every update and its no good way to answer "not our 
problem" if you get a working solution
01/14/2008 02:28:22 PM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
The path is fine, fix your PHP setup.
01/14/2008 02:19:20 PM spam2 (at) rhsoft (dot) net Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Include-Error
Queue ⇒ Ingo
State ⇒ Unconfirmed
Reply to this comment
[13-Jan-2008 22:39:00] PHP Fatal error:  Can't load 
Horde/SessionObjects.php, open_basedir restriction. in 
/Volumes/dune/www-servers/thelounge.net/webmail_internal/horde/ingo/lib/Storage.php on line 
276

horde/ingo/lib/Storage.php



Correct this please to

276: require_once dirname(__FILE__) . '/../../Horde/SessionObjects.php';

Saved Queries