Hi

Just installed Drupal 5.1 for the first time. When I go to the Welcome page and click "create the first account" I get:

Index of /drupal-5.1

* Parent Directory
* CHANGELOG.txt
* INSTALL.mysql.txt
* INSTALL.pgsql.txt
* INSTALL.txt
* LICENSE.txt
* MAINTAINERS.txt
* UPGRADE.txt
* cron.php
* includes/
* index.php
* install.php
* misc/
* modules/
* profiles/
* robots.txt
* scripts/
* sites/
* themes/
* update.php
* xmlrpc.php

and thus unable to create a new administrator account.

I'm running php 5.2.1, Apache 2.2.4 and MySQL 5.0 on Windows.

Cheers

Graham

Comments

Sree’s picture

in the above page click on 'install.php' u ll further proceed to complete the installation giving the database name etc etc then only u ll be able to create your first account!

-- Sree --
IRC Nick: sreeveturi

ThatPerson’s picture

The poster already said he'd installed Drupal and got the welcome page.

Hmm... this is strange. Have you tried typing the URL manually?

http://example.com/drupal-5.1/index.php?q=user/register

Where "example.com" is your website's domain name or an IP address.

gmseed’s picture

Hi

Thanks for your reply but I can't get it to work?

With my localhost setup I'm using apache2x/php5x/mysql5x and it has worked fine for my own development and Joomla websites but when I use the same setup for Drupal it refuses to load the pages?

Following your suggestion I entered:

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

and managed to reguster administrator, but when I then click on "any" link such as the login button I get:

"http://localhost/drupal/?q=node&destination=node

The requested URL /drupal/ was not found on this server."

or the directory listing in my original post.

Do other people run Drupal on Apache2.2 / PHP 5.2 / MySQL 5 on Windows using localhost?

Cheers

Graham

zarty’s picture

I have the same problem it seems that index.php is not included in links/urls ...
I wonder were this is configured... i just followed the instructions and this happened...
The query sting after index.php is correct but what should we change to view the correct url I dont know
hope someone helps...

MhueD’s picture

Apache 2.0, PHP 5.2, MySQL 5, WinXP...IE7

Had to reinstall everything 5 times to get to 'Welcome screen'...now every link resolves to index page. Several days of my life up in smoke...this is a very buggy environment, but I want to make it work!

Also, is anybody else having trouble with the Drupal website itself...SLOOOOOWWW....especially the tab-gadgets and recent posts...is it just an overworked server?

wzwei28’s picture

wei

Problem: when user click on http://localhost/Drupal/index.php after setting the mysql, then user want to click on create new account...when user click to register 1st admin...the redirection fail to defail .../htdocs or my D:/ROOT(I modified path)...solution is pretty simple.
Solution: Just add a new 'index.php' in the httpd.conf inside D:\Apache\conf folder

Original
-----------
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#

DirectoryIndex index.html index.htm

Modified(solution)
-----------------------
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#

DirectoryIndex index.html index.htm index.php

Then u will be able to link to 'http://localhost/Drupal/?q=user/register' with column to show username and email-address
hope it helps new user in drupal (me too...1st day register/join drupal family)

MhueD’s picture

Yes, thank you!!!!!

The string:

DirectoryIndex index.php index.html index.htm

in the httpd.conf file inside \Apache\conf folder DOES in fact resolve the buggy links in a Drupal install.

You get the medal of honor for newbie advice ! ;o)

j2eeuser’s picture

I had the same problem and resolved by your help.

I am also new to drupal.

Cheers :-)

Regards
Drupal Fan