php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57627 Failures result in http 200
Submitted: 2007-04-23 09:42 UTC Modified: 2017-01-10 08:05 UTC
From: mfp@php.net Assigned:
Status: Suspended Package: SCA_SDO (PECL)
PHP Version: Irrelevant OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
50 - 29 = ?
Subscribe to this entry?

 
 [2007-04-23 09:42 UTC] mfp@php.net
Description:
------------
We have a wide-spread problem with errors causing the script to just fail and Apache returning http 200. Trouble is that 200 means certain things for some of the bindings.

Many of us run with display_errors off in php.ini and therefore
when a php error occurs we just get nothing in return and a 200.
All sorts of things can cause this - a missing include, a syntax
error, etc.

I run with display_errors on, so I get back text that is intended
for the browser: <b>Fatal Error</b> and so on.

This at least tells me something is up, but in fact the code
usually just tries to chew on the text and treat it as an atom
response, xmlrpc response, jsonrpc response etc. This is not
usually much better.

The problem is widespread and in the json and xmlrpc code. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-10 08:05 UTC] kalle@php.net
-Status: Assigned +Status: Suspended -Assigned To: mfp +Assigned To:
 [2017-01-10 08:05 UTC] kalle@php.net
Suspending this report as the extension have not had a release for almost 9 years.  Please revive this if the extension once again shows life
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 12 08:01:30 2024 UTC