Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-03-14 23:34:08
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
r1246: possible comment submission 500 error bugfix
http://dev.textpattern.com/changeset/1246
Alex
Offline
#2 2006-03-15 22:25:37
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: r1246: possible comment submission 500 error bugfix
Sounds like this works, at least for some.
Alex
Offline
Re: r1246: possible comment submission 500 error bugfix
I tried it, but I never was able to reproduce the 500 error. So I couldn’t tell.
Offline
#4 2006-05-20 11:58:08
- latjo
- New Member
- Registered: 2006-01-15
- Posts: 2
Re: r1246: possible comment submission 500 error bugfix
Thanks, the first link helped, allthough I found the specific line on 1239 (instead of 1296)
I replaced
if (substr(php_sapi_name(), 0, 3) == ‘cgi’)
with:
if (substr(php_sapi_name(), 0, 3) == ‘cgi’ and empty($_SERVER[‘FCGI_ROLE’]) and empty($_ENV[‘FCGI_ROLE’]))
Offline