Ticket #1038 (closed bug: fixed)

Opened 10 months ago

Last modified 6 months ago

on WPMU : shows same stats for all blogs

Reported by: GeO Owned by: omry
Priority: Normal Milestone:
Component: FireStats Version: 1.6
Severity: Normal Keywords: same stats
Cc:

Description

hey,

I've just installed FS on my wmpu, and the plugin shows the same stats to all users on all the blogs, I'd like to have separarated stats for each blog. I think it normally does it, what's wrong ? WPMU 2.7.1

Attachments

Change History

Changed 10 months ago by omry

please describe how you installed FireStats.

Changed 10 months ago by omry

  • priority changed from High to Normal
  • type changed from support request to bug
  • severity changed from Important to Normal

turns out to be that wordpress activation hook name is always with forward slash:

firestats/firestats-wordpress.php

but firestats calculated the file name to be firestats\firestats-wordpress.php because it's a windows server.

Changed 10 months ago by omry

can you try to replace

$plugin_name = substr(__FILE__, strlen(ABSPATH . PLUGINDIR . '/'));
add_action("activate_$plugin_name",'fs_activate');

with

register_activation_hook(__FILE__, 'fs_activate');

and see that it still works? I expect that it should, but will be good if you can verify.

Changed 9 months ago by ixiezi

Hi omry,

your work around seems does not work on my server, it's wordpress mu 2.7.1/firestat 1.6.1-stable =

Changed 9 months ago by omry

  • status changed from new to closed
  • resolution set to fixed

ixiezi, you need to re-activate all your firestats plugins for the change to take effect.

also, upgrade to 1.6.2 which includes this fix.

Add/Change #1038 (on WPMU : shows same stats for all blogs)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.