Roundcube Community Forum

 

SVN installation under CPanel based hosting ??

Started by Choto Cheeta, December 23, 2007, 12:59:02 PM

Previous topic - Next topic

Choto Cheeta

Hello,

I want to install the SVN release under a CPanel based hosting.. I have previouslly installed the SVN under DreamHost with out any issue... However recently I have got another hosting account (Reseller) from a place which provides CPanel / WHM...

I want to install the RoundCube SVN under one domain, hosting panel is CPanel..

I uploaded all files under mail directory at the public_html and did the changes at db.in.php and main.inc.php under config dir...

however problem no 1 is when ever I tried to open domain.com/mail, it came up with Error 500...

problem no 2 if I disable the .HTACCESS file (by rename it to some thing else), I get error

QuoteDATABASE ERROR: CONNECTION FAILED!

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

I have double checked all settings at db.inc.php, to me seems ok... but still this error...

Can any one tell me, whether SVN can be installed in a CPanel hosting ??

Thank you...


roger

I had a similar problem installing on a CPanel/WHM host but the only line that mattered - at least for me - was $rcmail_config['db_dsnw'] in db.inc.php. I didn't need to change anything else (apart from removing the '.dist', of course).

I was going to explain exactly what I did but found it had already been covered here:

http://roundcubeforum.net/forum/index.php?topic=2537.0

The important thing is to get the MySQL database and user names correct. On shared hosting these are prefixed with your CPanel login name, e.g. if your login name is 'tom' and you create a database called 'dick' with user 'harry' they'll be called 'tom_dick' and 'tom_harry' respectively.