I recently installed Drupal on godaddy, my web hosting provider. All looks well and I can edit everything just fine when I go to my URL "http://unrealconceptions.com/." I even figured out how to use the clean urls by uncommenting that line "RewriteBase /" in the .htaccess file.

However, I do not want to edit over the internet and would much prefer to do this locally. So here is what I did.

1) Used Fetch for the Mac and transferred all of the files from my host server to my local sites folder.

I noticed right away that the files for the most recent version of Drupal downloaded from drupal.org are different than the files taken from my /unrealconceptions that godaddy installed. The most obvious example of this was that the install.php was missing.

2) Opened MAMP again and reconfigured the main directory to find the folder I was locally placing this on (Admin/Sites/unrealconceptions).

3) went to http://localhost/ like I always did before and noticed it just hanging there, nothing was happening. Eventually, it told me the site was offline (which it isn't)

4) opened the start page in MAMP and the created a database directory called "unrealconceptions."

5) went back into http://localhost/ and still the same thing...

6) took the install.php file from the downloaded Drupal set up I got from Drupal.org and threw it in my local folder. This didn't work either.

7) Punched a pillow and shouted profanities and then replaced all of the files I took from my host with the original files from Drupal.org. This got me to the installation page. However, I could not log in using my admin name and passoword.

Any ideas? I am a newbie at all of this php coding. I have looked through many threads and haven't seen any real answers. Is there something I need to do in the settings.php file? If so wouldn't that screw up the web domain stuff? I don't know....any help here would be much appreciated.

Comments

jordanewert’s picture

OK, in the configuration I used "root" and "root" for the admin name and password. This seemed to work and got me all set up!

bensezio’s picture

Hello people i am facing the same problem after restoring my database with the MySql Admin tool. I do not want to make changes to the site while it is live. After following all the instructions on how to backup and restore the site, i get this error:

Site Offline

hershel’s picture

Browse to the /user page, meaning http://mysite.com/user where "mysite.com" is your URL. Then you can login and put your site back online.

mojito_’s picture

OK I'm a total newbie so this may not be exactly the same problem.

I'm trying to develop a site locally and have just changed computer so want to reinstall my site on there. I've changed from apache2triad to wampserver on the new computer and when I put the Drupal folder into wamp/www I get a message saying the is site offline The mysql error was: Access denied for user 'root'@'localhost' (using password: YES).

Do I need to set up the same database name on both installs? I'm a beginner with My SQL. How do I get the site I'm developing onto my new computer?? I've spent hours trying different combinations, reinstalling, installing the original drupal files. Any (very easy to understand!) help would be much appreciated!

hershel’s picture

You need to adjust sites/settings.php to reflect the new database user, password and database name.

Edit the line that looks like this:

$db_url = 'mysql://username:password@localhost/databasename';

Guru’s picture

Simply go to http://localhost/?q=user/1, and log in.