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? _______________________________________________ List info: http://lists.roundcube.net/dev/
Martin Marques wrote:
[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
You are using too old MDB2 package
On Tue, Mar 10, 2009 at 2:06 PM, Martin Marques martin@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.
Thanks, Till _______________________________________________ List info: http://lists.roundcube.net/dev/
till escribió:
On Tue, Mar 10, 2009 at 2:06 PM, Martin Marques martin@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/
On Tue, Mar 10, 2009 at 2:24 PM, Martin Marques martin@marquesminen.com.ar wrote:
till escribió:
On Tue, Mar 10, 2009 at 2:06 PM, Martin Marques martin@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';
Can you do pear list and let us know which "other" MDB2 version is on your system?
Till _______________________________________________ List info: http://lists.roundcube.net/dev/
till escribió:
On Tue, Mar 10, 2009 at 2:24 PM, Martin Marques
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';
Can you do pear list and let us know which "other" MDB2 version is on your system?
# pear list Installed packages, channel pear.php.net: ========================================= Package Version State Archive_Tar 1.3.2 stable Auth_SASL 1.0.2 stable Console_Getopt 1.2.3 stable DB 1.7.13 stable MDB2 2.4.1 stable MDB2_Driver_mysql 1.4.1 stable MDB2_Driver_pgsql 1.4.1 stable
List info: http://lists.roundcube.net/dev/
Martin Marques wrote:
MDB2_Driver_mysql 1.4.1 stable MDB2_Driver_pgsql 1.4.1 stable
Roundcube require at least 1.5.0a2, when disable_smart_seqname has been added.
On Tue, Mar 10, 2009 at 2:44 PM, A.L.E.C alec@alec.pl wrote:
Martin Marques wrote:
MDB2_Driver_mysql 1.4.1 stable MDB2_Driver_pgsql 1.4.1 stable
Roundcube require at least 1.5.0a2, when disable_smart_seqname has been added.
Hehe.. We need to document the dependencies. ;-(
Btw, for the majority of people who download the tarball this error shouldn't happen since we distribute MDB2 (in program/lib) with it and the order of the include_path suggest that it uses our's before it would get to a copy that is installed on the system.
Till _______________________________________________ List info: http://lists.roundcube.net/dev/
A.L.E.C escribió:
Martin Marques wrote:
[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
You are using too old MDB2 package
Uh?
# pear list | grep MDB2 MDB2 2.4.1 stable MDB2_Driver_mysql 1.4.1 stable MDB2_Driver_pgsql 1.4.1 stable # pear list-upgrades WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update pear.php.net Available Upgrades (stable): ========================================= Channel Package Local Remote Size pear.php.net PEAR 1.7.1 (stable) 1.7.2 (stable) 296kB
There is no newer MDB2 package. _______________________________________________ List info: http://lists.roundcube.net/dev/
till escribió:
On Tue, Mar 10, 2009 at 2:44 PM, A.L.E.C alec@alec.pl wrote:
Martin Marques wrote:
MDB2_Driver_mysql 1.4.1 stable MDB2_Driver_pgsql 1.4.1 stable
Roundcube require at least 1.5.0a2, when disable_smart_seqname has been added.
Hehe.. We need to document the dependencies. ;-(
OK. I'll file a bug report in Fedora as they have this version of RC but provide 1.4.1 of MDB2. _______________________________________________ List info: http://lists.roundcube.net/dev/
Martin Marques escribió:
till escribió:
On Tue, Mar 10, 2009 at 2:44 PM, A.L.E.C alec@alec.pl wrote:
Martin Marques wrote:
MDB2_Driver_mysql 1.4.1 stable MDB2_Driver_pgsql 1.4.1 stable
Roundcube require at least 1.5.0a2, when disable_smart_seqname has been added.
Hehe.. We need to document the dependencies. ;-(
OK. I'll file a bug report in Fedora as they have this version of RC but provide 1.4.1 of MDB2.
FYI:
https://bugzilla.redhat.com/show_bug.cgi?id=489505
List info: http://lists.roundcube.net/dev/