I believe I have the most recent version of Roundcube installed via svn on Apache/2.2.8. Roundcube is Revision 971. I'm using Server version: 5.1.22-rc FreeBSD port: mysql-server-5.1.22
It actually works at the moment, but there's a couple things I can't figure out.
'mdb2'; - I will get a "FAILED TO CONNECT TO DATABASE" message. I do have MDB2 installed. If I change mdb2 to db it will work.
same message with check.php....
Check supplied DB settings DB settings: NOT OK
Why would my DB setting be "NOT OK"? (even when using 'db') and why can't I use mdb2?
Thanks!
Matt
List info: http://lists.roundcube.net/users/
On Jan 30, 2008, at 6:08 AM, Matt Rossiter wrote:
I believe I have the most recent version of Roundcube installed via
svn on Apache/2.2.8. Roundcube is Revision 971. I'm using Server
version: 5.1.22-rc FreeBSD port: mysql-server-5.1.22
It would be good to know what version of PHP you are using.
- If I edit db.inc.php and set $rcmail_config['db_backend'] =
'mdb2'; - I will get a "FAILED TO CONNECT TO DATABASE" message. I
do have MDB2 installed. If I change mdb2 to db it will work.
You may need to have MDB2.php in the "program/lib/" directory, or
modify the php.ini file so RC can find that file where you have it
installed. MDB2.php isn't shipped with RC, however DB.php is, that's
why using the "db" parameter works and "mdb2" doesn't from where I sit.
Charles Dostale System Admin - Silver Oaks Communications http://www.silveroaks.com/ 824 17th Street, Moline IL 61265
List info: http://lists.roundcube.net/users/
I'm using PHP 5.2.5
I tried adding a symbolic link to /usr/local/share/pear/MDB2.php in the program/lib directory but still having the same problem when I change $rcmail_config['db_backend'] to mdb2
// database backend to use (only db or mdb2 are supported) $rcmail_config['db_backend'] = 'db';
Any other suggestions?
Matt
On Wed, 30 Jan 2008 08:15:40 -0600, chasd chasd@silveroaks.com wrote:
On Jan 30, 2008, at 6:08 AM, Matt Rossiter wrote:
I believe I have the most recent version of Roundcube installed via svn on Apache/2.2.8. Roundcube is Revision 971. I'm using Server version: 5.1.22-rc FreeBSD port: mysql-server-5.1.22
It would be good to know what version of PHP you are using.
- If I edit db.inc.php and set $rcmail_config['db_backend'] =
'mdb2'; - I will get a "FAILED TO CONNECT TO DATABASE" message. I do have MDB2 installed. If I change mdb2 to db it will work.
You may need to have MDB2.php in the "program/lib/" directory, or modify the php.ini file so RC can find that file where you have it installed. MDB2.php isn't shipped with RC, however DB.php is, that's why using the "db" parameter works and "mdb2" doesn't from where I sit.
Charles Dostale System Admin - Silver Oaks Communications http://www.silveroaks.com/ 824 17th Street, Moline IL 61265
List info: http://lists.roundcube.net/users/
List info: http://lists.roundcube.net/users/
On Jan 30, 2008, at 11:43 AM, Matt Rossiter wrote:
I'm using PHP 5.2.5
I tried adding a symbolic link to /usr/local/share/pear/MDB2.php in
the program/lib directory but still having the same problem when I change $rcmail_config['db_backend'] to mdb2// database backend to use (only db or mdb2 are supported) $rcmail_config['db_backend'] = 'db';
Any other suggestions?
If you took a look in program/lib you likely saw a "DB" directory
containing the drivers for the "DB.php" file.
If you made a symlink of the MDB2.php file, you'll likely need to do
the same for a "MDB2" directory.
Between this message and the last one, I updated my local SVN
checkout to the same version you are using - 971.
Before 971, the default for db_backend was "db" not "mdb2"
Is there a reason you are attempting to use MDB2 instead of DB ?
Charles Dostale System Admin - Silver Oaks Communications http://www.silveroaks.com/ 824 17th Street, Moline IL 61265
List info: http://lists.roundcube.net/users/
I just read on the dev list that MDB2 files are now bundled with the
1017 SVN version of RC.
The "check.php" script was also updated when I updated my local copy.
For those that had an issue trying to use "mdb2" as a database
backend, and want to use it instead of the "db" backend ( for
whatever reason ), you might want to try a fresh SVN checkout.
I am not advocating using mbd2 over db. I use db for my install
because that was the default when I began using RC, and no other reason.
Charles Dostale System Admin - Silver Oaks Communications http://www.silveroaks.com/ 824 17th Street, Moline IL 61265
List info: http://lists.roundcube.net/users/