[horde] Stubborn Whitescreen

Simon Brereton simon.buongiorno at gmail.com
Tue Oct 23 17:41:46 UTC 2012


Hi

I was trying to upgrade horde5 alpha to beta (and add kronolith).  I'd
previously screwed this up, so I removed the directory and started
again from scratch.

After making all the same errors I made before and fixing them from
the archives, I've run into a new one.  Everything seems to have
installed okay, but I have a whitescreen when accessing the
admin/config URL.

This appears in the log:


[Tue Oct 23 17:23:30 2012] [error] [client x.x.x.x] PHP Warning:
set_exception_handler() expects the argument
(Horde_ErrorHandler::fatal) to be a valid callback in
/usr/share/horde-beta/lib/core.php on line 54
[Tue Oct 23 17:23:30 2012] [error] [client x.x.x.x] PHP Warning:
set_error_handler() expects the argument
(Horde_ErrorHandler::errorHandler) to be a valid callback in
/usr/share/horde-beta/lib/core.php on line 57
[Tue Oct 23 17:23:30 2012] [error] [client x.x.x.x] PHP Deprecated:
Assigning the return value of new by reference is deprecated in
/usr/share/php/PEAR/Config.php on line 650
[Tue Oct 23 17:23:30 2012] [error] [client x.x.x.x] PHP Deprecated:
Assigning the return value of new by reference is deprecated in
/usr/share/php/PEAR/Config.php on line 697
[Tue Oct 23 17:23:30 2012] [error] [client x.x.x.x] PHP Deprecated:
Assigning the return value of new by reference is deprecated in
/usr/share/php/PEAR/Config.php on line 757
[Tue Oct 23 17:23:30 2012] [error] [client x.x.x.x] PHP Deprecated:
Assigning the return value of new by reference is deprecated in
/usr/share/php/PEAR/Config.php on line 786
[Tue Oct 23 17:23:30 2012] [error] [client x.x.x.x] PHP Deprecated:
Assigning the return value of new by reference is deprecated in
/usr/share/php/PEAR/Config.php on line 914
[Tue Oct 23 17:23:30 2012] [error] [client x.x.x.x] PHP Deprecated:
Assigning the return value of new by reference is deprecated in
/usr/share/php/PEAR/Config.php on line 1577
[Tue Oct 23 17:23:30 2012] [error] [client x.x.x.x] PHP Deprecated:
Assigning the return value of new by reference is deprecated in
/usr/share/php/PEAR/Config.php on line 1607
[Tue Oct 23 17:23:30 2012] [error] [client x.x.x.x] PHP Deprecated:
Assigning the return value of new by reference is deprecated in
/usr/share/php/PEAR/Config.php on line 2038
[Tue Oct 23 17:23:30 2012] [error] [client x.x.x.x] PHP Deprecated:
Assigning the return value of new by reference is deprecated in
/usr/share/php/PEAR/Config.php on line 2091
[Tue Oct 23 17:23:30 2012] [error] [client x.x.x.x] PHP Deprecated:
Assigning the return value of new by reference is deprecated in
/usr/share/php/PEAR/Registry.php on line 322
[Tue Oct 23 17:23:30 2012] [error] [client x.x.x.x] PHP Deprecated:
Assigning the return value of new by reference is deprecated in
/usr/share/php/PEAR/Registry.php on line 1450
[Tue Oct 23 17:23:30 2012] [error] [client x.x.x.x] PHP Deprecated:
Assigning the return value of new by reference is deprecated in
/usr/share/php/PEAR/Registry.php on line 1458
[Tue Oct 23 17:23:30 2012] [error] [client x.x.x.x] PHP Fatal error:
Call to a member function addScriptFile() on a non-object in
/usr/share/horde-beta/admin/config/index.php on line 352

I know it's my fault, but what did I do wrong?

Here's a summary of what I did:


mv /usr/share/horde-beta/ /usr/share/horde-screwup/
mkdir /usr/share/horde-beta
pear config-create /usr/share/horde-beta /usr/share/horde-beta/pear.conf
pear -c /usr/share/horde-beta/pear.conf install pear
/usr/share/horde-beta/pear/pear -c /usr/share/horde-beta/pear.conf
channel-discover pear.horde.org
/usr/share/horde-beta/pear/pear -c /usr/share/horde-beta/pear.conf
install horde/horde_role
/usr/share/horde-beta/pear/pear -c /usr/share/horde-beta/pear.conf
run-scripts horde/horde_role
/usr/share/horde-beta/pear/pear -c /usr/share/horde-beta/pear.conf -d
preferred_state=beta install horde/horde
/usr/share/horde-beta/pear/pear -c /usr/share/horde-beta/pear.conf -d
preferred_state=beta install horde/imp
/usr/share/horde-beta/pear/pear -c /usr/share/horde-beta/pear.conf -d
preferred_state=beta install horde/turba
/usr/share/horde-beta/pear/pear -c /usr/share/horde-beta/pear.conf -d
preferred_state=beta install horde/kronolith
/usr/share/horde-beta/pear/pear -c /usr/share/horde-beta/pear.conf -d
preferred_state=beta install horde/mnemo
/usr/share/horde-beta/pear/pear -c /usr/share/horde-beta/pear.conf -d
preferred_state=beta install horde/nag
/usr/share/horde-beta/pear/pear -c /usr/share/horde-beta/pear.conf -d
preferred_state=beta install horde/ingo
cd /usr/share/horde
cp config/conf.php.dist config/conf.php
/usr/share/horde-beta/pear/pear -c /usr/share/horde-beta/pear.conf install DB
/etc/init.d/apache2 restart
cp ../horde4/.htaccess .


I already have a separate db for H5, but thus far I can't  actually
get to the config console to complete the set-up.  File permissions
all look okay - readable by the webserver (www-data) but owned by
root.

A clue-stick would be appreciated.

Cheers

Simon


More information about the horde mailing list