Unable to connect... repeating 14 Years, 3 Months ago
|
Karma: 0
|
I have create a master and fresh slaves sites.
master
> site 1
>site1a
>site1b
I have installed jomsocial, kunena.
Share Jomla user
All is good.
I have made my website and launch it. But i have now lot of reapeating problem with the database with this :
"Database Error: Unable to connect to the database:Could not connect to MySQL"
If i refresh the navigator, the site is ok.
How can i correct it ?
|
|
ludo54
Fresh Boarder
Posts: 10
|
|
|
Re: Unable to connect... repeating 14 Years, 3 Months ago
|
Karma: 54
|
Perhaps your hostig provider has a very low limit in the number of DB connection autorized and that you reach this limit that might be ok at another moment.
JMS Multisites does not work with the DB except during the replication of the DB.
So when this happen in front-end or normal use of the website, JMS Multisites does not do anything.
If you have create a slave site in a specific directory and used Symbolic Link to deploy this website then only Joomla is called to retreive the configuration.php file in which the DB connection parameters are present.
Can you give more information on the slave site configuration.
Do you use domain or subdomain or just subdirectory for the site domain ?
Do you have deployed the slave site into a specific directory and do you use Symbolic Links ?
|
|
|
|
|
Re: Unable to connect... repeating 14 Years, 3 Months ago
|
Karma: 0
|
THis is my configuration :
I m using : http://{site_url}/multisites/{site_id}
and i have the name of subdomain that i have create in mycpanel
(i have not indicate the exact link)
Do you have deployed the slave site into a specific directory and do you use Symbolic Links ?
I have create a model : http://{site_url}/multisites/{site_id}
images : copy
templates : copy
htaccess : copy
robot : copy
the rest was in symbolic link
For Sharing : joomla users & jomsocial users
|
|
ludo54
Fresh Boarder
Posts: 10
|
|
|
Re:Unable to connect... repeating 14 Years, 3 Months ago
|
Karma: 0
|
This problème exist also before i open it to my membre. Any idea ?
|
|
ludo54
Fresh Boarder
Posts: 10
|
|
|
Re:Unable to connect... repeating 14 Years, 3 Months ago
|
Karma: 54
|
FYI, I also speak french - I suspect this is your mother tong.
Did you checked that the Database exists and contain the expected tables (at least joomla tables) ?
Can you provide the full error message.
Is this a message equal to 'Unable to connect to the database:' followed by a MySQL error message.
Please do a copy/paste of the error message to be sure it is identical and allow us perform a search in all the source of Joomla to find this error message.
|
|
|
|
|
Re:Unable to connect... repeating 14 Years, 3 Months ago
|
Karma: 0
|
le site fonctionne très bien aves les fonctions forum (kunena), jomsocial, adsmanager mais
il bug en affichant uniquement :
Database Error: Unable to connect to the database:Could not connect to MySQL
en réactualisant le navigateur cela remarche.
Est ce qu'il n'y a pas un mapping entre les tables avec JMS qui fait que cela bug ?
|
|
ludo54
Fresh Boarder
Posts: 10
|
|
|
|