6.0.0-beta1
7/7/25

[#7538] upgrading with a lot of errors (MDB2_Schema Error & register_shutdown_function)
Summary upgrading with a lot of errors (MDB2_Schema Error & register_shutdown_function)
Queue Horde Groupware Webmail Edition
Queue Version 1.2
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester matthias (at) dsx (dot) at
Created 10/22/2008 (6102 days ago)
Due
Updated 12/09/2008 (6054 days ago)
Assigned 11/06/2008 (6087 days ago)
Resolved 12/09/2008 (6054 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/09/2008 10:50:00 PM Jan Schneider Comment #8
Taken from Horde DevelopersHorde Developers
State ⇒ Resolved
Reply to this comment
Fixed for the next release. To workaround these errors, re-create the 
config/prefs.php files from the prefs.php.dist versions.
12/05/2008 06:40:06 PM Jan Schneider Comment #6 Reply to this comment
Notice: Undefined index:  secret_key in
/var/www/MYHOST/htdocs/office/lib/Horde.php on line 359
This is fixed in CVS.
11/13/2008 02:08:42 PM m (dot) bitterlich (at) t-e-m (dot) de Comment #5 Reply to this comment
I got the same errors after upgrading nag separately from the version 
in horde-webmail-edition 1.2 (nag 2.3 -> 2.3.1).



I simply copied all *.php files from the old nag/config dir to the new one.

but there seem to some substantial changes in the prefs file.



Thus I dumped the prefs.php and copied the prefs.php.dist into place.



Voila, now it works and I'm a happy camper.





Matthias Bitterlich

[Show Quoted Text - 90 lines]
11/06/2008 02:29:31 AM Chuck Hagenbuch State ⇒ Assigned
 
10/26/2008 02:28:42 PM matthias (at) dsx (dot) at Comment #4 Reply to this comment
Horde Groupware Webmail Edition  1.1.1
10/26/2008 01:10:52 PM ovidiu (at) mybox (dot) ro Comment #3 Reply to this comment
I have a related error upgrading from 1.1.3 to 1.2:



Loading database module...

Updating database...

[ ERROR! ] Reading the existing table structure failed. Error messages:

MDB2_Schema Error: schema validation error

default value of "alarm_start" is incorrect: "" is not of type "timestamp"



Running post-update scripts...

Done updating Horde Groupware Webmail Edition.



====



After this, the screen of Nag is full of these:



Warning: in_array() [function.in-array]: Wrong datatype for second 
argument in /srv/www/novit.ro/mail/nag/templates/list/task_headers.inc 
on line 33



Warning: in_array() [function.in-array]: Wrong datatype for second 
argument in /srv/www/novit.ro/mail/nag/templates/list/task_headers.inc 
on line 37



Warning: in_array() [function.in-array]: Wrong datatype for second 
argument in /srv/www/novit.ro/mail/nag/templates/list/task_headers.inc 
on line 50



Warning: in_array() [function.in-array]: Wrong datatype for second 
argument in /srv/www/novit.ro/mail/nag/templates/list/task_headers.inc 
on line 54



Warning: in_array() [function.in-array]: Wrong datatype for second 
argument in /srv/www/novit.ro/mail/nag/templates/list/task_headers.inc 
on line 58



Warning: in_array() [function.in-array]: Wrong datatype for second 
argument in 
/srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 29



Warning: in_array() [function.in-array]: Wrong datatype for second 
argument in 
/srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 31



Warning: in_array() [function.in-array]: Wrong datatype for second 
argument in 
/srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 63



Warning: in_array() [function.in-array]: Wrong datatype for second 
argument in 
/srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 67



Warning: in_array() [function.in-array]: Wrong datatype for second 
argument in 
/srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 71



Warning: in_array() [function.in-array]: Wrong datatype for second 
argument in 
/srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 29



Warning: in_array() [function.in-array]: Wrong datatype for second 
argument in 
/srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 31



Warning: in_array() [function.in-array]: Wrong datatype for second 
argument in 
/srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 63



Warning: in_array() [function.in-array]: Wrong datatype for second 
argument in 
/srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 67



Warning: in_array() [function.in-array]: Wrong datatype for second 
argument in 
/srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 71



Warning: in_array() [function.in-array]: Wrong datatype for second 
argument in 
/srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 29


10/24/2008 10:34:42 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
From which version did you upgrade?
10/24/2008 10:17:11 AM Jan Schneider Assigned to Jan Schneider
Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
10/22/2008 01:25:08 PM matthias (at) dsx (dot) at Comment #1
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ upgrading with a lot of errors (MDB2_Schema Error & register_shutdown_function)
Type ⇒ Bug
Priority ⇒ 2. Medium
Reply to this comment
SETUP SCRIPT:

Writing main configuration file

Notice: Undefined index:  secret_key in 
/var/www/MYHOST/htdocs/office/lib/Horde.php on line 359

Notice: Undefined index:  secret_key in 
/var/www/MYHOST/htdocs/office/lib/Horde.php on line 359

Notice: Undefined index:  secret_key in 
/var/www/MYHOST/htdocs/office/lib/Horde.php on line 359

Notice: Undefined index:  secret_key in 
/var/www/MYHOST/htdocs/office/lib/Horde.php on line 359

Notice: Undefined index:  secret_key in 
/var/www/MYHOST/htdocs/office/lib/Horde.php on line 359

Notice: Undefined index:  secret_key in 
/var/www/MYHOST/htdocs/office/lib/Horde.php on line 359

Notice: Undefined index:  secret_key in 
/var/www/MYHOST/htdocs/office/lib/Horde.php on line 359

Notice: Undefined index:  secret_key in 
/var/www/MYHOST/htdocs/office/lib/Horde.php on line 359

Notice: Undefined index:  secret_key in 
/var/www/MYHOST/htdocs/office/lib/Horde.php on line 359

Notice: Undefined index:  secret_key in 
/var/www/MYHOST/htdocs/office/lib/Horde.php on line 359

Loading database module...

Updating database...

[ ERROR! ] Reading the existing table structure failed. Error messages:

MDB2_Schema Error: schema validation error

default value of "visitor_localtime" is incorrect: "" is not of type "time"

Running post-update scripts...



HTML ERRORS:

Warning: register_shutdown_function() 
[function.register-shutdown-function]: Invalid shutdown callback 
'e::_store' passed in 
/var/www/MYHOST/htdocs/office/imp/lib/IMAP/Tree.php on line 220

Fatal error: Call to a member function build() on a non-object in 
/var/www/MYHOST/htdocs/office/imp/lib/Block/tree_folders.php on line 65

Saved Queries