List Info

Thread: error 500




error 500
user name
2006-10-14 09:32:12
Rodolfo Pilas wrote:
> 
> Alvaro Lopez Ortega wrote:
> > Hi Rodolfo!
> 
> >> 190.64.10.86 - - [11/Oct/2006:11:28:04 --300]
"GET
> >> /gallery2/main.php HTTP/1.1" 500 0
> >> "http://gseoane.codigolibre.net/gallery2/main.
php?g2_itemId=79"
> >
> >   That's weird. The pages are properly server, but
the log entry shows
> >   a 500 error, is that it?
> 
> No.
> 
> Pls, go to the above link and see photos with
[Siguiente] link, then
> after 3 our 4 photos you will receive a 500 error.
> 
> After you see a 500 error try to [Reload] the same URL.
> 
> Cherokee is logging correctly: shows an error and
loggin it
> 
> >   How are you executing the PHP scripts? fcgi?
> 
> PHP is excecuted as cgi with "Handler phpcgi"
> 
> > Does it happen only
> >   with Gallery 2?
> 
> Yes, I do not receive any other comment about 500 error
and the error is
> very frequently.

If I were you I would try to recompile Cherokee adding
a PRINT_ERROR("...") near all conn->error_code
= http_internal_error
and near: printf("Status: 500" CRLF_CRLF); in
handler_cgi*.c.

If no error message is written to standard error
then the problem is elsewhere (i.e. connection.c, thread.c,
handler_redir.c).

The output of  "netstat -a" would be helpful too.

-- 
Nick Name:     A.D.F.
E-Mail:        <adefacc () tin ! it>
--
_______________________________________________
Cherokee mailing list
Cherokee0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )