Hi,

I tried to install Drupal 4.7 but have prolems creating first/admin user account. I can see the index.php page but was unable to create any user account. I am not able to open any other .php pages as well. Any ideas?

Here is my server spec
Windows 2003 server STD
Apache 2.0
PHP 5
MySql 4.1
Drupal 4.7

Thanks in advance for any info/assistance you can provide,
Ryan

Comments

zerok’s picture

Do you get any error message when opening up other php files? Is there someting like the server's error log?

ryanliu5’s picture

Thanks for the reply.

I get the "Access denied" error message when opening up the update.php page due to not having the first user/administrator created.

When I click on "Create the first account" which links to (http://localhost/drupal-4.7.2/?q=user/register) on the index.php page, I get a list of all files/folders in my web directory. And the same thing for every other links I click on the index.php page. It seems to me that the param in the URL (?q=user/register or others) doesn't do anything. Is there anyway that I can check if my PHP or MySql is installed properly?

Thank you,

ryanliu5’s picture

Just realized that the default page is not set and that's why the param is not used. Instead of "http://localhost/drupal-4.7.2/?q=user/register", it should be "http://localhost/drupal-4.7.2/index.php/?q=user/register". Now, where I should set the default page so that it will use the index.php page?

Thank you,

RobRoy’s picture

DirectoryIndex index.php

should be in your .htaccess file already, so check your httpd.conf to AllowOverride for your drupal dir.

--
Rob
Founder and Director
Electronic Insight Corporation

Recent Drupal Projects: MP3PIG | MySpace Layouts

ryanliu5’s picture

Thx a lot for the help.

Ryan