Re: Infinite Page Refresh Loop in WordPress

749 views
Skip to first unread message

Jan Honza Odvarko

unread,
Jul 31, 2012, 4:04:52 AM7/31/12
to Firebug
I can't reproduce the problem (Firebug 1.10 + Firefox 16)

Here is what I am doing:

1) Load http://teaminmetsu.com
2) Open Firebug (F12) and reload the page
3) Step by step click on 'Home', 'Forums' and 'Activity' links at the
top (wait several sec between clicks)
4) I don't see any additional/infinite page reloads

What else can I do to see the problem?

Btw. I see some errors in the Console panel when refreshing the page
e.g.: SyntaxError: XML can't be the whole program

Honza


On Jul 27, 1:39 am, Ars_b3llicA <seriousgame...@gmail.com> wrote:
> Issue:  When firebug is activated on my site I get an infinite page refresh
> loop glitch every few clicks.  The page attempts to refresh every second
> and never stops.  To get the page to load I have to stop it from loading
> (by clicking the X in the address bar) and click refresh (usually several
> times).  When firebug is not active on my site I have no issues.
>
> The only HTML loaded in the page is:
> <html><body><script>document.cookie='aaaaaaa=38bc5d30aaaaaaa_38bc5d30;
> path=/';window.location.href=window.location.href;</script></body></html>
>
> Firefox Version:  14.0.1 and 16.0a2
> Firebug Version:  1.10.0
>
> Is there anyway to fix this issue?  My website ishttp://teaminmetsu.com

Jan Honza Odvarko

unread,
Jul 31, 2012, 4:06:46 AM7/31/12
to Firebug
Forgot to note. You can also try to install Firebug in a fresh new
profile:
http://getfirebug.com/wiki/index.php/FAQ#Installing_in_a_clean_profile

to avoid possible collisions with other extensions and problems with
possibly broken profile.

Honza

On Jul 31, 10:04 am, Jan Honza Odvarko <odva...@gmail.com> wrote:
> I can't reproduce the problem (Firebug 1.10 + Firefox 16)
>
> Here is what I am doing:
>
> 1) Loadhttp://teaminmetsu.com
> 2) Open Firebug (F12) and reload thepage
> 3) Step by step click on 'Home', 'Forums' and 'Activity' links at the
> top (wait several sec between clicks)
> 4) I don't see any additional/infinitepagereloads
>
> What else can I do to see the problem?
>
> Btw. I see some errors in the Console panel when refreshing thepage
> e.g.: SyntaxError: XML can't be the whole program
>
> Honza
>
> On Jul 27, 1:39 am, Ars_b3llicA <seriousgame...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Issue:  When firebug is activated on my site I get aninfinitepagerefresh
> >loopglitch every few clicks.  Thepageattempts torefreshevery second
> > and never stops.  To get thepageto load I have to stop it from loading
> > (by clicking the X in the address bar) and clickrefresh(usually several

Sebastian Zartner

unread,
Jul 31, 2012, 5:14:53 AM7/31/12
to fir...@googlegroups.com
I saw this issue once.

What I did:
  1. Opened Firebug on teaminmetsu.com
  2. Removed all cookies set for that page
  3. Switched to the HTML panel
  4. Reloaded the page
Though I can't reproduce it now anymore. Though I assume it's related to window.location.href=window.location.href.

Sebastian

Jan Honza Odvarko

unread,
Jul 31, 2012, 7:20:51 AM7/31/12
to Firebug
Now I can reproduce it, using the attached code.

<html><body><script>document.cookie='aaaaaaa=38bc5d30aaaaaaa_38bc5d30;path=/';window.location.href=window.location.href;</
script></body></html>

There are two statements:
document.cookie='aaaaaaa=38bc5d30aaaaaaa_38bc5d30;path=/';

and:
window.location.href=window.location.href;

which is causing another reload when the page is loaded

> Though I assume it's related to window.location.href=window.location.href.
So, yes, this is correct.

Honza
Reply all
Reply to author
Forward
0 new messages