0
votes

I am new to Drupal and this is my first time using it.

I have a site that uses Drupal running in production environment. I like to copy the production copy over and attempt to make changes to it for testing/learning.

Anyway, to get started I setup a new installation of Drupal 7 on Windows IIS 7.5. After completed the installation and got it to running, I renamed the folder "sites" to "sitesORG".

Then from my production server I took a copy of the "sites" folder and placed it into the new Drupal installation on my local machine.

Now my local machine has the folder called "sites" and inside of it I see the following 3 folders" 1) All 2) Default 3) myProject

From my production box, I took mysql dump and restored it in a new database called "abc" on my localhost

I opened the setting file in "myProject" folder and change the databases connection to a databases on the local machine and changed the database name to "abc"

Then I go through and update my script using http://localhost/acquia-drupal7/

Now, when I got to the very first page, I don't get any colors/pictures. I get a white page with text. It looks like the css files/images are not being rendered correctly.

On the same page there is a link titled "Click Here To login" when I click it I got to the following URL http://localhost/user instead of "http://localhost/acquia-drupal7/user"

There is something that is not being mapped correctly. What could be causing my issues? How can I get the css/images file and the URL to be corrected?

1

1 Answers

0
votes

First of all, in your settings.php file, you need to uncomment and update the $base_url variable with the following value: "http://localhost/acquia-drupal7".

Then, depending if your windows setup allows you to use .htaccess or not, you would need to uncomment the RewriteBase /drupal and change the value to RewriteBase /acquia-drupal7. If you are using standard IIS configurations, you would need to apply the same logic.