Bbt Lists wrote:
Can things like whitespace produce this kind of result? How about
spaces instead of tabs (code formating)?
Just having a hard time tracking this issue down.
Just to recap, and possibly add more info:
I had a remoting project that just stopped working. I put traces in on
the method that calls the php service, and one in the relay responder
method. The first trace is fired, but not the second one. I then had
my PHP class use touch to create a file on the server to see if it is
fired - it is..... but for some reason the relay responder method is
never fired. I read something about having white space in the PHP
class outside the php class chokes amfphp (well rather flash) - but -
I don't have any - so I am wondering if there is any other thing in a
php class that would cause flash to not know how to handle the
results? Are there php settings maybe that could effect it? The server
host also updated our server that day. But my other remoting classes
are working. Even this class is working in other areas in the movie -
it is so perplexing. I just need to figure out why the responder never
happens (as this is a live site). Thanks in advance for any info!
Thanks!
ok - I have been doing more testing. I have 2 sections in my site that
use the same remoting classes and AS classes. I was using service
capture to monitor the requests and responses. Now there are some
differences, but I am confused as to why.
Now here is my header that is sent (in both the good and bad responses).
POST /gateway/gateway.php?PHPSESSID=6d9efe423051258bf5c7de48f97c 86f2
HTTP/1.1
Accept: */*
Accept-Language: en
Accept-Encoding: gzip, deflate
Cookie: PHPSESSID=6d9efe423051258bf5c7de48f97c86f2
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en)
AppleWebKit/418.8 (KHTML, like Gecko) Safari/419.3
Content-Type: application/x-amf
Content-Length: 140
Connection: keep-alive
Now the differences are in the returned headers. Here is a good response
header:
HTTP/1.1 200 OK
Date: Wed, 23 Aug 2006 01:12:51 GMT
Server: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_bwlimited/1.4
PHP/4.3.11 mod_log_bytes/1.2 FrontPage/5.0.2.2634a mod_ssl/2.8.22
OpenSSL/0.9.6
X-Powered-By: PHP/4.3.11
Expires: Tue, 22 Aug 2006 21:12:51 GMT
Cache-Control: no-store
Content-Length: 1523
Keep-Alive: timeout=30, max=100
Connection: Keep-Alive
Content-Type: application/x-amf
Now here is the response header that is from the call that does not work:
HTTP/1.1 200 OK
Date: Wed, 23 Aug 2006 01:10:58 GMT
Server: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_bwlimited/1.4
PHP/4.3.11 mod_log_bytes/1.2 FrontPage/5.0.2.2634a mod_ssl/2.8.22
OpenSSL/0.9.6
X-Powered-By: PHP/4.3.11
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Keep-Alive: timeout=30, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: application/x-amf
Now as you can see - there are some differences. But I am not sure why I
am getting differences.
dnk
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com