Reputation: 13
I have a new Joomla (2.5) site that has been developed on a different host/server which is working fine. I am trying to get it moved onto my host.
I have been through the normal process, files uploaded via FTP, database exported and imported using PHPmyadmin (I can provide the version of PHPmyadmin it has been exported from is an earlier version if this makes a difference?) Finally the configuration.php
file has been edited to include the correct host, db, user and password information.
When I try to navigate to the website, I get the following error:
500 - JDatabase::getInstance: Could not connect to database
joomla.library: 2 - Could not connect to MySQL.
Though I can navigate to the /administrator page and browser the back end / control panel and pages of the website.
Turning on the debug function, I get the following:
JDatabase::getInstance: Could not connect to database
joomla.library: 2 - Could not connect to MySQL.
Call stack
# Function Location
1 JSite->render() JROOT/index.php:48
2 JDocumentHTML->render() JROOT/includes/application.php:261
3 JDocumentHTML->_renderTemplate() JROOT/libraries/joomla/document /html/html.php:433
4 JDocumentHTML->getBuffer() JROOT/libraries/joomla/document/html/html.php:655
5 JDocumentRendererModules->render() JROOT/libraries/joomla/document /html/html.php:371
6 JDocumentRendererModule->render() JROOT/libraries/joomla/document /html/renderer/modules.php:39
7 JModuleHelper::renderModule() JROOT/libraries/joomla/document/html/renderer /module.php:106
8 include() JROOT/libraries/joomla/application/module/helper.php:175
9 JError::raiseError() JROOT/modules/mod_wpposts/mod_wpposts.php:31
10 JError::raise() JROOT/libraries/joomla/error/error.php:251
I am not a developer, and do not understand any of the above! I have moved / copied another couple of sites without issue, but these were on the same host/server.
Upvotes: 1
Views: 3737
Reputation: 1676
From the error log listed above I would think that your issue is with the module "wpposts".
Try to unpublish that module from the site. You probably forgot to move the Wordpress database and now the module that is supposed to display "latest posts" or similar is failing and bringing down the site.
Upvotes: 1