Author Topic: problem getting the roundcube to work  (Read 3204 times)

Offline said76

  • Newbie
  • *
  • Posts: 1
problem getting the roundcube to work
« on: October 18, 2011, 10:47:21 PM »
Hi,

I was wondering if I could get some help here with installing roundcube onto ubuntu server 10.04. I have got MySQL and PHP installed, and they are up and running.

So what I did was I created a database for roundcube using phpmyadmin because it's easy to do it this way, and I called it testroundcube. I then run the following commands to install roundcube:

sudo apt-get install roundcube roundcube-mysql
sudo gedit /etc/roundcube/apache.conf

then, uncomment the lines starting by "Alias", then save. And re-start the Apache2

sudo /etc/init/d/apache2 restart

Next, make changes in the file called iniset.php to add the line

$include_path.= '/usr/share/php' . PATH_SEPARATOR;

after line 46: $include_path.= INSTALL_PATH . 'program/include' . PATH_SEPARATOR;

then, save and go to http://localhost/roundcube

I got error as follows

DATABASE ERROR: CONNECTION FAILED!

Unable to connect to the database!
Please contact your server-administrator.

I then checked the error in the log, and the errors are
[19-Oct-2011 12:43:22] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/php/MDB2.php on line 393
[19-Oct-2011 12:43:22] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /usr/share/php/MDB2.php on line 2647
[19-Oct-2011 12:43:22] MDB2 Error: not found (-4): no RDBMS driver specified
[19-Oct-2011 12:43:22 +1100]: MDB2 Error: no RDBMS driver specified in /usr/share/roundcube/program/include/rcube_mdb2.php on line 100 (GET /roundcube/)

One thing I could not figure out how to do is to go to "url to roundcube/installer". I tried "http://localhost/roundcube" or "http://localhost/installer". So I do not know what to do.

Any help would be greatly appreciated.

Thank you

Offline Volnhar

  • Jr. Member
  • **
  • Posts: 39
    • http://www.andrew.stoker.name/wp
problem getting the roundcube to work
« Reply #1 on: October 19, 2011, 01:47:20 AM »
I'm also using Ubuntu Server 10.04.3, and roundcube. I didn't use apt-get to install it though. I just download the latest version of RC and upload the files and run and SQL through phpmyadmin. Not sure what version apt-get would have but it would be old, so a manual install is the best way to go.

You could delete and uninstall what you have done and then go the manual path.