Ticket #51 (reopened bug)

Opened 4 years ago

Last modified 7 months ago

FireStats does not appear on some wordpress blogs

Reported by: omry Owned by: omry
Priority: Normal Milestone: 1.1
Component: FireStats Version: 1.0.2
Severity: Normal Keywords:
Cc:

Description

On some wordpress blogs firestats does not appear due to a javascript error preventing firestats from showing its tabs. see discussion here.

Attachments

fs1.gif (22.4 kB) - added by omry 4 years ago.
fs2.gif (68.1 kB) - added by omry 4 years ago.
firestats_java_errors.JPG (59.8 kB) - added by anonymous 4 years ago.
sociable-1.2-firestats-safe.zip (30.2 kB) - added by omry 4 years ago.
a fixed version of sociable that does not cause the problem

Change History

Changed 4 years ago by omry

Changed 4 years ago by omry

Changed 4 years ago by omry

  • milestone changed from Later to 0.9.7-beta

Changed 4 years ago by omry

  • type changed from bug to task
  • milestone changed from 0.9.7-beta to Later

as discovered here, the cause is sociable plugin. another plugin that is known to cause problems is PopStats?.

TODO: check those two plugins, see if there is anything that can be done to make FireStats work when they are around.

Changed 4 years ago by kenman

The following seems to be an ugly work-around.. I inserted the code around line 166 (near <!-- hide the tabber while its loading -->) of firestats-wordpress.php:

<script type="text/javascript">document.write('<span id="ps_online"></span><span id="sociable_site_list"></span>');</script>

I tried adding it in as pure HTML in the HTML portions of firestats-wordpress.php, but that didn't work. There is also probably a better place to put that, but I figured I'd let you do that :)

The problem was, is that both Sociable and PopStats? have their JS scripts loading into ALL admin pages; all the other admin pages still produce the errors. The scripts look for specific HTML ID's, and when they can't find them they fail. I haven't noticed any side-effects to having the dummy <span>'s inserted.

I wonder if any other of my addons are broken by this flaw? I don't know WP too well but I'd guess it's because they improperly coded their WP admin files.

Changed 4 years ago by omry

I removed the tabber.hide for now. does thos plugins interfere even when its not there?

Changed 4 years ago by omry

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from Later to FireStats-1.1

assuming fixed.

Changed 4 years ago by anonymous

  • status changed from closed to reopened
  • type changed from task to bug
  • version changed from 0.9.6-beta to 1.0.2
  • resolution fixed deleted

FireStats tabbed interface is not working on my site. It appears to be a conflict with the Sociable plugin.

Changed 4 years ago by anonymous

Changed 4 years ago by omry

a fixed version of sociable that does not cause the problem

Changed 7 months ago by Alexa

Resource: Norton 360

Add/Change #51 (FireStats does not appear on some wordpress blogs)

Author



Change Properties
<Author field>
Action
as reopened
as The resolution will be set. Next status will be 'closed'
to The owner will change. Next status will be 'new'
 
Note: See TracTickets for help on using tickets.