[sork] FreeBSD 5.3 + Horde-php5-3.0.3 + SORK not working
Edgar Martinez
emartinez at crockettint.com
Fri Mar 4 11:17:52 PST 2005
All,
As stated above, none of the SORK modules are working with that setup. I
cannot find anything in regards to this problem. Initially this was the
error:
PHP Warning: main(/usr/local/www/horde/passwd/lib/../../lib/Registry.php)
[<a href='function.main'>function.main</a>]: failed to open stream: No such
file or directory in /usr/local/www/horde/passwd/lib/base.php on line 24,
referer: http://mxc2.crockettint.com/horde/services/portal/sidebar.php
PHP Fatal error: main() [<a href='function.require'>function.require</a>]:
Failed opening required
'/usr/local/www/horde/passwd/lib/../../lib/Registry.php'
(include_path='/usr/local/share/pear/') in
/usr/local/www/horde/passwd/lib/base.php on line 24, referer:
http://mxc2.crockettint.com/horde/services/portal/sidebar.php
I found that on line 24 of base.php the settings were:
// Registry
require_once HORDE_BASE . '/lib/Registry.php';
Which the FreeBSD port installation (Horde's default install path??) puts
the Registry.php file in /lib/Horde/Registry. Once I made the change, it
appears that the passwd module finds the Registry.php fine, but will not
produce any additional errors at all in any logfile that I can find.
Additionally within Horde, when you click on the "passwd" icon, the sidebar
remains and all else disappears, again without any errors. I have
reinstalled this on at least 4 different systems using anything from 5.2.1
to 5.3 without any success or getting any further. I have used both the
latest CVS snapshot and the port included in the ports collection (yes it
was cvsuped). I also noticed that a few different lib paths also appear
wrong in the same base.php file, those are:
## WRONG PATHS ##
// Horde base libraries
require_once HORDE_BASE . '/lib/Horde.php';
require_once HORDE_BASE . '/lib/Auth.php';
require_once HORDE_BASE . '/lib/Secret.php';
require_once HORDE_BASE . '/lib/Text.php';
require_once HORDE_BASE . '/lib/Help.php';
// Browser detection library
require_once HORDE_BASE . '/lib/Browser.php';
## CURRENT PATHS ##
// Horde base libraries
require_once HORDE_BASE . '/lib/Horde.php';
require_once HORDE_BASE . '/lib/Horde/Auth.php';
require_once HORDE_BASE . '/lib/Horde/Secret.php';
require_once HORDE_BASE . '/lib/Horde/Text.php';
require_once HORDE_BASE . '/lib/Horde/Help.php';
// Browser detection library
require_once HORDE_BASE . '/lib/Horde/Browser.php';
I am trying to use LDAP as my backend which works perfectly for everything
else. So am I smoking wal-mart fish crack or am I missing something
blatently obvious?? Help??
More information about the sork
mailing list