JoomlaPlug!

JoomlaCloner - Backup and Restore Component

OOPS. Your Flash player is missing or outdated.Click here to update your player so you can see this content.
JoomlaCloner - Joomla backup and restore

 
 
JoomlaPlug.com
Welcome, Guest
Please Login or Register.    Lost Password?
Re:DB Connection problem (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:DB Connection problem
#3731
snidfly (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
DB Connection problem 10 Months ago  
Help!!

Until fairly recently, I have been using Roundcube For Joomla with my Joomla 1.0.13 install with no problems. Then one day I started getting the message:

DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.

I have uninstalled the component (and manually deleted the tables out of the DB ), re-installed it (and it re-created the tables) but still get the same result.

Any ideas?
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/01/20 23:57 By snidfly.
  The administrator has disabled public write access.
#3732
admin (Admin)
Admin
Posts: 2439
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:DB Connection problem 10 Months ago  
Hi there! You should look first at the error log file located at components/com_roundcube/logs/error and see there if you have any related messages!Feel free to also attach it here!

Second, the roundcube database details are stored in the components/com_roundcube/config/db.inc.php file and they are based on the Joomla main ones, you should read there a line like this

Code:

$rcmail_config['db_dsnw'] = 'mysql://'.$mosConfig_user.':'.$mosConfig_password.'@ '.$mosConfig_host.'/'.$mosConfig_db;
Let me know if you still have issues! Regards, Ovidiu
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/01/21 00:45 By admin.
  The administrator has disabled public write access.
#3733
snidfly (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:DB Connection problem 10 Months ago  
Hi

All the error log has is:

[20-Jan-2008 14:42:27 +0000] DB Error: DB Error: connect failed in /home/xxxxx/public_html/xxxxx/components/com_roundcube/program/include/rcube_db.inc on line 105

And in the db.inc.php file it does have the line:

$rcmail_config['db_dsnw'] = 'mysql://'.$mosConfig_user.':'.$mosConfig_password.'@'.$mosConfig_host.'/'.$mosConfig_db;
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3734
admin (Admin)
Admin
Posts: 2439
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:DB Connection problem 10 Months ago  
Hmm, it could be a mysql persistent connection issue, try and replace in your components/com_roundcube/config/db.inc.php this line

$rcmail_config['db_persistent'] = TRUE;

with

$rcmail_config['db_persistent'] = FALSE;


and see if it helps! Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3735
snidfly (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:DB Connection problem 10 Months ago  
Thats done the trick

Thanks for the quick response. Much appreciated
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3736
admin (Admin)
Admin
Posts: 2439
graph
User Online Now Click here to see the profile of this user
joomlaplug JoomlaPlug.com
Re:DB Connection problem 10 Months ago  
Glad to hear this

Cheers! Ovidiu
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Search JoomlaPlug.com

Download Joomla

All rights reserved to JoomlaPlug.com ©2006-2008!
Site powered by Joomla!