I just migrated my website to my local server.

I am using WAMP.

I can not get it to function.

Attached is a picture that shows you the info I provided for the settings.php file, and in the background is how the page looks.

Maybe I didn't fill out the settings.php properly?

Thanks for any advise.

Juan

a.k.a. Nonnie

CommentFileSizeAuthor
#2 homepageerrors.jpg144.36 KBJohnnyW
db page error.jpg66.04 KBJohnnyW

Comments

dawehner’s picture

Component: mysql database » theme system

No this is a caching issue.

Login once, clear the caches by going to admin/build/themes and it will be fine

JohnnyW’s picture

StatusFileSize
new144.36 KB

I seem to have these errors now coming up, after I cleared the cache.

Basically, all I did was download my files from the live server to my local server to do some more work on the website.

Any suggestions?

Thank you in advance.

Juan

a.k.a. Nonnie

dawehner’s picture

Component: theme system » other

How did you migrated the database?

You might missed some tables.

JohnnyW’s picture

Title: Migrated mysql db to localhost -- >> Solved » Migrated mysql db to localhost
Status: Closed (fixed) » Active

I am still having the problems as the pictures I posted shows :(

I migrated the database as a sql file then imported it into my local server.

And I downloaded all files using Filezilla.

Any other suggestions?

Thank you in advance.

PS on the internet www.420mg.com works perfect, but can't get it to work on localhost to do necessary upgrading and testing.

Nonnie

JohnnyW’s picture

Okay, so far I got the localhost to show the homepage -- BUT -- if I click on ANY LINKS, I get the php default page.

Please explain this if you could.

PS I was able to see my home page because I commented out # $base_url = 'http://www.420mg.com';

Thanks in advance.

Juan

a.k.a. Nonnie

JohnnyW’s picture

Title: Migrated mysql db to localhost » Migrated mysql db to localhost -- >> Solved

Okay, here is the resolution I had for migrating my website from live server to localhost server (WAMP) for development and testing.

First, in your setting.php file in sites/default/settings.php --> comment out with hash-mark # $base_url = 'http://www.yourwebsitename.com'; // NO trailing slash!

THEN, make sure your Apache's rewrite_module is enabled.

Boom, you are back in business :)

Juan

a.k.a. Nonnie

dawehner’s picture

Status: Active » Fixed

so this is fixed

JohnnyW’s picture

Status: Fixed » Closed (fixed)

As the title states, this is "solved".

If I wrote "fixed" it would have had people think that a module has been patched.

Yes, this has been "closed", because it has been solved.

Juan

a.k.a. Nonnie

Status: Active » Closed (fixed)