Re: HTML_Ajax and NOT only firefox
| From: | Justin Patrin | Date: | Sat, 04 Feb 2006 23:51:21 +0000 |
| Subject: | Re: HTML_Ajax and NOT only firefox | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22790@lists.php.net to get a copy of this message | ||
On 2/4/06, Darren Ehlers <darren@ehlersconsulting.net> wrote:
> Okay, I guess my problem is not the same, and doesn't appear to be related
> to the browser. It just happened to coincide with a testing change I made
> to firefox.
>
> When doing the call:
> http://www.???.com/Ajax_Server.php?client=all
>
> I'm getting this error:
>
> Fatal error: Call to undefined method HTML_AJAX::_sendContentLength() in
> /home/sites/site152/html/sxp/Extras/HTML/AJAX/Server.php on line 372
>
This error is usually due to not checking for PEAR_Error returns from
methods which return them
> Any ideas here?
>
> Thanks.
>
> Darren Ehlers
> OpenUI Consortium
> http://www.openui.org/
>
>
>
> > -----Original Message-----
> > From: Joshua Eichorn [mailto:josh@bluga.net]
> > Sent: Saturday, February 04, 2006 3:13 PM
> > To: Dan Rossi
> > Cc: PEAR list
> > Subject: Re: [PEAR] HTML_Ajax and firefox
> >
> > Im not sure what the issue is. I've only seen the problem on your
> > server. And looking at the headers using the live headers
> > extension a
> > 200 code is returned not the expected 304. I'll try to investigate
> > things more next week.
> > -josh
> > Dan Rossi wrote:
> > > I downloaded the generated code into a stub.js file and loaded that
> > > in. Its working now. Is this a firefox bug ? It was only
> > happening in
> > > firefox.
> > >
> > > http://www.musictrade.info/v2/
> > >
> > > On 04/02/2006, at 2:15 AM, Joshua Eichorn wrote:
> > >
> > >> Dan Rossi wrote:
> > >>>
> > >>> On 03/02/2006, at 6:24 PM, Dan Rossi wrote:
> > >>>
> > >>>> Its very strange, i cleared the cache, the js generated fine.
> > >>>> Loaded the normal page again and cant find the methods, so means
> > >>>> the js isnt generating, go back to auto_server.php and
> > nothing is
> > >>>> being generated again
> > >>>>
> > >>>
> > >>> Sorry I forgot to meantion, im on firefox for osx, however pc
> > >>> firefox was doing the same. I use safari mostly and works
> > as expected,
> > >>> I dont like Firefox at all its just too buggy.
> > >>>
> > >>>
> > >> Looking at the headers your getting a 200 reponse code when you
> > >> should be getting a 304. I'm unable to reproduce that problem.
> > >>
> > >> So debugging wise the code that should be sending that
> > header is on
> > >> line 566 of AJAX/Server.php
> > >>
> > >> I would just add in an echo or something to see if your
> > hitting that
> > >> code.
> > >>
> > >> -josh
> > >>
> > >> --
> > >> PEAR General Mailing List (http://pear.php.net/)
> > >> To unsubscribe, visit:
> > >> http://www.php.net/unsub.php
> > >>
> > >
> >
> > --
> > PEAR General Mailing List (http://pear.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Justin Patrin