I have installed every thing on my system and now set the base url to http://www.example.com/node/83
i hav kept drupal directory and pages in the htdocs of the apache.
Which page should i be acessing in my browser to see my drupal ! !

Comments

Kezz’s picture

You need to reset the base URL to just http://www.site.com
Or http://www.site.com/folder if it's running in a sub-directory.

If you want node/83 as your 'home' page - set it up that way in admin/settings.

The way you have it set up now, Drupal will be sending a path like http://www.site.com/node/83/node/83 - which won't work.

Hope this helps :)

Copenhagen Expozed

suppi’s picture

I am novice devoloper i have installed php,mysql,apache and put the drupal 4.6 download folder into htdocs of apache.

what does base url mean ?
what should be the base url in the settings.php and what url should i type in my
browser to see my drupal.
Please help !

heine’s picture

Time to step back a little. Apparantly you installed drupal on your local system? If you only require access from this local computer, use the hostname localhost.

If you installed drupal in htdocs/drupal-4.6.6 the complete URL for your drupal site will be http://localhost/drupal-4.6.6. Check whether that's the case and set $base_url accordingly:

$base_url = 'http://localhost/drupal-4.6.6';

--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.

suppi’s picture

Thanx a lot
i have some more queries to ask

1. i am not able to run the command
mysql -u nobody -p drupal < database/database.mysql
its giving an error !
can you help in giving me all the commands to create a database !

heine’s picture

No I can't, because I don't know anything about the situation.

What error? Where do you execute the command?
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.

gt drupaller’s picture

here is the entire procedure

1) go to the the mysql promt mysql> then type the following

2) create database drupal;
3) use drupal;
4) source c:/program files/....
note the above path is to where your drupal installation
directory is, it should look something like this
source c:/program files/drupal/database/database.mysql

Balram

suppi’s picture

I have created the databse drupal in mysql 5.0.19 version
and also the grant all preveliges to
nobody@localhost on drupal.I have kept the drupal dump in the htdocs of apache.
but when i run the command
mysql -u nobody -p drupal < database/database.mysql
i am getting an error saying YOU HAVE ERROR IN YOUR SYNTAX !
please guide me

Thanks in advance !

gt drupaller’s picture

with mysql 5.0.* you dont have to run the command that way

because at first when u start the commandline client it askes u for the password so u dont have to enter it again
try this:
open the commandline client (mysql)
at the prompt mysql> type

use database; where 'database' is the one u install for drupal
source c:/...path to the database...

note the 'source line' above does not end with a colon

Balram

Zen’s picture

Use phpMyAdmin.

-K