Hi,

I just installed drupal on my local machine (mac os 10.4.4). Anyhow: seems to have gone all right ... I get to the first screen that welcomes me to my drupal powered website ... however, when I click on the links to "Create First Account" I am taken to microsoft.com.

In fact, all the local (generated) links ... to my themes, setup, etc ... all take me to microsoft.com.

Is that a joke? I accessed the site from a different computer and browser with the same result.

Damon

Comments

sgwyrdd’s picture

1. Does the "Create First Account" link look like:

http://localhost/?q=user/register

If so, try going to:

http://localhost/index.php?q=user/register

If that produces the correct page, then you probably need to add index.php to DirectoryIndex in the Apache httpd.conf file

2. If you have double slashes within the links, like

http://localhost//?q=admin/themes

you probably need to remove a trailing slash from the $base_url variable in /sites/default/settings.php

see http://drupal.org/node/4672 & http://drupal.org/node/10870 for more info

sodani’s picture

My "create first account" link points to "http://localhost/?q=user/register" but it should be
http://mydomain.com/?q=user/register right?

I've also noticed that the styles aren't working.

I went to those two pages that sgwyrdd recommended, but they haven't helped me.

sodani’s picture

I didn't have the base url set correctly in settings.php.

It seems like that step was left out of the install page:
http://drupal.org/node/25310

sgwyrdd’s picture

Glad you found a solution sodani.

You're quite right, the 'Easy way to install drupal with the cPanel control panel' instructions at http://drupal.org/node/25310 do omit the essential step of defining the base_url.

I used the formatted installation instructions (a version of install.txt) available at http://drupal.org/node/43807, and I hadn't looked at the instructions you were following, so was unaware of the error.

thornomad’s picture

I had http://http:// in the address in the settings.php file.

Doh!

I don't know why it was going to Microsoft.com though ... this is a Firefox browser ... how creepy is that?!

www.damonjustisntfunny.com