[#7439] Upgrade from 1.1.3 to 1.2
Summary Upgrade from 1.1.3 to 1.2
Queue Horde Groupware Webmail Edition
Queue Version 1.2
Type Bug
State Resolved
Priority 1. Low
Owners Jan Schneider <jan (at) horde (dot) org>
Requester samuel (dot) wolf (at) wolf-maschinenbau (dot) de
Created 10/06/2008 (271 days ago)
Due
Updated 12/05/2008 (211 days ago)
Assigned 10/24/2008 (253 days ago)
Resolved 12/05/2008 (211 days ago)
Attachments prefs.php Download
Milestone
Patch No

History
12/05/2008 Jan Schneider Comment #11
Taken from Horde DevelopersHorde Developers
State ⇒ Resolved
Reply to this comment
Fixed for future updates. For those that are affected, it's indeed the 
easiest to simply re-create the prefs.php file from the .dist versions.
12/05/2008 CVS Commit Comment #10 Reply to this comment
10/25/2008 samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #9 Reply to this comment
I get the same failure after the upgrade. I solved the problem by 
replace the file imp/config/prefs.php from the original source 
ftp://ftp.horde.org/pub/horde-webmail/horde-webmail-1.2.tar.gz .
Still a good idea, works fine!
10/24/2008 Jan Schneider Assigned to Horde DevelopersHorde Developers
Assigned to Jan Schneider
State ⇒ Assigned
 
10/21/2008 chuck (at) jatima (dot) de Comment #8 Reply to this comment
I get the same failure after the upgrade. I solved the problem by 
replace the file imp/config/prefs.php from the original source 
ftp://ftp.horde.org/pub/horde-webmail/horde-webmail-1.2.tar.gz .

10/11/2008 samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #7 Reply to this comment

[Hide Quoted Text]
I have the same problem with these options after updating (without 
errors) to horde-webmail-1.2:
Global Options -> Display Options
Options for Address Book  -> Display
Options for Calendar -> Free/Busy Information
Options for Mail  -> Mailbox and Folder Display Options
Options for Mail -> Search Options
Options for Mail  -> Address Books
It seems as if the file /lib/Horde/Prefs/UI.php does not get the 
type... My temporary solution was to edit the prefs.phps and remove 
the concerning members.
I get two errors:
Horde -> Options -> Webmail -> Search and Addressbook

Search Options

Warning: 
Prefs_UI::require(/var/www/https/horde/config/../imp/templates/prefs/defaultsearchselect.inc) [function.Prefs-UI-require]: failed to open stream: No such file or directory in /var/www/https/horde/lib/Horde/Prefs/UI.php on line 
256

Fatal error: Prefs_UI::require() [function.require]: Failed opening 
required 
'/var/www/https/horde/config/../imp/templates/prefs/defaultsearchselect.inc' 
(include_path='/var/www/https/horde/lib:/var/www/https/horde/lib/../pear') in 
/var/www/https/horde/lib/Horde/Prefs/UI.php on line 256

AND

Adressbücher

Warning: 
Prefs_UI::require(/var/www/https/horde/config/../templates/prefs/.inc) 
[function.Prefs-UI-require]: failed to open stream: No such file or 
directory in /var/www/https/horde/lib/Horde/Prefs/UI.php on line 260

Fatal error: Prefs_UI::require() [function.require]: Failed opening 
required '/var/www/https/horde/config/../templates/prefs/.inc' 
(include_path='/var/www/https/horde/lib:/var/www/https/horde/lib/../pear') in 
/var/www/https/horde/lib/Horde/Prefs/UI.php on line 260

So I change my /horde/imp/config/prefs.php


//$prefGroups['search'] = array(
//    'column' => _("Other Options"),
//    'label' => _("Search Options"),
//    'desc' => _("Control options relating to messages searching."),
//    'members' => array('defaultsearchselect')
//);

$prefGroups['filters'] = array(
     'column' => _("Other Options"),
     'label' => _("Filters"),
     'desc' => _("Create filtering rules to organize your incoming 
mail, sort it into folders, and delete spam."),
     'url' => 'filterprefs.php'
);

//$prefGroups['addressbooks'] = array(
//    'column' => _("Other Options"),
//    'label' => _("Address Books"),
//    'desc' => _("Select address book sources for adding and 
searching for addresses."),
//   'members' => array('auto_expand', 'save_recipients', 
'display_contact', 'sourceselect')
//);

So whats going wronge there?
Won't install new, I need the Users files with all the addressbooks 
and options.
10/08/2008 lslawski (at) physnet (dot) uni-hamburg (dot) de Comment #6 Reply to this comment
I have the same problem with these options after updating (without 
errors) to horde-webmail-1.2:
Global Options -> Display Options
Options for Address Book  -> Display
Options for Calendar -> Free/Busy Information
Options for Mail  -> Mailbox and Folder Display Options
Options for Mail -> Search Options
Options for Mail  -> Address Books
It seems as if the file /lib/Horde/Prefs/UI.php does not get the 
type... My temporary solution was to edit the prefs.phps and remove 
the concerning members.

10/07/2008 samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #5 Reply to this comment
Try adding
$prefGroups['addressbooks']['members']['auto_expand'],
to the first unset() call of the configuration changes added for version 1.1.
Its the same!
unset($prefGroups['addressbooks']['members']['auto_expand'],
       $prefGroups['identities']['members']['mail_hdr'],
       $prefGroups['compose']['members']['num_words'],
       $prefGroups['newmail']['members']['nav_audio'],
       $prefGroups['display']['members']['show_legend'],
       $_prefs['preview_maxlen']['enums'][-1],
//      $_prefs['show_legend'],
//      $_prefs['defaultsearchselect'],
       $_prefs['default_search'],
       $_prefs['auto_expand']);


Warning: 
Prefs_UI::require(/var/www/https/horde/config/../templates/prefs/.inc) 
[function.Prefs-UI-require]: failed to open stream: No such file or 
directory in /var/www/https/horde/lib/Horde/Prefs/UI.php on line 260

Fatal error: Prefs_UI::require() [function.require]: Failed opening 
required '/var/www/https/horde/config/../templates/prefs/.inc' 
(include_path='/var/www/https/horde/lib:/var/www/https/horde/lib/../pear') in 
/var/www/https/horde/lib/Horde/Prefs/UI.php on line 260
10/07/2008 Jan Schneider Comment #4 Reply to this comment
Try adding
$prefGroups['addressbooks']['members']['auto_expand'],
to the first unset() call of the configuration changes added for version 1.1.
10/07/2008 samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #3
New Attachment: prefs.php Download
Reply to this comment
Did the upgrade script succeed without any errors? How does the 
generated imp/config/prefs.php file look like?
The update script show some notes, but no errors. Sorry I forgotten to 
save this informations.
I uploade me prefs.php as attachment
10/07/2008 Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Did the upgrade script succeed without any errors? How does the 
generated imp/config/prefs.php file look like?
10/06/2008 samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #1
Patch ⇒
Milestone ⇒
Summary ⇒ Upgrade from 1.1.3 to 1.2
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Queue ⇒ Horde Groupware Webmail Edition
Reply to this comment
I make an upgrade to 1.2 final.
IMP -> Options -> Webmail -> Adressbook
I get following error:
Warning: 
Prefs_UI::require(/var/www/https/horde/config/../templates/prefs/.inc) 
[function.Prefs-UI-require]: failed to open stream: No such file or 
directory in /var/www/https/horde/lib/Horde/Prefs/UI.php on line 260

Fatal error: Prefs_UI::require() [function.require]: Failed opening 
required '/var/www/https/horde/config/../templates/prefs/.inc' 
(include_path='/var/www/https/horde/lib:/var/www/https/horde/lib/../pear') in 
/var/www/https/horde/lib/Horde/Prefs/UI.php on line 260