500 internal server error only on index page?

Discussion regarding Joomla! Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security and Performance FAQs
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Subota232
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sat Feb 23, 2008 7:27 am

500 internal server error only on index page?

Post by Subota232 » Sat May 31, 2008 11:18 pm

Site has been functioning well for months and then one day out of nowhere (nothing has been changed, neither installed both on our (client-side) and server-side by the hosting company) we get 500 Internal server error on our frontpage.

After couple minutes we found out that all the other pages and section on the joomla are working, except the main page.

We have checked file permissions, htaccess, configuration php and mysql on server and still nothing.

Anyone have any solutions how can we fix this problem? :eek:
Last edited by toivo on Thu Mar 29, 2018 8:14 am, edited 1 time in total.
Reason: mod note: locked topic

User avatar
ircmaxell
Joomla! Ace
Joomla! Ace
Posts: 1926
Joined: Thu Nov 10, 2005 3:10 am
Location: New Jersey, USA
Contact:

Re: 500 internal server error only on index page?

Post by ircmaxell » Sat May 31, 2008 11:57 pm

Contact your host. It's quite possible they changed something...
Anthony Ferrara - Core Team - Development Coordinator - Bug Squad - JSST

http://moovum.com/ - The Bird is in the air! Get Mollom Anti-Spam on your Joomla! website with Moovur...
http://www.joomlaperformance.com For All Your Joomla Performance Needs

Subota232
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Sat Feb 23, 2008 7:27 am

Re: 500 internal server error only on index page?

Post by Subota232 » Sun Jun 01, 2008 12:09 am

The hosting is MediaTemple and they say that they have not changed anything. Joomla is working fine in other directories.

dalkin
Joomla! Apprentice
Joomla! Apprentice
Posts: 20
Joined: Sun Aug 06, 2006 5:04 am

Re: 500 internal server error only on index page?

Post by dalkin » Sun Jun 08, 2008 11:43 am

Hi there,

I've just bug-tracked that problem and it turns out it was permissions on components and admin>components This was only in my case though so good luck with it. Try turning them to 755 - In my case it wouldn't load the administrator/index.php file

designsedge
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Tue Jun 17, 2008 6:26 am

Re: 500 internal server error only on index page?

Post by designsedge » Tue Jun 17, 2008 6:43 am

If you are using the SobiLatest module, make sure of the permissions...I ran into this recently on a development vs. live system.

User avatar
bullettime
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Fri Jun 06, 2008 12:58 pm
Contact:

Re: 500 internal server error only on index page?

Post by bullettime » Tue Jun 24, 2008 7:20 am

I found something on this matter on powweb forums:

So, this error:

The server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log.

is produced by not configured CGI.

Then, first enable CGI, and in PHP.ini add your session path
Edit your php.ini

session path would be: Path to your Web document root (plus cgi-bin/tmp): /home/users/web/XXX/pow.XXXXXXXXXX/htdocs/cgi-bin/tmp

Then, wait until 6PM or 9 Am for the server to refresh.

Then you can proceed with your CMS, or Joomla installation.
"Setting an example is not the main means of influencing others; it is the only means." (Albert Einstein)
My projects about technology news - http://www.foxtech.org and about [SPAM] Arena - http://warcraftarena.net

dannyboy5
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu May 01, 2008 10:51 pm

Re: 500 internal server error only on index page?

Post by dannyboy5 » Tue Jun 24, 2008 9:47 pm

Having the same issue. Can you tell me where php.ini sits please? Sorry, total novice..

Thanks

aldis01
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Sun Apr 05, 2009 8:43 pm

Re: 500 internal server error only on index page?

Post by aldis01 » Thu Apr 09, 2009 8:43 pm

I have exactly the same error, administrator/index.php gives me a 500 internal server error but if I go to index.php?option=com_modules everything is fine but the menu don't work. any ideas?

aldis01
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Sun Apr 05, 2009 8:43 pm

Re: 500 internal server error only on index page?

Post by aldis01 » Thu Apr 09, 2009 8:46 pm

I solved it!
Apply 755 permissions on these files:

1. index.php
2. administrator/index.php and administrator/index2.php

that should work!

simnav
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Thu Jun 11, 2009 10:38 pm

Re: 500 internal server error only on index page?

Post by simnav » Thu Jun 11, 2009 11:13 pm

aldis01 wrote:I solved it!
Apply 755 permissions on these files:

1. index.php
2. administrator/index.php and administrator/index2.php

that should work!
I suggest chmod 444 but if it is important for you to give execute permissions, use chmod 555. This is important from a security perspective (Refer Iframe injection).

Heltkin
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Dec 18, 2009 5:26 pm

Re: 500 internal server error only on index page?

Post by Heltkin » Fri Dec 18, 2009 5:35 pm

I'm having this problem as well and nothing I do seems to help.

do the 755 permission changes need to time to take effect? if not, are there any other causes to this oddity?

I'm not running Joomla in the root folder of the site, in case that changes anything.

Thanks for any insight.

bmeegan1
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Jun 25, 2010 1:04 am
Location: Dublin Ireland

Re: 500 internal server error only on index page?

Post by bmeegan1 » Fri Jun 25, 2010 1:25 am

My site went down this evening and I got this dreaded error message:

" internal server error"

which as it turns out was only on the index.php page.

so first things first, don't panic and search google/joomla resources for some help.
I came across this topic and it was so helpful, look for a file permissions issue.

I ftp'd in and straight away could see my index.php file permissions was set to 000 (zero).
I tried to change it to 755 through ftp and was not permitted, got this error:

index.php chmod failed: Operation not permitted

I decided to log a support ticket with my ISP, only to login to my account and be greeted by a ticket opened by them to ME saying that my site (index.php) was causing some very high utilization on a shared server, so to protect all shared websites they took me offline by setting the index.php files to zero permissions.

I'm letting people here to know to be on the look out for their site causing high util.
my site has been stable for over 1 year and only today I ran an updated backup, so I'm not sure if the backup software caused the spike or just having too many scripts on the home page pushed me over my threshold.
As we speak, my site is still down over 5 hours now and my ISP's call center have gone home for the evening.Hopefull this thread will help you restor service quickly if you get this error.

thanks,
Regards,

Brian/

dazzur
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Jul 29, 2009 11:42 am

Re: 500 internal server error only on index page?

Post by dazzur » Sat Jul 10, 2010 10:47 am

For me - I think it may be to do with the admin template?

Reading in this forum I found a suggestion that by adding index.php?option=com_modules that you could get to the modules screen - which seemed to work.

I then tried to go to the Control Panel but got a WSOD (White Screen Of Death).

I then GUESSED that it might be something to do with the admin / backend template. Luckily a few months prior I had installed an alternative backend template so set that to be the default and it seemed to now have fixed my problem?

Am still testing this out - but am trying to understand if this is the fix, what is wrong with Khepri and how it got busted (I tried putting it back to default - and got same WSOD).

Anybody got any ideas?

technomatters
Joomla! Apprentice
Joomla! Apprentice
Posts: 45
Joined: Fri Jul 11, 2008 9:13 am

Re: 500 internal server error only on index page?

Post by technomatters » Mon Sep 20, 2010 2:43 am

I have same problem. Sites getting 500 internal server error many times. Is it because of not maintain the installation and folder permissions properly?

Server has no problem. Many sites working fine. Some sites opening very slowly? Is there any reason for this and any suggestions to make the site load fast.

Regards
Venkat
Please read the forum rules regarding the use of signatures: http://forum.joomla.org/viewtopic.php?f=8&t=65

sudantha
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Dec 20, 2010 7:08 am

Re: 500 internal server error only on index page?

Post by sudantha » Mon Dec 20, 2010 7:15 am

I fixed this problem :D . it happend only in index.php becouse some thing wrong with a module

for me it was FPSS (Front page slide show) i disabled it and ran..

now works perfectly !

FXexe
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Jul 25, 2010 12:08 am

Re: 500 internal server error from on-page text links

Post by FXexe » Mon Dec 20, 2010 8:07 pm

This was moved to a new topic. Thank you.

Benno_M_1984
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Jan 04, 2011 11:04 pm
Contact:

Re: 500 internal server error only on index page?

Post by Benno_M_1984 » Tue Jan 04, 2011 11:05 pm

where is the new topic?
Deine Seite braucht Backlinks? schau mal hier: Blackhatlinks.com
Wir beantworten gerne alle deine Fragen. Einfach per Kontaktformular.

FXexe
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Jul 25, 2010 12:08 am

Re: 500 internal server error only on index page?

Post by FXexe » Wed Jan 05, 2011 3:52 am


pac_indahood
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Jan 03, 2011 9:25 pm

Re: 500 internal server error only on index page?

Post by pac_indahood » Sat Jan 08, 2011 10:55 am

I found the problem!

You must edit file permission to 755

1. index.php
2. administrator/index.php and administrator/index2.php
3. administrator
4. template
5. template/(your template)
6. template/(your template)/css
7. template/(your template)/css/template.css
8. template/(your template)/css/template.css.php

Seems internal error (php) don't like 777 permision

I consulted with error log from server to see what he don't like
(SoftException in Application.cpp:601: Directory "/home/site/public_html/templates" is writeable by group, referer: http://www.site.com/)

Thanks aldis01!

runarl
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue Oct 24, 2006 6:46 pm

Re: 500 internal server error only on index page?

Post by runarl » Wed Jan 12, 2011 9:58 pm

Hello people!

I have a similar problem. My index.php is blank for a couple of days. I haven't edited in months, and still this happens :/

I tried to change htaccess.txt to .htaccess, but then I got "internal server error" on both index.php and administrator so I changed it back.

I really dont know what to do to fix this. Any ideas?

This is my site: http://tiny url.com/5tl34ld and it's running version 1.0.12.

FXexe
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sun Jul 25, 2010 12:08 am

Re: 500 internal server error only on index page?

Post by FXexe » Wed Jan 12, 2011 11:01 pm

pac_indahood wrote:I found the problem!

You must edit file permission to 755

1. index.php
2. administrator/index.php and administrator/index2.php
3. administrator
4. template
5. template/(your template)
6. template/(your template)/css
7. template/(your template)/css/template.css
8. template/(your template)/css/template.css.php

Seems internal error (php) don't like 777 permision

I consulted with error log from server to see what he don't like
(SoftException in Application.cpp:601: Directory "/home/site/public_html/templates" is writeable by group, referer: http://www.site.com/)

Thanks aldis01!
Thank you but it doesn't work. Nothing what was suggested here works. The site has life of its own. It changes as it's pleased. It worked fine before when it was all in html. Once I ported it to Joomla platform, problems begun. I'm getting to a conclusion that Joomla is made by developers for developers. No offense, but even when I'm getting help, it sounds like people are talking to themselves. I understand nobody has time explaining every term, and educating others. But simplicity of communication makes it all here. It may make perfect sense to a Joomla pro, but be just a noise for a beginner. People without serious php and programming knowledge should stay away and never touch Joomla. It is not designed for average users, IMHO.

jameseymail
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Oct 27, 2011 10:40 am

Re: 500 internal server error only on index page?

Post by jameseymail » Sun Jan 08, 2012 7:57 pm

simnav wrote:
aldis01 wrote:I solved it!
Apply 755 permissions on these files:

1. index.php
2. administrator/index.php and administrator/index2.php

that should work!
I suggest chmod 444 but if it is important for you to give execute permissions, use chmod 555. This is important from a security perspective (Refer Iframe injection).
The above worked perfectly for me, it was fronted that was returning the 500. thanks so much.

properly thought that was 40hrs of project time down the pan!

Huzzah xx

cornextn
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Mar 03, 2012 10:34 pm

Re: 500 internal server error only on index page?

Post by cornextn » Sat Mar 03, 2012 10:48 pm

Hi!
I'm running out of ideas on how to solve this problem! The entire site works perfectly incl. the administrator index.php
However after trying everything in this thread, my index.php still generates a HTTP 500 Internal server Error.... does anybody have any other suggestions?
All permissions have been changed, .htaccess file checked.... still the whole site runs correctly except for the frontpage?
:'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'(

jameseymail
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Oct 27, 2011 10:40 am

Re: 500 internal server error only on index page?

Post by jameseymail » Mon Mar 05, 2012 10:48 am

cornextn wrote:Hi!
I'm running out of ideas on how to solve this problem! The entire site works perfectly incl. the administrator index.php
However after trying everything in this thread, my index.php still generates a HTTP 500 Internal server Error.... does anybody have any other suggestions?
All permissions have been changed, .htaccess file checked.... still the whole site runs correctly except for the frontpage?
:'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'(
where did you amend the permissions? doing so within your FTP client (ie Filezilla) wont neccesarily make the changes you require. you will probably to amend them on each folder within your Hosted Control Panel.

xxx

josazee
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Tue Jan 12, 2010 12:29 pm

Re: 500 internal server error only on index page?

Post by josazee » Thu Feb 07, 2013 9:41 pm

I fixed this problem . it happend only in index.php becouse some thing wrong with a module

for me it was FPSS (Front page slide show) i disabled it and ran..

now works perfectly !
correct! but my own module was rokgallery!

greeshma
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Fri Feb 15, 2013 6:18 am

Re: 500 internal server error only on index page?

Post by greeshma » Mon Feb 18, 2013 10:38 am

I also have the same issue on my site backend when editing or saving some articles, modules etc...Finally i solved it...
Add these lines to /etc/httpd/conf.d/mod_secuirity.conf on your server

<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>

save it...and restart apache...it works fine for me.
Adding these lines disable mod_secuirity engine off.I don't know if it causes secuirity problems in future..
Tnx all...

budiperkasa
Joomla! Intern
Joomla! Intern
Posts: 84
Joined: Sat Apr 21, 2012 7:02 am
Location: Indonesia
Contact:

Re: 500 internal server error only on index page?

Post by budiperkasa » Fri Sep 27, 2013 12:42 am

FXexe wrote:
pac_indahood wrote:I found the problem!

You must edit file permission to 755

1. index.php
2. administrator/index.php and administrator/index2.php
3. administrator
4. template
5. template/(your template)
6. template/(your template)/css
7. template/(your template)/css/template.css
8. template/(your template)/css/template.css.php

Seems internal error (php) don't like 777 permision

I consulted with error log from server to see what he don't like
(SoftException in Application.cpp:601: Directory "/home/site/public_html/templates" is writeable by group, referer: http://www.site.com/)

Thanks aldis01!
Thank you but it doesn't work. Nothing what was suggested here works. The site has life of its own. It changes as it's pleased. It worked fine before when it was all in html. Once I ported it to Joomla platform, problems begun. I'm getting to a conclusion that Joomla is made by developers for developers. No offense, but even when I'm getting help, it sounds like people are talking to themselves. I understand nobody has time explaining every term, and educating others. But simplicity of communication makes it all here. It may make perfect sense to a Joomla pro, but be just a noise for a beginner. People without serious php and programming knowledge should stay away and never touch Joomla. It is not designed for average users, IMHO.
Hi FXexe, what did you mean "People without serious php and programming knowledge should stay away and never touch Joomla" ? in my country people with minimum programming knowledge still using Joomla, Joomla has big fan and a lot of extensions are available is pretty easy to use, download, install and read the manual. What just you need is only spirit to learn and able to do something with trial and error. Learn by doing, they said.

Laura_Gomez
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Nov 21, 2013 5:35 pm

Re: 500 internal server error only on index page?

Post by Laura_Gomez » Wed Jan 08, 2014 3:44 pm

Changing the ./component directory permissions to 755, did the trick for me. Thanks dalkin!

User avatar
kulot
Joomla! Intern
Joomla! Intern
Posts: 55
Joined: Wed Aug 22, 2007 2:28 am

Re: 500 internal server error only on index page?

Post by kulot » Wed Jan 22, 2014 5:31 pm

I am having this problem for about two days now, the first error came yesterday at 6:00PM and experienced again today at the same time GMT +4.

I am using IIS 8 to run my joomla website. After restarting the the application from IIS it works fine. But I want this error to go and will not experience again.

djegraphic
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Oct 07, 2014 3:30 pm

Re: 500 internal server error only on index page?

Post by djegraphic » Tue Oct 07, 2014 3:37 pm

I ran into this problem. I was uploading a few .jpegs into K2. Realized it was actually the way i named a file, accidentally put a >>>'<<< , removed it. Everything worked.


Locked

Return to “Performance - 1.0.x”