I checked similar threads but seems like I have what the others were missing. I am truly stuck now.
----------------
I am running
Windows Server
Drupal 4.6.3
PHP 4.X
Got as far as editing settings.php with the actual database location and access plus the url for the main website.
http://www.technobrains.com

settings.php in the default folder runs fine. All I see is a blank screen but Done appears at the bottom of the left hand corner in Internet Explorer.

How do I get the default theme to appear. I did not alter anything at the bottom about the them since it says "You usually don't need to use this feature". If I need to change this line what do I add in respect to the actual theme?

I do have index.htm and default.asp from a previous configured website but no index.php is created when I run settings.php.

Thanks

Comments

webchick’s picture

Settings.php is simply a configuration file.

To me it sounds like you have your $base_url set wrong. Note that it should lead to the place where you have Drupal installed, for example:

http://www.technobrains.com/drupal

banffbears’s picture

Thanks.
The instructions did not state this specifically.
Also, the instructions did not state that an index.php would be created thus I was lost intitially after running the settings.php.

No indication of what/where to continue to access the admin or setting pages.

Thanks for the quick response and I will try this.

Bob

sepeck’s picture

index.php is included with your Drupal download. Under normal circumstances you do not edit it either. You edit settings.php with notepad and then you browse to yoursite.com. If your webserver does not have index.php as an allowed doctype, then you need to set that through your webserver configuration.

You can also try yoursite.com/index.php

-sp
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

heine’s picture

Install.txt Step 5:
[snip]

You can now launch your browser and point it to your Drupal site.
Create an account and login. The first account will automatically become the main administrator account with total control.

--
Tips for posting to the forums

webchick’s picture

Let me preface this by saying that I'm really not trying to pick on you, as this issue comes up all the time, but it'd really help if you could identify where the text was unclear:

The instructions did not state this specifically.

From INSTALL.txt:

   Set $base_url to match the address to your Drupal site:

     $base_url = "http://www.example.com";

From settings.php:

/**
 * Base URL:
 *
 * The URL of your website's main page. 
 */
Also, the instructions did not state that an index.php would be created thus I was lost intitially after running the settings.php.

An index.php is *not* created. It's automatically included in the download. Therefore, it would be erroneous for this to be in the documentation. This sounds to me like you're perhaps used to another script which auto-generates files for you after filling out configuration information? Otherwise, where did you get the impression that settings.php should be executed and that it would create an index.php?

No indication of what/where to continue to access the admin or setting pages.

See step 5 in INSTALL.txt:

   You can now launch your browser and point it to your Drupal site.

   Create an account and login. The first account will automatically
   become the main administrator account with total control.

After loading your browser, there is also an initial blurb on the front page that gives further information on "what to do next."

This is a bit of a "hot button" issue right now, so any input would be appreciated so we can get this cleared up for 4.7. What wording was confusing, and how could it be better phrased so you would understand what it was referring to?

Geary’s picture

Step 5 jumps out at me as being unclear:

You can now launch your browser and point it to your Drupal site.

It should say specifically that the URL to use here is the same that you entered as your $base_url.

banffbears’s picture

Hi:
I get a no input file specified error as I was getting before when I try http://www.technobrains.com/index.php

The settings,php file now has
http://www.technobrains.com/drupal as the url.

I guess the problem is when you say point your web browser to the drupal site. This would be www.technobrains.com as default but the drupal files where installed in www.technobrains.com/drupal

Are you saying www.technbrains.com/drupal would be the new default and I need to enter www.technobrains.com/drupal/ if I want to enter my new website?

Thanks

banffbears’s picture

If I actually go to www.technobrains.com/drupal/index.php I get these errors.
-----------

Warning: main(sites/default/settings.php): failed to open stream: No such file or directory in C:\hshome\banffbea\technobrains.com\drupal\includes\bootstrap.inc on line 642

Warning: main(): Failed opening 'sites/default/settings.php' for inclusion (include_path='c:\soft\php\pear;c:\hshome\banffbea') in C:\hshome\banffbea\technobrains.com\drupal\includes\bootstrap.inc on line 642

Warning: main(includes/database.inc): failed to open stream: No such file or directory in C:\hshome\banffbea\technobrains.com\drupal\includes\bootstrap.inc on line 643

Warning: main(): Failed opening 'includes/database.inc' for inclusion (include_path='c:\soft\php\pear;c:\hshome\banffbea') in C:\hshome\banffbea\technobrains.com\drupal\includes\bootstrap.inc on line 643

Warning: main(includes/session.inc): failed to open stream: No such file or directory in C:\hshome\banffbea\technobrains.com\drupal\includes\bootstrap.inc on line 644

Warning: main(): Failed opening 'includes/session.inc' for inclusion (include_path='c:\soft\php\pear;c:\hshome\banffbea') in C:\hshome\banffbea\technobrains.com\drupal\includes\bootstrap.inc on line 644

Warning: main(includes/module.inc): failed to open stream: No such file or directory in C:\hshome\banffbea\technobrains.com\drupal\includes\bootstrap.inc on line 645

Warning: main(): Failed opening 'includes/module.inc' for inclusion (include_path='c:\soft\php\pear;c:\hshome\banffbea') in C:\hshome\banffbea\technobrains.com\drupal\includes\bootstrap.inc on line 645

Fatal error: Call to undefined function: db_fetch_object() in C:\hshome\banffbea\technobrains.com\drupal\includes\bootstrap.inc on line 199
---------------------

Any ideas?

Thanks

heine’s picture

Please describe how you installed Drupal. Did you use an installer? Where did all the files go etc.

What is Windows Server? Do you use ISS/Apache/Else?

--
Tips for posting to the forums

heine’s picture

First of all, where did you install drupal?

If it is installed in the directory /drupal on www.technobrains.com the $base_url appears correct.
Access the drupalsite however with http://www.technobrains.com/drupal/ [this results in errors however....]

If it's installed in / (that is the documentroot, often www or public_html) of www.technobrains.com) then $base_url should be set to http://www.technobrains.com . The site can be accessed with http://www.technobrains.com/

Your installation appears to be borked. Could you please tell us how you installed drupal? We can do it again step by step if necessary.

--
Tips for posting to the forums

webchick’s picture

Are you saying www.technbrains.com/drupal would be the new default and I need to enter www.technobrains.com/drupal/ if I want to enter my new website?

Either that, or upload all the Drupal files to just wwwroot, not wwwroot/drupal.

banffbears’s picture

The files where copied to technobrains/drupal
I can copy the files to the root instead.

The actual database file as created is OK for now right?

The details of the Windows server is here under Windows Server Professional.
http://www.arendkay.net/

Thanks

Bob

heine’s picture

Couldn't find the webserver anywhere but finally in the support forum a company guy says IIS 6.

Go ahead and copy the files to root. Don't forget to adapt $base_url in settings.php. I hope everything goes ok, but I'm a little worried, because of the earlier errors with the correct URL (/drupal).

Good luck!
--
Tips for posting to the forums

sepeck’s picture

This works for setting up IIS6 to install Drupal successfully from the instructions in the install.txt
http://www.blkmtn.org/index.php?q=node/197

-sp
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

saerdna’s picture

you are not supposed to run settings.php from the browser.

banffbears’s picture

Hi:

Seems like I am still missing something?
When I run index.php, I get the same list of error messages as above. The settings.php file is found but not the associated files referenced in settings.php.

Any ideas?

Bob

heine’s picture

Seems to me bootstrap.inc can't open (or find) settings.php and a lot of other files as well.

Warning: main(sites/default/settings.php): failed to open stream: No such file or directory in C:\hshome\banffbea\technobrains.com\includes\bootstrap.inc on line 642

In what directory (entire path) is settings.php located? And where does module.inc reside?

--
Tips for posting to the forums

banffbears’s picture

I did not change any file locations within the compressed file that I downloaded from drupal.org originally.

http://www.technobrains.com/sites/default/settings.php

http://www.technobrains.com/includes/bootstrap.inc

http://www.technobrains.com/includes/module.inc

etc. . .

Any ideas?

banffbears’s picture

Thanks for all the help.
I found www.joomla.org so much easier in the end.
Similar setup gut far more staraight forward.
Did not have to read any TXT files to get up and running.

Bob