<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>upgrading with a lot of errors (MDB2_Schema Error &amp; register_shutdown_function)</title> 
  <pubDate>Fri, 10 Apr 2026 15:00:33 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7538</link> 
  <atom:link rel="self" type="application/rss+xml" title="upgrading with a lot of errors (MDB2_Schema Error &amp; register_shutdown_function)" href="https://bugs.horde.org/ticket/7538/rss" /> 
  <description>upgrading with a lot of errors (MDB2_Schema Error &amp; register_shutdown_function)</description> 
 
   
   
  <item> 
   <title>SETUP SCRIPT:

Writing main configuration file

Notice: Unde</title> 
   <description>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 &quot;visitor_localtime&quot; is incorrect: &quot;&quot; is not of type &quot;time&quot;

Running post-update scripts...



HTML ERRORS:

Warning: register_shutdown_function() [function.register-shutdown-function]: Invalid shutdown callback &#039;e::_store&#039; 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</description> 
   <pubDate>Wed, 22 Oct 2008 13:25:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7538#t49885</link> 
  </item> 
   
  <item> 
   <title>From which version did you upgrade?</title> 
   <description>From which version did you upgrade?</description> 
   <pubDate>Fri, 24 Oct 2008 22:34:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7538#t49999</link> 
  </item> 
   
  <item> 
   <title>I have a related error upgrading from 1.1.3 to 1.2:



Loadi</title> 
   <description>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 &quot;alarm_start&quot; is incorrect: &quot;&quot; is not of type &quot;timestamp&quot;



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

</description> 
   <pubDate>Sun, 26 Oct 2008 13:10:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7538#t50031</link> 
  </item> 
   
  <item> 
   <title>Horde Groupware Webmail Edition  1.1.1</title> 
   <description>Horde Groupware Webmail Edition  1.1.1</description> 
   <pubDate>Sun, 26 Oct 2008 14:28:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7538#t50033</link> 
  </item> 
   
  <item> 
   <title>I got the same errors after upgrading nag separately from th</title> 
   <description>I got the same errors after upgrading nag separately from the version in horde-webmail-edition 1.2 (nag 2.3 -&gt; 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&#039;m a happy camper.





Matthias Bitterlich







&gt; I have a related error upgrading from 1.1.3 to 1.2:

&gt;

&gt; Loading database module...

&gt; Updating database...

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

&gt; MDB2_Schema Error: schema validation error

&gt; default value of &quot;alarm_start&quot; is incorrect: &quot;&quot; is not of type &quot;timestamp&quot;

&gt;

&gt; Running post-update scripts...

&gt; Done updating Horde Groupware Webmail Edition.

&gt;

&gt; ====

&gt;

&gt; After this, the screen of Nag is full of these:

&gt;

&gt; Warning: in_array() [function.in-array]: Wrong datatype for second 

&gt; argument in 

&gt; /srv/www/novit.ro/mail/nag/templates/list/task_headers.inc on line 33

&gt;

&gt; Warning: in_array() [function.in-array]: Wrong datatype for second 

&gt; argument in 

&gt; /srv/www/novit.ro/mail/nag/templates/list/task_headers.inc on line 37

&gt;

&gt; Warning: in_array() [function.in-array]: Wrong datatype for second 

&gt; argument in 

&gt; /srv/www/novit.ro/mail/nag/templates/list/task_headers.inc on line 50

&gt;

&gt; Warning: in_array() [function.in-array]: Wrong datatype for second 

&gt; argument in 

&gt; /srv/www/novit.ro/mail/nag/templates/list/task_headers.inc on line 54

&gt;

&gt; Warning: in_array() [function.in-array]: Wrong datatype for second 

&gt; argument in 

&gt; /srv/www/novit.ro/mail/nag/templates/list/task_headers.inc on line 58

&gt;

&gt; Warning: in_array() [function.in-array]: Wrong datatype for second 

&gt; argument in 

&gt; /srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 

&gt; 29

&gt;

&gt; Warning: in_array() [function.in-array]: Wrong datatype for second 

&gt; argument in 

&gt; /srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 

&gt; 31

&gt;

&gt; Warning: in_array() [function.in-array]: Wrong datatype for second 

&gt; argument in 

&gt; /srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 

&gt; 63

&gt;

&gt; Warning: in_array() [function.in-array]: Wrong datatype for second 

&gt; argument in 

&gt; /srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 

&gt; 67

&gt;

&gt; Warning: in_array() [function.in-array]: Wrong datatype for second 

&gt; argument in 

&gt; /srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 

&gt; 71

&gt;

&gt; Warning: in_array() [function.in-array]: Wrong datatype for second 

&gt; argument in 

&gt; /srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 

&gt; 29

&gt;

&gt; Warning: in_array() [function.in-array]: Wrong datatype for second 

&gt; argument in 

&gt; /srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 

&gt; 31

&gt;

&gt; Warning: in_array() [function.in-array]: Wrong datatype for second 

&gt; argument in 

&gt; /srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 

&gt; 63

&gt;

&gt; Warning: in_array() [function.in-array]: Wrong datatype for second 

&gt; argument in 

&gt; /srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 

&gt; 67

&gt;

&gt; Warning: in_array() [function.in-array]: Wrong datatype for second 

&gt; argument in 

&gt; /srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 

&gt; 71

&gt;

&gt; Warning: in_array() [function.in-array]: Wrong datatype for second 

&gt; argument in 

&gt; /srv/www/novit.ro/mail/nag/templates/list/task_summaries.inc on line 

&gt; 29

&gt;

</description> 
   <pubDate>Thu, 13 Nov 2008 14:08:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7538#t50726</link> 
  </item> 
   
  <item> 
   <title>&gt; Notice: Undefined index:  secret_key in 

&gt; /var/www/MYHOS</title> 
   <description>&gt; Notice: Undefined index:  secret_key in 

&gt; /var/www/MYHOST/htdocs/office/lib/Horde.php on line 359



This is fixed in CVS.</description> 
   <pubDate>Fri, 05 Dec 2008 18:40:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7538#t51091</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/groupware/docs/groupware/CHANGES?r1=1.34&amp;r2=1.35&amp;ty=u
http://cvs.horde.org/diff.php/groupware/docs/webmail/CHANGES?r1=1.31&amp;r2=1.32&amp;ty=u
http://cvs.horde.org/co.php/groupware/patches/config/nag-prefs.php_1.1_1.2.php?r=1.1</description> 
   <pubDate>Fri, 05 Dec 2008 23:16:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7538#t51096</link> 
  </item> 
   
  <item> 
   <title>Fixed for the next release. To workaround these errors, re-c</title> 
   <description>Fixed for the next release. To workaround these errors, re-create the config/prefs.php files from the prefs.php.dist versions.</description> 
   <pubDate>Tue, 09 Dec 2008 22:50:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7538#t51173</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
