Page 1 of 1
error 500 when someone tries to add a comment
Posted: Sat Nov 05, 2005 4:03 pm
by Jan
Hi.
I have got a problem when someone tries to comment on my blog. There appears the error 500 though the comment is available for the moderator to add. I searched the forum and tested some tips for the error 500 but nothing helped. Can someone help me?
to the blog:
www.unternimm-die-zukunft.de
Re: error 500 when someone tries to add a comment
Posted: Sun Nov 06, 2005 1:37 pm
by garvinhicking
Sadly this sounds like a server issue, which can be caused by several things.
It seems you are using a PHP CGI installation. This gives 500 HTTP errors whenever an error happens, instead of PHP Parse Error or Fatal Error reports. Thus, you need to have a look at your Apache Errorlog to spot the actual error that is happening.
Usually this is a Parse Error in one of your files. Maybe you modified some files/plugins, which now cause this error.
If you have a SSH account on Linux on your sever, you can try this command to check all your Files:
Code: Select all
find -name \*.php -exec php -l {} \;
Then you can see in which file the error got introduced. In either way, only the apache errorlog can now help you further!
Hope that helps - if not, please report back of course!
Best regards,
Garvin
Error log
Posted: Wed Nov 09, 2005 4:41 pm
by Jan
The admin of my server send me this:
[Wed Nov 09 11:35:47 2005] [error] [client 84.177.203.9] File does not exist: /home/web162/inte41/ftproot/
www.unternimm-die-zukunft.de/Ein Grund f\xc3\xbcr die Zukunft das Grundeinkommen-Dateien, referer:
http://www.unternimm-die-zukunft.de/Fin ... rkung.html
[Wed Nov 09 11:35:49 2005] [error] [client 217.119.50.53] malformed header from script. Bad header=No recipient addresses found i: phpcgi.cgi, referer:
http://www.unternimm-die-zukunft.de/ind ... affen.html
??????????????????????????????????????
Re: Error log
Posted: Wed Nov 09, 2005 5:21 pm
by garvinhicking
The first HTTP request comes from somebody who downloaded locales files to his directory and tries to download them from the Web (IE full page downloads cause this). You shouldn't pay attention to that.
The second entry is more problematic! I haven't heard of such an error, it might be that it's coming frmo a missing or misconfigured sendmail() implementation on your server. When a comment is sent, s9y tries to send a mail. Thus the error could very well be related to sending mails.
check if you configured a valid email address in the s9y configuration for the option "E-Mail address of the blog". If you have, please write a testscript to try if mail() in your PHP environment works. If you don't know how to create a simple script like that, please report back.
Best regards,
Garvin
Garvin rules
Posted: Wed Nov 09, 2005 5:49 pm
by Jan
Yeah, all now ok. This damned email-adress!!!! Thank you!!!!!!!!!
Re: Garvin rules
Posted: Wed Nov 09, 2005 6:05 pm
by garvinhicking
You're welcome, I'm glad this could solve the error! Now I have one more gotcha to notice
Best regards,
Garvin