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.

I put this issue in Drupal forum also but no one knows a solution.

Please fix this issue ASAP.

Thank you

CommentFileSizeAuthor
#9 edit.png94.17 KBudy
#3 Screenshot from 2013-01-23 15:55:05.png453.08 KBudy

Comments

pounard’s picture

Project: Core Library » Drupal core
Version: 7.x-2.x-dev » 7.x-dev
Component: Code » base system
Status: Active » Postponed (maintainer needs more info)

Wrong project tracker.

I think that the error you are experiencing might be due to URL rewriting. Does your Apache reads correctly the .htaccess file, and if you're not using Apache HTTPd, which one are you using?

Jooblay.net’s picture

Powerup drupal:)
Here are a couple checks on running drupal on ubuntu 10.04lts, 11.04 and 12.04lts with the sudo apt-get install lamp-server^ stack. LAMP being linux, apache2, mysql and php5. optionally phpmyadmin but this is really not secure and not advisable to run phpmyadmin on live production sites due to the simple fact that your database is available @ example.com/phpmyadmin. With that said here is a couple major checks to make sure you have:
1. sudo a2enmod rewrite (THIS IS VITAL FOR CLEAN URLS TO FUNCTION AND OR THIS COULD BE YOUR ISSUE. ENABLE THIS)
2. sudo apt-get install lamp-server^ (this gets your the lamp stack. but make sure you click the space bar for the (*) star on apache2)
3. sudo apt-get install phpmyadmin (optional if you do install set the default database.)
4. sudo apt-get install php5-curl
5. sudo nano or gedit /etc/hosts to edit your example.locaL. This will make sure your site is resolving back your your dev site @ /var/www/example.com
6. sudo nano or gedit /etc/php5 and modify your php.ini file so that you have at least 128MB on memory limit and or more. You also may have an issue with extensions and you need to make sure your php.ini file is configured correctly.
7. Permission on ubuntu server are a little tricky so take your time on this. use sudo chmod to set these correct when you go live if on a ubuntu system.

ok hope that helps...

also this really is not a critical issue due to the fact that this is just a configuration issue on your end. Another check is your actual core files. Try re-installing core and make sure and dump all the tables out of your database and then re-sync your site and database:)

udy’s picture

Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new453.08 KB

Thank you for your reply.

I have done all steps up to 4. Your 5th and 6th steps are not clear.
5. My current host.conf file looks like follows. There is nothing like you have mentioned in here

# The "order" line is only used by old versions of the C library.
order hosts,bind
multi on

6. Where is my php.ini file I should modify this? Please specify

Other than that, I'm pretty sure that I have configured everything correctly because my Drupal home page and all it menus appears fine.
Here I attach a screen shot of the homepage for you to clarify. Other than this home page, nothing works !

marcingy’s picture

Category: bug » support
Priority: Critical » Normal
udy’s picture

Category: support » bug
Priority: Normal » Critical

@marcingy,

Please refrain from changing the status of the bug reports which are not reported by yourself.

Thank you
Udy

alexrayu’s picture

Could not reproduce. Must be server setup.

udy’s picture

The server start-up fine. I can access the home page. All the css and javascript files are applied in home page. So the configured paths should be correct.
I'm running Drupal on Ubuntu 12.04.1 LTS.

alexrayu’s picture

Try accessing /Projects/portal/devportal?q=user/119/edit and see if this works.

udy’s picture

StatusFileSize
new94.17 KB

Yes it works.
Here is what its looks like. But if I click on any tab or menu the page shows not found error.
Here I add a screenshot.

alexrayu’s picture

If it works, then you may know for sure, that it's the apache's mode_rewrite configuration. You are using web site in a folder (/Projects/portal/devportal), so you need to configure a virtual host for it. http://drupal.org/getting-started/clean-urls

udy’s picture

I already went through this post and I configured it as mentioned there. Please advice me on how to configure it correctly. Because the solution in here does not work for Ubuntu.

udy’s picture

Hi,
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.

alexrayu’s picture

1. Make sure that apache mod_rewrite is enabled, as in the referenced doc: sudo a2enmod rewrite, then sudo service apache2 restart.

2. Visit /etc/apache2 directory. There are is a httpd.conf file. Put in the contents in it:

<VirtualHost *:80>
    ServerAdmin me@myserver
    DocumentRoot /var/www/devportal
    ServerName dwell.loc
    ServerAlias devportal.dev *.devportal.dev
    RewriteEngine On
    RewriteOptions inherit
    CustomLog /var/log/apache2/devportal.log combined
</VirtualHost>

3. Move all your Drupal code into /var/www/devportal

4. Edit /etc/hosts file, add in it the line:

127.0.0.1 devportal.dev

5. Restart apache again. sudo service apache2 restart

Now, your web site should be accessible if you visit in browser http://devportal.dev

stevenpatz’s picture

Category: bug » support
Priority: Critical » Normal

Not a bug. Not critical.

marcingy’s picture

Status: Active » Fixed

@udy this is not a bug and even if it was it is not critical in the sense of the drupal project. Any incorrectly tagged issues will be moved to the appropriate queue. Maybe you should learn how the issue queue works before informing others that they can't change queue status. Oh and when something is fixed you could at least change the status. Thanks.

udy’s picture

Category: support » bug
Priority: Normal » Critical

@marcingy,

Who are you to decide that? I'm the one who report the bug so I'm the one who should modify the status.
What you should have done is, If you know a solution/ fix reply with it in here.

Please learn about bug reporting and issue tracking workflow. These are fundamental procedures that you should be aware of if you are involved in a software development project.

Thank you

Tor Arne Thune’s picture

Category: bug » support
Priority: Critical » Normal

@udy: We have some guidelines for using the Drupal core issue queue that marcingy is rightfully trying to "enforce." Please read Issue submission form fields for more information, and especially Priority levels of issues and Tips for making a good issue report - Category for choosing the correct category.

To answer your question to marcingy "Who are you to decide that?". A volunteer that helps out recategorize the issue queue to make it easier for maintainers to focus, etc. You can be one too :)

alexrayu’s picture

Bug is when there is an error in code. When you are asking for help to set up your environment, it's a help request. High levels of priority are reserved for bugs that may threaten functionality and security badly.

Jooblay.net’s picture

good work drupal community:)

marcingy’s picture

@udy also please read http://drupal.org/dcoc - your attitude shall say we needs to improved :)

udy’s picture

lol looks like this @marcingy has created several profiles for himself. Quite old school.
The thing is s/he never bothered to give this a real solution for this. A so called 'volunteer to help'.

My attitude is, if you do not know a solution for a question asked in a forum/ community, mind your own business (if you have any)

cheers,
Udy

alexrayu’s picture

@udy - This is a web site where developers are working udy. No one would seriously want to create multiple accounts and then troll you. There is simple a strict way of classifying workflow to keep things in order, nothing personal.

udy’s picture

It's better if you do something useful for the community or help someone rather than simply nudging others work. It's not professional. If it is not the same guy replied in here over and over again for no reason, seems to me most of the members in community should engage in more useful work. Such as reading books to elderly people.

PS: I do not want to spend time on reply to this thread any more because I have some 'real' work to attend to.

cheers

stevenpatz’s picture

cheers indeed.

Jooblay.net’s picture

just wanted to way in on the negative:

i ran across a "rantor" on ubuntu a couple months ago... and one of the developers put it like this:)

when you come into someones house... you dont start yelling at everyone about how screwed up the furniture is do you?

we live here:) big hug... oh also watch our for the carpet:)

udy’s picture

you live here :) good for you. I thought guys like you still live with their mother. :D:D:D

marcingy’s picture

@udy you really should consider your tone in this issue, you are not doing yourself any favours in the eyes of the community.

udy’s picture

lol @marcingy go cry to your mother :D

alexrayu’s picture

Unbelievable.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

udy’s picture

Status: Closed (fixed) » Closed (won't fix)
udy’s picture

Category: support » bug
JhonWCreasy’s picture

Priority: Normal » Critical

Hi all,

I'm having the same issue with Ubuntu. Please fix this. Really urgent.

Thanks in advance.

stevenpatz’s picture

Category: bug » support
Priority: Critical » Normal
Status: Closed (won't fix) » Closed (fixed)
creameEgg’s picture

Category: support » bug
Priority: Normal » Critical
Status: Closed (fixed) » Active

Hi all,

I face the same issue as well. Please fix this.

Thanks.

greggles’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Closed (fixed)