Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #6287 > unrolled thread

PEAR in Firefox

Started byShelly <sheldonlg@thevillages.net>
First post2012-06-11 14:49 -0400
Last post2012-06-12 09:26 +0200
Articles 10 — 6 participants

Back to article view | Back to comp.lang.php


Contents

  PEAR in Firefox Shelly <sheldonlg@thevillages.net> - 2012-06-11 14:49 -0400
    Re: PEAR in Firefox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-06-11 21:19 +0200
      Re: PEAR in Firefox Shelly <sheldonlg@thevillages.net> - 2012-06-11 15:27 -0400
        Re: PEAR in Firefox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-06-11 21:43 +0200
        Re: PEAR in Firefox bill <william@TechServSys.com> - 2012-06-12 09:09 -0400
          Re: PEAR in Firefox Shelly <sheldonlg@thevillages.net> - 2012-06-13 13:25 -0400
    Re: PEAR in Firefox "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-06-11 22:19 +0200
    Re: PEAR in Firefox Jerry Stuckle <jstucklex@attglobal.net> - 2012-06-11 17:09 -0400
    Re: PEAR in Firefox The Natural Philosopher <tnp@invalid.invalid> - 2012-06-12 01:02 +0100
      Re: PEAR in Firefox "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-06-12 09:26 +0200

#6287 — PEAR in Firefox

FromShelly <sheldonlg@thevillages.net>
Date2012-06-11 14:49 -0400
SubjectPEAR in Firefox
Message-ID<jr5ek2$59i$1@dont-email.me>
I think this is more of a Firefox problem than a PEAR or PHP.  I have 
posted a question in the Firefox forum, but have not received 
significant help.  I am posting here in the hope that someone else has 
come across the same problem and might have an answer.  So, if you only 
want PHP (Jerry), please just ignore this post.

I have an onload for a page that sends out JSON via PEAR HTML-AJAX. 
Firebug is telling me that it gets back a proper response.  The response 
is to be painted into a <div> using inner-HTML.  (Using a <span> makes 
no difference).  In Firefox it paints nothing.  In Internet Explorer 8 
it works perfectly.

I cannot give a URL as an example as this is for an intranet behind a 
firewall that I access via VPN.

You probably can't help me, but it is worth a shot.

-- 
Shelly

[toc] | [next] | [standalone]


#6288

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2012-06-11 21:19 +0200
Message-ID<5097644.cy8W9ezCJm@PointedEars.de>
In reply to#6287
You just asked for it, so …

Shelly wrote:

> I think this is more of a Firefox problem than a PEAR or PHP.  I have
> posted a question in the Firefox forum, but have not received
> significant help.  I am posting here in the hope that someone else has
> come across the same problem and might have an answer.  So, if you only
> want PHP (Jerry), please just ignore this post.

"You know, I am just a stupid luser, but …"

Not a beginning that gives incentive to continue reading.
 
> I have an onload for a page that sends out JSON via PEAR HTML-AJAX.
> Firebug is telling me that it gets back a proper response.  The response
> is to be painted into a <div> using inner-HTML.  (Using a <span> makes
> no difference).  In Firefox it paints nothing.

Presumably there is an error in Firebug's error console.  Anyhow, you have 
found Firebug, so how come you have not used its debugger?

> In Internet Explorer 8 it works perfectly.
> 
> I cannot give a URL as an example as this is for an intranet behind a
> firewall that I access via VPN.

Luser.  Surely you can upload a source code snippet for a reduced test case.  
In doing so you might even solve the problem yourself.

> You probably can't help me, but it is worth a shot.

One could and probably would help you if you made it easy.  First of all, 
you are *way* off-topic here.  If it works in one browser but not in 
another, you have most certainly a *client-side* (script) problem, not one 
related to server-side PHP or PHP at all.  The newsgroup where this is
on-topic is quite obviously comp.lang.javascript (do you know what the "J" 
in "AJAX" stands for?).

Second, remember that all our crystal balls are borken.  Without you 
providing enough input, one is left with guessing.  But this is _not_ a 
guessing game.

<http://www.catb.org/~esr/faqs/smart-questions.html>


PointedEars
-- 
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
  -- from <http://www.vortex-webdesign.com/help/hidesource.htm> (404-comp.)

[toc] | [prev] | [next] | [standalone]


#6289

FromShelly <sheldonlg@thevillages.net>
Date2012-06-11 15:27 -0400
Message-ID<jr5gqg$l72$1@dont-email.me>
In reply to#6288
On 6/11/2012 3:19 PM, Thomas 'PointedEars' Lahn wrote:
> You just asked for it, so …
>
> Shelly wrote:
>
>> I think this is more of a Firefox problem than a PEAR or PHP.  I have
>> posted a question in the Firefox forum, but have not received
>> significant help.  I am posting here in the hope that someone else has
>> come across the same problem and might have an answer.  So, if you only
>> want PHP (Jerry), please just ignore this post.
>
> "You know, I am just a stupid luser, but …"
>
> Not a beginning that gives incentive to continue reading.
>
>> I have an onload for a page that sends out JSON via PEAR HTML-AJAX.
>> Firebug is telling me that it gets back a proper response.  The response
>> is to be painted into a<div>  using inner-HTML.  (Using a<span>  makes
>> no difference).  In Firefox it paints nothing.
>
> Presumably there is an error in Firebug's error console.  Anyhow, you have
> found Firebug, so how come you have not used its debugger?
>
>> In Internet Explorer 8 it works perfectly.
>>
>> I cannot give a URL as an example as this is for an intranet behind a
>> firewall that I access via VPN.
>
> Luser.  Surely you can upload a source code snippet for a reduced test case.

No, I can't.

> In doing so you might even solve the problem yourself.
>
>> You probably can't help me, but it is worth a shot.
>
> One could and probably would help you if you made it easy.  First of all,

If it were easy, I wouldn't ask.

> you are *way* off-topic here.  If it works in one browser but not in
> another, you have most certainly a *client-side* (script) problem, not one
> related to server-side PHP or PHP at all.  The newsgroup where this is

Not true.  This problem appeared with Firefox 4 or 5, and was supposedly 
fixed.  The error there was in three PEAR modules (accessed on the 
server side).

> on-topic is quite obviously comp.lang.javascript (do you know what the "J"
> in "AJAX" stands for?).

FO.

>
> Second, remember that all our crystal balls are borken.  Without you
> providing enough input, one is left with guessing.  But this is _not_ a
> guessing game.
>
> <http://www.catb.org/~esr/faqs/smart-questions.html>
>
>
> PointedEars


-- 
Shelly

[toc] | [prev] | [next] | [standalone]


#6290

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2012-06-11 21:43 +0200
Message-ID<5984369.8x6vnm04Xh@PointedEars.de>
In reply to#6289
Shelly wrote:

> On 6/11/2012 3:19 PM, Thomas 'PointedEars' Lahn wrote:
>> on-topic is quite obviously comp.lang.javascript (do you know what the
>> "J" in "AJAX" stands for?).
> 
> FO.

*PLONK*

[toc] | [prev] | [next] | [standalone]


#6305

Frombill <william@TechServSys.com>
Date2012-06-12 09:09 -0400
Message-ID<jr7f2f$4sg$1@speranza.aioe.org>
In reply to#6289
On 6/11/2012 3:27 PM, Shelly wrote:
> On 6/11/2012 3:19 PM, Thomas 'PointedEars' Lahn wrote:
>> You just asked for it, so …
>>
>> Shelly wrote:
>>
>>> I think this is more of a Firefox problem than a PEAR or PHP.
>>> I have
>>> posted a question in the Firefox forum, but have not received
>>> significant help.  I am posting here in the hope that someone
>>> else has
>>> come across the same problem and might have an answer.  So, if
>>> you only
>>> want PHP (Jerry), please just ignore this post.
>>
>> "You know, I am just a stupid luser, but …"
>>
>> Not a beginning that gives incentive to continue reading.
>>
>>> I have an onload for a page that sends out JSON via PEAR
>>> HTML-AJAX.
>>> Firebug is telling me that it gets back a proper response.
>>> The response
>>> is to be painted into a<div>  using inner-HTML.  (Using
>>> a<span>  makes
>>> no difference).  In Firefox it paints nothing.
>>
>> Presumably there is an error in Firebug's error console.
>> Anyhow, you have
>> found Firebug, so how come you have not used its debugger?
>>
>>> In Internet Explorer 8 it works perfectly.
>>>
>>> I cannot give a URL as an example as this is for an intranet
>>> behind a
>>> firewall that I access via VPN.
>>
>> Luser.  Surely you can upload a source code snippet for a
>> reduced test case.
>
> No, I can't.
>
>> In doing so you might even solve the problem yourself.
>>
>>> You probably can't help me, but it is worth a shot.
>>
>> One could and probably would help you if you made it easy.
>> First of all,
>
> If it were easy, I wouldn't ask.
>
>> you are *way* off-topic here.  If it works in one browser but
>> not in
>> another, you have most certainly a *client-side* (script)
>> problem, not one
>> related to server-side PHP or PHP at all.  The newsgroup where
>> this is
>
> Not true.  This problem appeared with Firefox 4 or 5, and was
> supposedly fixed.  The error there was in three PEAR modules
> (accessed on the server side).

Firefox 5 changed display engines to one that is completely 
intolerant of simple html errors.  Leave off a tag close ">" and 
it just ignores the tag without an error.
Use firebug to display the div and see if the tags look right. 
You may see garbage - that will tell you there is a problem, but 
not what it is.

bill

[toc] | [prev] | [next] | [standalone]


#6321

FromShelly <sheldonlg@thevillages.net>
Date2012-06-13 13:25 -0400
Message-ID<jraidi$oov$1@dont-email.me>
In reply to#6305
On 6/12/2012 9:09 AM, bill wrote:
> On 6/11/2012 3:27 PM, Shelly wrote:
>> On 6/11/2012 3:19 PM, Thomas 'PointedEars' Lahn wrote:
>>> You just asked for it, so …
>>>
>>> Shelly wrote:
>>>
>>>> I think this is more of a Firefox problem than a PEAR or PHP.
>>>> I have
>>>> posted a question in the Firefox forum, but have not received
>>>> significant help. I am posting here in the hope that someone
>>>> else has
>>>> come across the same problem and might have an answer. So, if
>>>> you only
>>>> want PHP (Jerry), please just ignore this post.
>>>
>>> "You know, I am just a stupid luser, but …"
>>>
>>> Not a beginning that gives incentive to continue reading.
>>>
>>>> I have an onload for a page that sends out JSON via PEAR
>>>> HTML-AJAX.
>>>> Firebug is telling me that it gets back a proper response.
>>>> The response
>>>> is to be painted into a<div> using inner-HTML. (Using
>>>> a<span> makes
>>>> no difference). In Firefox it paints nothing.
>>>
>>> Presumably there is an error in Firebug's error console.
>>> Anyhow, you have
>>> found Firebug, so how come you have not used its debugger?
>>>
>>>> In Internet Explorer 8 it works perfectly.
>>>>
>>>> I cannot give a URL as an example as this is for an intranet
>>>> behind a
>>>> firewall that I access via VPN.
>>>
>>> Luser. Surely you can upload a source code snippet for a
>>> reduced test case.
>>
>> No, I can't.
>>
>>> In doing so you might even solve the problem yourself.
>>>
>>>> You probably can't help me, but it is worth a shot.
>>>
>>> One could and probably would help you if you made it easy.
>>> First of all,
>>
>> If it were easy, I wouldn't ask.
>>
>>> you are *way* off-topic here. If it works in one browser but
>>> not in
>>> another, you have most certainly a *client-side* (script)
>>> problem, not one
>>> related to server-side PHP or PHP at all. The newsgroup where
>>> this is
>>
>> Not true. This problem appeared with Firefox 4 or 5, and was
>> supposedly fixed. The error there was in three PEAR modules
>> (accessed on the server side).
>
> Firefox 5 changed display engines to one that is completely intolerant
> of simple html errors. Leave off a tag close ">" and it just ignores the
> tag without an error.
> Use firebug to display the div and see if the tags look right. You may
> see garbage - that will tell you there is a problem, but not what it is.
>
> bill
>

I have been tracking down many leads and it looks like the most 
promising is that Firefox no longer (it did 4 years ago) supports 
javascript injection coming back from an AJAX call.  What comes back 
from the server is a javascript that when run generates a menu 
structure.  IE8 supports it, but Firefox now blocks the running of that 
script.

So, it appears that this is a Firefox/javascript problem and not PHP nor 
PEAR.  I will stop with it in this news group.  I already have it in the 
Firefox forum and I will present it in the javascript forum.

PS:  there are not tag errors.

-- 
Shelly

[toc] | [prev] | [next] | [standalone]


#6291

From"M. Strobel" <sorry_no_mail_here@nowhere.dee>
Date2012-06-11 22:19 +0200
Message-ID<a3n267FhtgU1@mid.uni-berlin.de>
In reply to#6287
Am 11.06.2012 20:49, schrieb Shelly:
> I think this is more of a Firefox problem than a PEAR or PHP.  I have posted a
> question in the Firefox forum, but have not received significant help.  I am posting
> here in the hope that someone else has come across the same problem and might have an
> answer.  So, if you only want PHP (Jerry), please just ignore this post.
> 
> I have an onload for a page that sends out JSON via PEAR HTML-AJAX. Firebug is
> telling me that it gets back a proper response.  The response is to be painted into a
> <div> using inner-HTML.  (Using a <span> makes no difference).  In Firefox it paints
> nothing.  In Internet Explorer 8 it works perfectly.
> 
> I cannot give a URL as an example as this is for an intranet behind a firewall that I
> access via VPN.
> 
> You probably can't help me, but it is worth a shot.
> 
Without relevant information this is just a blurb.

/Str.

[toc] | [prev] | [next] | [standalone]


#6293

FromJerry Stuckle <jstucklex@attglobal.net>
Date2012-06-11 17:09 -0400
Message-ID<jr5mpj$u0e$2@dont-email.me>
In reply to#6287
On 6/11/2012 2:49 PM, Shelly wrote:
> I think this is more of a Firefox problem than a PEAR or PHP. I have
> posted a question in the Firefox forum, but have not received
> significant help. I am posting here in the hope that someone else has
> come across the same problem and might have an answer. So, if you only
> want PHP (Jerry), please just ignore this post.
>
> I have an onload for a page that sends out JSON via PEAR HTML-AJAX.
> Firebug is telling me that it gets back a proper response. The response
> is to be painted into a <div> using inner-HTML. (Using a <span> makes no
> difference). In Firefox it paints nothing. In Internet Explorer 8 it
> works perfectly.
>
> I cannot give a URL as an example as this is for an intranet behind a
> firewall that I access via VPN.
>
> You probably can't help me, but it is worth a shot.
>

And what does PEAR have to do with it?  Firefox has NO IDEA WHAT'S 
RUNNING ON THE SERVER!

You get back the proper response, so the problem is not server-side - 
and you're in the wrong group.  But you already knew that, and asked anyway.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[toc] | [prev] | [next] | [standalone]


#6294

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2012-06-12 01:02 +0100
Message-ID<jr60um$g6e$1@news.albasani.net>
In reply to#6287
Shelly wrote:
> I think this is more of a Firefox problem than a PEAR or PHP.  I have 
> posted a question in the Firefox forum, but have not received 
> significant help.  I am posting here in the hope that someone else has 
> come across the same problem and might have an answer.  So, if you only 
> want PHP (Jerry), please just ignore this post.
> 
> I have an onload for a page that sends out JSON via PEAR HTML-AJAX. 
> Firebug is telling me that it gets back a proper response.  The response 
> is to be painted into a <div> using inner-HTML.  (Using a <span> makes 
> no difference).  In Firefox it paints nothing.  In Internet Explorer 8 
> it works perfectly.
> 
> I cannot give a URL as an example as this is for an intranet behind a 
> firewall that I access via VPN.
> 
> You probably can't help me, but it is worth a shot.
> 

Mmm. inner-HTML doesn't always work in firefox: the DOM is actually 
slightly different.. Its been a while but innerhtml is I think IE specific.

So, rubbing salt in jerry's ass, this is actually a javascript issue.

Hmm. my javascript book says that innerhtml is supported, but there is 
something about this that caught me out once:  - teh parsing IIRC is 
stricter in Firefox and innerhtml is not always  usable with certain 
elements.

Make up a test page that attempts to modify an element using innnerhtml 
in an java script that happens on mouseover or something and see if you 
can dupe it.

Note also that IE does not distinguish between the name ="x" and id="x" 
element indentifiers: Sometimes that aloows nam,eing bugs to go 
unnoticed in IE.



-- 
To people who know nothing, anything is possible.
To people who know too much, it is a sad fact
that they know how little is really possible -
and how hard it is to achieve it.

[toc] | [prev] | [next] | [standalone]


#6299

From"M. Strobel" <sorry_no_mail_here@nowhere.dee>
Date2012-06-12 09:26 +0200
Message-ID<a3o989FrklU1@mid.uni-berlin.de>
In reply to#6294
Am 12.06.2012 02:02, schrieb The Natural Philosopher:
> Shelly wrote:
--cut--

>> I have an onload for a page that sends out JSON via PEAR HTML-AJAX. Firebug is
>> telling me that it gets back a proper response.  The response is to be painted into
>> a <div> using inner-HTML.  (Using a <span> makes no difference).  In Firefox it
>> paints nothing.  In Internet Explorer 8 it works perfectly.
>>
>> I cannot give a URL as an example as this is for an intranet behind a firewall that
>> I access via VPN.
>>
>> You probably can't help me, but it is worth a shot.
>>
> 
--cut--

> Make up a test page that attempts to modify an element using innnerhtml in an java
> script that happens on mouseover or something and see if you can dupe it.
> 
> Note also that IE does not distinguish between the name ="x" and id="x" element
> indentifiers: Sometimes that aloows nam,eing bugs to go unnoticed in IE.

Looks like a good guess. I had some dev issues when everything looked okay but
assignments did not work - because of wrong id...


/Str.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web