6.0.0-beta1
9/17/25

[#9596] faulty horde.local.php created by install_dev script
Summary faulty horde.local.php created by install_dev script
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester d-fens (at) 00010111 (dot) de
Created 02/24/2011 (5319 days ago)
Due
Updated 03/17/2011 (5298 days ago)
Assigned
Resolved 03/17/2011 (5298 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/17/2011 05:45:14 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
03/17/2011 05:45:08 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git for this ticket:

Bug #9596: Skip accidentally added "horde" in app list.

  1 files changed, 3 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/a296356936f6caa9d34ada8e1c6a946017cfa5b8
02/24/2011 05:06:10 PM d-fens (at) 00010111 (dot) de Comment #2 Reply to this comment
Ok i found the problem,i have added horde to the app list in the 
config, along with imp etc, this is not filtered in line 178 so the 
file gets overwritten, a if app != horde would fix it
02/24/2011 12:40:04 PM d-fens (at) 00010111 (dot) de Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ faulty horde.local.php created by install_dev script
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
hi,

somehow the install script crates this file for me:

<?php define('HORDE_BASE', '/var/www/catchall/htdocs/horde-git');

i miss the include path and closing "?>" there; horde doesn't work as it says

PHP Fatal error:  require_once() [<a 
href='function.require'>function.require</a>]: Failed opening required 
'Horde/Autoloader/Default.php' 
(include_path='/var/www/_horde/horde/horde/lib:.:/usr/share/php5:/usr/share/php') in /var/www/_horde/horde/horde/lib/core.php on line 
44

in line 114 of the install_dev script there is
file_put_contents($horde_git . '/horde/config/horde.local.php', "<?php 
if (!defined('HORDE_BASE')) define('HORDE_BASE', '$web_dir'); 
ini_set('include_path', '{$web_dir}/libs' . PATH_SEPARATOR . 
ini_get('include_path'));");

but somehow the file gets overwritten late on in the script, strange


Saved Queries