[horde] Migration from 3.1.3 to 5.x ("MDB2 Error: not found" with 2008-08-29_fix_mdb2_sequences.php)

Jan Schneider jan at horde.org
Wed Mar 27 12:26:01 UTC 2013


Zitat von "Nicolas C." <horde at nryc.fr>:

> Le 27/02/2013 18:01, Jan Schneider a écrit :
>>
>> Zitat von "Nicolas C." <horde at nryc.fr>:
>>
>>> Le 27/02/2013 12:02, Nicolas C. a écrit :
>>>> Hello,
>>>>
>>>> I'm using Horde 3.1.3 with Imp, Turba, Kronolith and Ingo and I'm
>>>> planning to upgrade to 5.x, this is what I had in mind :
>>>>
>>>>
>>>> - Install a test version 3.3.13 (just the framework)
>>>> - Import the 3.1.3 database in the 3.3.13 installation
>>>> - Apply patchs "3.1_to_3.2.mysql.sql",
>>>> "2008-08-29_fix_mdb2_sequences.php" and "3.3_to_3.3.5.sql"
>>>
>>> I have this error when I run "2008-08-29_fix_mdb2_sequences.php" :
>>>
>>> http://lists.horde.org/archives/horde/Week-of-Mon-20101004/039289.html
>>>
>>> "unable to find package 'MDB2_Driver_MDB2_Driver_mysql: ' file
>>> 'MDB2/Driver/MDB2/Driver/mysql: .php'""
>>>
>>> "MDB2_Driver_MDB2_Driver_mysql" instead of "MDB2_Driver_mysql" and
>>> "MDB2/Driver/MDB2/Driver/mysql" instead of "MDB2/Driver/mysql".
>>>
>>> php -d include_path=/var/www/horde3/pear/php
>>> /var/www/horde3/scripts/upgrades/2008-08-29_fix_mdb2_sequences.php
>>>
>>> Result : "Fatal Error:
>>> MDB2 Error: not found"
>>>
>>> The package is there :
>>>
>>> /var/www/horde3/pear/pear -c /var/www/horde3/pear.conf list | grep ^MDB2
>>> MDB2              2.5.0b5 beta
>>> MDB2_Driver_mysql 1.5.0b4 beta
>>> MDB2_Schema       0.8.5   beta
>>>
>>> Regards,
>>>
>>> Nicolas
>>
>> What do you have in your $conf['sql'] setting?
>
> $conf['sql']['persistent'] = false;
> $conf['sql']['username'] = 'horde3';
> $conf['sql']['password'] = 'xxx';
> $conf['sql']['protocol'] = 'unix';
> $conf['sql']['database'] = 'horde3';
> $conf['sql']['charset'] = 'utf-8';
> $conf['sql']['ssl'] = false;
> $conf['sql']['splitread'] = false;
> $conf['sql']['phptype'] = 'mysql';

Sounds like MDB2 is badly broken. Try the latest stable version instead.
-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list