Hello all, i am a drupal noob and am battling to move a site from a linux box to my local machine running mamp.
I do not have access to mysql on the server, simply a folder of all the drupal stuff. The folder from the server comes with this structure
FOLDER
-LOG
-WWW
(WWW contains DATABASE, FILES, IMAGES, INCLUDES, ETC)
I did a clean drupal install on my machine, and set up the database on mamp to match the database name and password i can see in the server folder. I then dropped all the standard install tables, and imported the server tables
/Applications/MAMP/Library/bin/mysql --verbose --user=*** --password=*** drupaldbname < /folder/from/server/www/database/drupaldbname.sql
I moved everything from the WWW folder to my htdocs folder. i did the htaccess stuff as well.
Now when I open the version of the web address on my local machine, it works, amazingly, but for one thing. This is where I am stuck.
On the server the links along the top work like this. Let's say there is a link that says "about me". When I click that link, it will switch the drupal page to www.example.com/about
When I click the link on my local machine, it will try to open a page called http://localhost/example.com/node/3, and give me an error that the page does not exist.