Re: [google-appengine] PHP Error 204 - but goes away on refresh (Zend Framework)

2013-11-15 Thread Jeffery Fernandez
Hi Rodrigo,

See if this problem is related to APC as detailed in this report
https://code.google.com/p/googleappengine/issues/detail?id=9553



On Tue, Nov 12, 2013 at 5:52 PM, Rodrigo Silveira rodri...@gmail.comwrote:

 I'm running a Zend Project on GAE (PHP 5.4). On my development
 environment, everything works fine. When I deploy the app, however, I get
 500 errors on form posts. If I refresh the page, the data gets posted, even
 though the form validation fails. In both cases, the request only takes a
 couple of seconds to return (leading me to believe that *this is not a
 timeout issue*).

 I've had this happen consistently, but the 500 has only been logged once:

 Logging Severity: Warning
 A problem was encountered with the process that handled this request,
 causing it to exit. This is likely to cause a new process to be usedfor the 
 next request to your application. (Error code 204)

 Here's the response header from one of the times I got the error:

 HTTP/1.1 500 Internal Server Error
 status: 500 Internal Server Error
 version: HTTP/1.1
 alternate-protocol: 443:quic
 content-length: 466
 content-type: text/html; charset=UTF-8
 date: Tue, 12 Nov 2013 06:20:38 GMT
 server: Google Frontend

  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Mobile: +61 430 534 464
Home: +61 3 9764 4439
Work: +61 3 9723 9399

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] PHP Error 204 - but goes away on refresh (Zend Framework)

2013-11-12 Thread Rodrigo Silveira


I'm running a Zend Project on GAE (PHP 5.4). On my development environment, 
everything works fine. When I deploy the app, however, I get 500 errors on 
form posts. If I refresh the page, the data gets posted, even though the 
form validation fails. In both cases, the request only takes a couple of 
seconds to return (leading me to believe that *this is not a timeout issue*
).

I've had this happen consistently, but the 500 has only been logged once:

Logging Severity: Warning
A problem was encountered with the process that handled this request, 
causing it to exit. This is likely to cause a new process to be usedfor the 
next request to your application. (Error code 204)

Here's the response header from one of the times I got the error:

HTTP/1.1 500 Internal Server Error
status: 500 Internal Server Error
version: HTTP/1.1
alternate-protocol: 443:quic
content-length: 466
content-type: text/html; charset=UTF-8
date: Tue, 12 Nov 2013 06:20:38 GMT
server: Google Frontend

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] PHP Error 204 - but goes away on refresh (Zend Framework)

2013-11-12 Thread Vinny P
On Tue, Nov 12, 2013 at 12:52 AM, Rodrigo Silveira rodri...@gmail.com
 wrote:

 If I refresh the page, the data gets posted, even though the form
 validation fails. In both cases, the request only takes a couple of seconds
 to return



Is this form validation server side (PHP) or client side (JS)? Is your code
doing anything server side to commit the submitted form data, such as
emailing it, storing it, etc?



On Tue, Nov 12, 2013 at 12:52 AM, Rodrigo Silveira rodri...@gmail.com
 wrote:

 Here's the response header from one of the times I got the error:

 HTTP/1.1 500 Internal Server Error
 status: 500 Internal Server Error



This looks like a fairly generic error. Can you take a screenshot of one of
the erroring server logs and post it?


-
-Vinny P
Technology  Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.