[pkg-horde] Bug#531066: bad file name in require_once() in /etc/horde/ingo1/prefs.php

Andrew Schulman andrex at alumni.utexas.net
Fri May 29 17:18:27 UTC 2009


Package: ingo1
Version: 1.2.1-1
Severity: normal

I haven't used ingo1 in several months.  Now I just tried, and all I
get is a page full of warnings and fatal errors like the following:

Warning: require_once(/etc/horde/ingo1/../lib/Storage.php) [function.require-once]: failed to open stream: No such file or directory in /etc/horde/ingo1/prefs.php on line 9

Fortunately the error message points me directly to the problem.  Sure enough, /etc/horde/ingo1/prefs.php line 9 says

require_once dirname(__FILE__) . '/../lib/Storage.php';

which resolves to /etc/horde/lib/Storage.php, but there is no /etc/horde/lib.  Changing that line to

require_once '/usr/share/horde3/ingo/lib/Storage.php';

fixes the problem.

Thanks,
Andrew.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (300, 'unstable'), (200, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages ingo1 depends on:
ii  horde3                   3.3.4+debian0-1 horde web application framework

Versions of packages ingo1 recommends:
ii  php5-imap                 5.2.9.dfsg.1-4 IMAP module for php5

Versions of packages ingo1 suggests:
ii  imp4                     4.3.4+debian0-1 webmail component for horde framew
ii  php-net-sieve            1.1.6-1         net_sieve module for PEAR

-- no debconf information





More information about the pkg-horde-hackers mailing list