[turba] Options don't work

Jan Schneider jan@horde.org
Wed, 22 May 2002 19:19:01 +0200


Zitat von {Darkavich} Steven Misrack <steve@yourservice.com>:

> I am running the following:
> 
> Horde 2.0
> Imp 3.1-RC3
> Turba 1.1-RC1
> 
> I am able to access all features of Turba except the options page.
> 
> When I click on options I get the following in my error log file:
> 
> [Sat May 18 00:13:33 2002] [error] PHP Warning:  Use of undefined
> constant 
> NO_ACTION - assumed 'NO_ACTION' in /horde/turba-1.1/prefs.php on line 46
> /horde/turba-1.1/prefs.php(46) : Warning - Use of undefined constant 
> NO_ACTION - assumed 'NO_ACTION'
> 
> [Sat May 18 00:13:33 2002] [error] PHP Warning:  Use of undefined
> constant 
> UPDATE_PREFS - assumed 'UPDATE_PREFS' in
> /htdocs/horde/turba-1.1/prefs.php 
> on line 49 /horde/turba-1.1/prefs.php(49) : Warning - Use of undefined 
> constant UPDATE_PREFS - assumed 'UPDATE_PREFS'
> 
> [Sat May 18 00:13:33 2002] [error] PHP Fatal error:  Undefined class name
> 
> 'prefsui' in /horde/templates/prefs/overview.inc on line 24 
> /horde/templates/prefs/overview.inc(24) : Fatal error - Undefined class 
> name 'prefsui'
> 
> I have also noticed that it defaults to the standard theme, rather than
> my 
> saved one.
> 
> I noticed in /horde/lib/Horde.php there is a HORD_UPDATE_PREFS, but no 
> UPDATE_PREFS.  I added that definition, but do not know what to do to 
> eliminate the 1st and 3rd error.

I just reviewed this and it's pretty clear that you don't run Horde 2.0 but
Horde from cvs (HEAD). UPDATE_PREFS and NO_ACTION is in 2.0's Horde.php and
the PrefsUI class was added after the 2.0 release.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft