[horde] Upgrade Horde 3.1.x to 3.3.x

Michael Rubinsky mrubinsk at horde.org
Fri Oct 8 18:34:21 UTC 2010


Quoting Michael Rhyner <michael.rhyner at medianet.ch>:

> Dear Horde Community,
>
> We have trouble with the update script "2008-08-29_fix_mdb2_sequences.php"
> upgrdading data suiting newly installed versions from:
> horde 3.1.x to 3.3.x
> imp 4.1.x to 4.3.x
> ingo 1.1.2 to 1.2.4
> kronolith 2.1.x to 2.3.x
> mnemo 2.1.1 to 2.3.4
> turba 2.1.x to 2.3.x
>
> First of all, possibly a simple question for someone of you (I'm not
> experienced in OOP ;-(): Is this script only manipulating the database
> scheme or changing some data within the tables, or even some files outside
> the database? So do we have to run this script at all? I'm asking because in
> Horde 3.1 etc. there weren’t tables like turba_shares or kronolith_shares.

Off hand, IIRC, this script was needed to keep the names of the  
sequence tables standard across all apps and libraries, which could be  
using DB or MDB2...so to answer your question, you probably *do* need  
to run this script .

> The problem is, that the script always returns the following result printed
> in red colour:
> ====================
>
> Fatal Error:
> MDB2 Error: not found
>
> ===================
>
> I analyzed the problem a bit and saw that the message came from the
> instantiating of an Object “$db” of the MDB2::factory class. So I inserted a
> var_dump command after the line
> $db = &MDB2::factory($config);
> echo var_dump($db) . "\n";
>
> Within the trace, I found the following line multiple times:
> string(99) "unable to find package 'MDB2_Driver_MDB2_Driver_mysql: ' file
> 'MDB2/Driver/MDB2/Driver/mysql: .php'"

You probably didn't install the mysql adapter for MDB2 from PEAR.

<snip>

> The root cause to stick on running this script is mainly (besides concern
> not being able to do further upgrades) that preference settings like
> Identity Description, From Address, Signatures, etc. weren't visible to
> users after upgrading the databases. All other data like address books,
> calendar entries, et.c were ok as it seems...

I don't recall SQL prefs being affected by the sequence names, but I  
could be wrong...

>
> And, by the way: Is Horde 3.3.8 running/tested on PHP 5.3.x at all? I was
> forced to upgrade today from PHP 5.2.x due to dependencies caused by the
> above mentioned script (2008-08-29_fix_mdb2_sequences.php). It seems that
> many deprecated functions/features are used...

You need to remove E_DEPRECATED notices from your error level. Horde  
3.x must maintain backwards compatibility with PHP4, but the current  
stable code for Horde 3 runs fine under PHP 5.3.x.


Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

"Time just hates me. That's why it made me an adult." - Josh Joplin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
URL: <http://lists.horde.org/archives/horde/attachments/20101008/29c6447d/attachment.bin>


More information about the horde mailing list