[RCD] problem with MDB2 and pgsql

Martin Marques martin at marquesminen.com.ar
Tue Mar 10 14:24:12 CET 2009


till escribió:
> On Tue, Mar 10, 2009 at 2:06 PM, Martin Marques
> <martin at marquesminen.com.ar> wrote:
>> I installed RC from Fedora 9 and found problems making it work. From
>> apache error log I found this:
>>
>> [Tue Mar 10 10:41:09 2009] [error] [client 192.168.0.5] MDB2 Error: not
>> supported (-6): setOption: [Error message: unknown option
>> disable_smart_seqname]\n
>> [Tue Mar 10 10:41:09 2009] [error] [client 192.168.0.5] PHP Notice:
>> setOption: [Error message: unknown option disable_smart_seqname]\n in
>> /usr/share/roundcubemail/program/include/bugs.inc on line 101
>>
>> Checking the sources I found rcube_mdb2 in line 88:
>>
>>     if ($this->db_provider == 'pgsql') {
>>       $db_options['disable_smart_seqname'] = true;
>>       $db_options['seqname_format'] = '%s';
>>     }
>>
>> Commenting out the first option made it work. Any ideas on why?
> 
> Can you verify two things for me:
> 
> a) Did you fix the error in the MDB2 package which RoundCube
> distributes, or in your "own" (e.g. /usr/local/share/pear or
> /usr/lib/pear ...)?
> b) If not, the order of your include_path.

I didn't fix mdb2. I commented the option so rcube_mdb2.php has this now:

     if ($this->db_provider == 'pgsql') {
       //      $db_options['disable_smart_seqname'] = true;
       $db_options['seqname_format'] = '%s';
_______________________________________________
List info: http://lists.roundcube.net/dev/



More information about the Dev mailing list