[horde] php error related to missing Save/Undo buttons in options screen

D G Teed donald.teed at gmail.com
Thu Jan 28 17:45:05 UTC 2010


On Sun, Jan 24, 2010 at 12:00 PM, Jan Schneider <jan at horde.org> wrote:

> Zitat von D G Teed <donald.teed at gmail.com>:
>
>
>  There is some problem associated with our horde + imp
>> which causes line 260 in lib/Horde/Prefs/UI.php to fail.
>>
>> That line contains:
>>
>> require $registry->get('templates', 'horde') . '/prefs/' .
>> $_prefs[$pref]['type'] . '.inc';
>>
>> The error shows:
>>
>> [Fri Jan 22 16:08:14 2010] [error] [client 131.x.x.x] PHP Warning:
>>
>> Prefs_UI::require(/usr/local/www/horde/horde-webmail-1.2.3-blue/config/../templates/prefs/.inc)
>> [<a href='function.Prefs-UI-require'>function.Prefs-UI-require</a>]:
>> failed
>> to open stream: No such file or directory in
>> /usr/local/www/horde/horde-webmail-1.2.3-blue/lib/Horde/Prefs/UI.php on
>> line
>> 260, referer: http://webmail.example.com/services/prefs.php?app=imp
>> [Fri Jan 22 16:08:14 2010] [error] [client 131.x.x.x] PHP Fatal error:
>> Prefs_UI::require() [<a href='function.require'>function.require</a>]:
>> Failed opening required
>>
>> '/usr/local/www/horde/horde-webmail-1.2.3-blue/config/../templates/prefs/.inc'
>>
>> (include_path='/usr/local/www/horde/horde-webmail-1.2.3-blue/lib:/usr/local/www/horde/horde-webmail-1.2.3-blue/lib/../pear')
>> in /usr/local/www/horde/horde-webmail-1.2.3-blue/lib/Horde/Prefs/UI.php on
>> line 260, referer: http://webmail.example.com/services/prefs.php?app=imp
>>
>> The options screen for "Mailbox and Folder Display Options" appears, but
>> is
>> missing
>> the Save, Undo and other usual submit buttons.
>>
>> If looks like $_prefs[$pref]['type'] is coming up null.  What is it that
>> would set that up right?
>>
>
> Either a bug or a broken upgrade, unless you messed with the prefs.php
> yourself.
>
>
I'm looking around to check out that possibility.  What prefs.php are you
referring to?
Or alternately, what is the variable which it is looking to see?

I did try moving over horde/config/prefs.php.dist as horde/config/prefs.php
but this did not impact on the Options screen (apache was restarted in case
apc was caching the old one).  That change did mess up the first page I see
after a login, so I reversed the file copy.

--Donald


More information about the horde mailing list