I am trying to copy my Joomla 1.7.1 sites to my local environment (Joomlas2Go!). So far the moving to the local environment was not an issue.
But now, I am complely stuck with an "Uncaught exception: PDO Connection Error: SQLSTATE[HY000] " - error.
The original site I am trying to copy locally is hosted on Hostgator.
Template is Crystalline and also tried another site with Template Campher.
I tried several ways to copy the sites to the local environment, to make sure nothing done wrong here. (Using Akeeba Backup, as well as doing everything manually. Export/Import of DB and copy/replace files.) Gabriel from Joomlas2Go was so kind and looked into the matter, but found no solution so far. But he confirmed that the local environment is working and OK.
I get this PDO error after I move the site to my local environment and then try to open the front-page of this local installation. Tried on Win 7 and also Win XP. Same result.
When I only import the DB and keep everything else untouched of my local environment of Joomlas2G (So I keep the all files of the default local installation) - I do see the front page of my site. But of course just a mere display as text, as the right Joomla-Template etc is missing. But I can connect to the imported DB.
When I then replace the folders under root with the files from my original site, I loose the DB connection and get this PDO connection error.
Also played around with the configuration.php file. .htacess files… but can’t get it to work.
Also tried Server2Go. No success.
Any ideas anyone? What do I have to look for, or could test?
Help would be greatly appreciated!
It was all active already:
I switched back to mysql on my server-installation and deactivated the Koowa plugin which is used by ohanah. Exported and Imported everything again into local build:
==> Same error-message on my local enviroment
If I set up a fresh & empty Joomla 1.7.1 install with mysqli it does work in my local build. At least I get to see the frontpage! But I get another strange effect: When I log in to the admin-area I only get a blank white page - but this might be another issue....