Hi all,

I have installed Drupal and opened a site from it.
The home page of the website appear without any problem, but any links on page gives .

Not Found
The requested URL /Projects/portal/devportal/user/119/edit was not found on this server.

I'm using Ubuntu. Even the settings menu is also gives the same error.

Is this a bug with Drupal? Isn't Drupal work on Ubuntu correctly?

Please help

Comments

apache access/error log

Check and share your apache access/error log for more details.

Tushar Bodake

Error log

[Thu Jan 10 12:13:18 2013] [error] [client 127.0.0.1] File does not exist: /var/www/Projects/portal/devportal/admin, referer: https://localhost/Projects/portal/devportal/
[Thu Jan 10 12:13:18 2013] [error] [client 127.0.0.1] File does not exist: /var/www/Projects/portal/devportal/admin, referer: https://localhost/Projects/portal/devportal/
[Thu Jan 10 12:13:18 2013] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Thu Jan 10 12:15:25 2013] [error] [client 127.0.0.1] File does not exist: /var/www/Projects/portal/devportal/admin, referer: https://localhost/Projects/portal/devportal/?q=user
[Thu Jan 10 12:15:25 2013] [error] [client 127.0.0.1] File does not exist: /var/www/Projects/portal/devportal/admin, referer: https://localhost/Projects/portal/devportal/?q=user
[Thu Jan 10 12:15:25 2013] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico

Check whether .htaccess file

Check whether .htaccess file exists or not.

It is there I checked.

It is there I checked.

.

... make sure you got your paths sorted out.
Check where you installed Drupal.
Read up on the installation procedure and where it should be installed.

From the very limited info you posted it is hard to tell what the problem is - other than to say - no, it is not a Drupal bug - it seems you have not installed it in the correct location.
You need to understand the location, relative and absolute path.
You may have to change settings in your settings.php file under Drupal so that Drupal can find the right relative path if you deviated from the recommended location - relative to where your .../www directory is.

-----------
Good luck .....
... more recent results of trying Drupal just once are -
www.native-power.de
Malls and More

Correct location

I'm pretty sure that I have installed correctly.
I can log in using DB loggin details to home page. But when I click on menu items it shows the error.
DB connections and php files are working fine.

I have tried everything in forums and blogs. I still think this is a critical issue in Drupal.

Thank you for your concern.

.

... you have not answered the questions in full ...
Write down the path structure you set-up to see if you are in the correct location with Drupal.
Drupal should be installed directly under /www/....
If you push Drupal further down in your structure you have to tell Drupal its location in settings.php.
Be reassured - the problem is not in Drupal; it is in the set-up.

-----------
Good luck .....
... more recent results of trying Drupal just once are -
www.native-power.de
Malls and More

Home page shows the Styling,

Home page shows the Styling, images and JS files correctly from the location it is stored. So isn't that means that Drupal is accessing the correct location?

.

.... check the path settings - read up and understand about absolute and relative path.
We have all been there - but you need to work it out otherwise you will never understand were it went wrong.
Drupal will see itself along the relative path - but if it needs to refer something coming from the absolute path it may give you an error if the location is wrong ....

-----------
Good luck .....
... more recent results of trying Drupal just once are -
www.native-power.de
Malls and More

absolute and relative path

what is absolute and relative path?
Where can \I configure them?

absolute path is

-----------
Good luck .....
... more recent results of trying Drupal just once are -
www.native-power.de
Malls and More

Clean URLS

The problem may be with clean urls.

Try http://yoursite.com/?q=user

If that works, look at http://drupal.org/getting-started/clean-urls

Also, this is not a "Module Development" question. Please move this issue to "Post-Installation'

Menus giving the same error

Thank you I have already found this solution. But this is not applicable for my case.
For example, If I click on the Configuration from the menu, it still shows Not Found error.

Clean URLs

I don't understand your response. Why is this not applicable? A problem with clean urls would cause all urls other than the home page to fail. You would have to use the ?q= with any path to get results.

Solution

Hey Drupal nooobs,
It was a issue with file permissions. I found solution my self. I changed the permission of /sites/default/ to 666 and settings.php to a+w. So everything seems to be working now.

nobody click here