Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2013 at 12:08 UTC
Updated:
15 Feb 2013 at 17:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pounardWrong 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?
Comment #2
Jooblay.net commentedPowerup 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:)
Comment #3
udy commentedThank 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
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 !
Comment #4
marcingy commentedComment #5
udy commented@marcingy,
Please refrain from changing the status of the bug reports which are not reported by yourself.
Thank you
Udy
Comment #6
alexrayu commentedCould not reproduce. Must be server setup.
Comment #7
udy commentedThe 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.
Comment #8
alexrayu commentedTry accessing
/Projects/portal/devportal?q=user/119/editand see if this works.Comment #9
udy commentedYes 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.
Comment #10
alexrayu commentedIf 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
Comment #11
udy commentedI 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.
Comment #12
udy commentedHi,
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.
Comment #13
alexrayu commented1. Make sure that apache mod_rewrite is enabled, as in the referenced doc:
sudo a2enmod rewrite, thensudo service apache2 restart.2. Visit /etc/apache2 directory. There are is a httpd.conf file. Put in the contents in it:
3. Move all your Drupal code into
/var/www/devportal4. Edit /etc/hosts file, add in it the line:
127.0.0.1 devportal.dev5. Restart apache again.
sudo service apache2 restartNow, your web site should be accessible if you visit in browser http://devportal.dev
Comment #14
stevenpatzNot a bug. Not critical.
Comment #15
marcingy commented@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.
Comment #16
udy commented@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
Comment #17
Tor Arne Thune commented@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 :)
Comment #18
alexrayu commentedBug 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.
Comment #19
Jooblay.net commentedgood work drupal community:)
Comment #20
marcingy commented@udy also please read http://drupal.org/dcoc - your attitude shall say we needs to improved :)
Comment #21
udy commentedlol 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
Comment #22
alexrayu commented@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.
Comment #23
udy commentedIt'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
Comment #24
stevenpatzcheers indeed.
Comment #25
Jooblay.net commentedjust 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:)
Comment #26
udy commentedyou live here :) good for you. I thought guys like you still live with their mother. :D:D:D
Comment #27
marcingy commented@udy you really should consider your tone in this issue, you are not doing yourself any favours in the eyes of the community.
Comment #28
udy commentedlol @marcingy go cry to your mother :D
Comment #29
alexrayu commentedUnbelievable.
Comment #31
udy commentedComment #32
udy commentedComment #33
JhonWCreasy commentedHi all,
I'm having the same issue with Ubuntu. Please fix this. Really urgent.
Thanks in advance.
Comment #34
stevenpatzComment #35
creameEgg commentedHi all,
I face the same issue as well. Please fix this.
Thanks.
Comment #36
greggles