| 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 (118 days ago) |
| Due | |
| Updated | 03/08/2008 (64 days ago) |
| Assigned | |
| Resolved | 01/14/2008 (118 days ago) |
| Attachments | |
| Milestone | |
| Patch |
>> 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!
> 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.
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
State ⇒ Not A Bug
The path is fine, fix your PHP setup.Queue ⇒ Ingo
Summary ⇒ Include-Error
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
[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';