Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 2 of 5
Internal server error (500) - please help …
 
rbotelho
Jr. Member
 
Total Posts:  5
Joined:  2008-09-14
 
JLHC - 14 September 2008 05:03 PM

It may be due to the server having suPHP enabled. Try changing all files to 644 while all directories to 755.
Also turn off the rewrites.

Done that.

Still gives internal server error....

I just runned the php file to check if the environment is compatible with Magento and I get all items OK. (?)

Any idea?

 
Magento Community Magento Community
Magento Community
Magento Community
 
John.D
Jr. Member
 
Total Posts:  8
Joined:  2008-09-09
 
rbotelho - 14 September 2008 05:03 PM

Ok… Checked server error log:

this is the reason:

Premature end of script headers: /home/lojadoca/public_html/magento/index.php

What may be causing this?

Have you verified the SQL-settings ?

Seems a lot of people are having trouble with Gigahost, have you tried their support? -They might know why magento fails on their servers.

BR
John

 
Magento Community Magento Community
Magento Community
Magento Community
 
rbotelho
Jr. Member
 
Total Posts:  5
Joined:  2008-09-14
 
John.D - 15 September 2008 12:06 AM

rbotelho - 14 September 2008 05:03 PM
Ok… Checked server error log:

this is the reason:

Premature end of script headers: /home/lojadoca/public_html/magento/index.php

What may be causing this?

Have you verified the SQL-settings ?

Seems a lot of people are having trouble with Gigahost, have you tried their support? -They might know why magento fails on their servers.

BR
John

I am not using Gigahost.

I am using SiteGround hosting. I have a CRE b2b and a CRE STD 6.2 running perfectly on this hosting account.

I think this is a Magent issue, because the forum is full of people with different hosting companies reporting the same issues I’m having....

Looks like we have to wait for 1.1.5 :(

 
Magento Community Magento Community
Magento Community
Magento Community
 
alfin
Jr. Member
 
Total Posts:  12
Joined:  2008-11-15
 

megento 1.1.6 : rename the .htaccess anything what u like, such as;

$ mv .htaccess .htaccess-bak

this means skip this file. This work to me and run well

-alfin-

 
Magento Community Magento Community
Magento Community
Magento Community
 
benblee
Jr. Member
 
Total Posts:  13
Joined:  2009-01-15
 

There are a lot of hosts out there that don’t allow permissions of 777 for directories or 666 for files now.  This makes things “Group” writable which is a security risk.  This isn’t a MySQL, htaccess, or anything else issue, it has to do with suphp stuff and is a little unavoidable. 

As mentioned above with a slight adjustment:
Change permissions for your magento directory to 755 and for you index.php file to 644.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Rimmi
Jr. Member
 
Total Posts:  3
Joined:  2009-01-15
 

can any1 throw light on admin permissions..my admin part is giving 500 error…
i am trying it on hostgator. my front end works fine

 
Magento Community Magento Community
Magento Community
Magento Community
 
JLHC
Mentor
 
Avatar
Total Posts:  1287
Joined:  2008-05-09
Tampa, FL
 

@ Rimmi: What is your current file permissions, especially index.php?Does the server you are hosted on has suPHP/suEXEC enabled?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ethan schaefer
Jr. Member
 
Total Posts:  12
Joined:  2009-01-14
 

I’m getting this internal server error as well, which has happened before but changing my permissions is not working this time.

Magento needs to figure this bug out because it seems to happen far too much.

Mine occurred simply after refreshing my cache.  That shouldn’t happen

 
Magento Community Magento Community
Magento Community
Magento Community
 
signor_antonio
Jr. Member
 
Total Posts:  1
Joined:  2009-01-20
 

I’m get this internal server error too
need help

 
Magento Community Magento Community
Magento Community
Magento Community
 
traunkeks
Jr. Member
 
Total Posts:  2
Joined:  2009-05-26
 

this software install sucks. i have never had a problem installing anything

on this for 2 days. install guides suck too

did all the install persimssions to 777 ran magento-check.php

everything is fine

no error logs

just a 500 internal eror

 
Magento Community Magento Community
Magento Community
Magento Community
 
JLHC
Mentor
 
Avatar
Total Posts:  1287
Joined:  2008-05-09
Tampa, FL
 

@traunkeks: This may probably be due to the permission 777. I suggest you to use 644 for files and 755 for directories.

 
Magento Community Magento Community
Magento Community
Magento Community
 
justin00
Jr. Member
 
Total Posts:  28
Joined:  2009-02-20
 
traunkeks - 28 May 2009 07:47 PM

this software install sucks. i have never had a problem installing anything

on this for 2 days. install guides suck too

did all the install persimssions to 777 ran magento-check.php

everything is fine

no error logs

just a 500 internal eror

lol...i should say the magento team needs some more efforts.if a product has too many bugs,nobody would take this risk to use it for commerical activities.in China there are many PHP stores runs perfectly too.I’m looking at mangento just because these php stores in china don’t have templates in English.

But anyways,i think Mangento would have a bright future just like joomla.

Now back the topic.i have a webstore running quite well even if i upgrated to the latest version from the back end.but some days later,i got 500 internal server errors.

In the error logs,there are many errors in the same sentence as follows:

[Tue Aug 18 01:01:00 2009] [error] [client 66.249.65.27] Premature end of script headers: php5.cgi

anyone could tell me what to do with this?many thanks! I can still enter the admininstration back end.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Amagdy
Jr. Member
 
Total Posts:  8
Joined:  2009-01-02
 

Thanks a lot guys this discussion had been very helpful.

I got the error changed the permissions and retried multiple times till it worked.

Thanks

- Abdo

 
Magento Community Magento Community
Magento Community
Magento Community
 
julz
Jr. Member
 
Total Posts:  3
Joined:  2009-09-13
 

Having the same error 500, etc during install. I’m wrestling with the permissions right now. When resetting them, do I have to go thru all the subdirectories to set the files to 644 and the subfolders to 755 as well?

Thanks…

 
Magento Community Magento Community
Magento Community
Magento Community
 
seaskysport
Jr. Member
 
Total Posts:  4
Joined:  2009-10-20
 
benblee - 20 January 2009 06:02 PM

There are a lot of hosts out there that don’t allow permissions of 777 for directories or 666 for files now.  This makes things “Group” writable which is a security risk.  This isn’t a MySQL, htaccess, or anything else issue, it has to do with suphp stuff and is a little unavoidable. 

As mentioned above with a slight adjustment:
Change permissions for your magento directory to 755 and for you index.php file to 644.

755 for directory and 644 for index.php worked perfectly. Thanks!!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 2 of 5