Re: [HTML_AJAX-devel] [Fwd: Re: [PEAR] HTML_AJAX error... object(undefined)]
| From: | Richard Udovich | Date: | Wed, 26 Apr 2006 07:29:35 +0000 |
| Subject: | Re: [HTML_AJAX-devel] [Fwd: Re: [PEAR] HTML_AJAX error... object(undefined)] | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23840@lists.php.net to get a copy of this message | ||
Just thought i would replay to my own post since i found the solution... this was my own code error...
Richard Udovich wrote:
Hi guys... can anyone help me with this... ------------------------------------------------------------------------ Subject: Re: [PEAR] HTML_AJAX error... object(undefined) From: Richard Udovich <richard.udovich@freshtel.net> Date: Wed, 26 Apr 2006 10:09:20 +1000 To: Joshua Eichorn <josh@bluga.net> To: Joshua Eichorn <josh@bluga.net> Joshua Eichorn wrote:Richard Udovich wrote:Hi Josh This error seems to happen when the ajax functions are called too quickly... does that help you help me? The last headers i am able to see are also... Response Headers - http://localhost/test/ Date: Wed, 26 Apr 2006 00:09:02 GMT Server: Apache/2.2.0 (Win32) DAV/2 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_autoindex_color PHP/5.1.1 X-Powered-By: PHP/5.1.1 Set-Cookie: PHPSESSID=a3fad6278dc37d5cf88aab0d1f05e8b4; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Keep-Alive: timeout=5, max=99 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html 200 OK ------------------------------------------------------------------------ _______________________________________________ Html_ajax-devel mailing list Html_ajax-devel@lists.bluga.net http://lists.bluga.net/mailman/listinfo/html_ajax-develWhat can possibly cause this error? object(undefined) (5) { ["message"]=> string(25) "content has no properties" ["fileName"]=> string(62) "http://localhost/test/index.php?client=all&stub=PermissionAJAX" ["lineNumber"]=> number(1732) ["stack"]=> string(217) "()@http://localhost/test/index.php?client=all&stub=PermissionAJAX:1732 ()@http://localhost/test/index.php?client=all&stub=PermissionAJAX:1702 ()@http://localhost/test/index.php?client=all&stub=PermissionAJAX:1619 @:0 " ["name"]=> string(9) "TypeError" } ThanksI'm not sure what triggers that bug. Its in the code where we figure out the Content-Type of document we just loaded with XMLHttpRequest Maybe you request a page with no Content-Type? What browser are you using, can you send me the headers that the browser received before it got this error. -josh