[prev in list] [next in list] [prev in thread] [next in thread] 

List:       horde
Subject:    Re: [horde] php error related to missing Save/Undo buttons in
From:       Jan Schneider <jan () horde ! org>
Date:       2010-01-30 18:03:01
Message-ID: 20100130190301.17974d03l7wf4y0w () neo ! wg ! de
[Download RAW message or body]

Zitat von D G Teed <donald.teed@gmail.com>:

> On Sun, Jan 24, 2010 at 12:00 PM, Jan Schneider <jan@horde.org> wrote:
> 
> > Zitat von D G Teed <donald.teed@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.

If this is happening in IMP's preference screen, you should copy IMP's  
prefs.php.dist, not Horde's.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

-- 
Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe@lists.horde.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic