Extension talk:Matomo/Archive

Internal Error
After adding the three Elements to the LocalSettings.php and uploading, I moved to my Domain and receive an Internal Error:shahanaz

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

I've added the Line to my LocalSettings.php, but after that, I received another Internal Error:

 Aliases file does not exist   Backtrace:   #0 /.../.../webpages/includes/SpecialPage.php(215): Language->getSpecialPageAliases   #1 /.../.../webpages/includes/SpecialPage.php(339): SpecialPage::initAliasList   #2 /.../.../webpages/includes/parser/Parser.php(1774): SpecialPage::exists('UserLogin/signu...')   #3 /.../.../webpages/includes/parser/Parser.php(985): Parser->replaceInternalLinks(' you shoud write the name of the directory of the extension (normally with the capital P;   always goes with the capital P). And   variable should have the host and the path to your piwik installation, not the extension. --Isb1009 14:22, 29 January 2010 (UTC)

Can we track sysops users ?
I would like to also track sysops users, but see in the page source following comment.

--Mark 16:36, 19 January 2010 (UTC)

No worries found answer

in ~/extensions/Piwik/Piwik.php update

$wgPiwikIgnoreSysops = false;


 * You'd better add that setting into your LocalSettings.php file to prevent any changes in any future versions. --Isb1009 21:55, 24 January 2010 (UTC)

Remote piwik installation
I am using a remote piwik installation, but I guess your code needs it on the same server, right? I'd like to see the extension supporting the remote installations. :-)
 * Not really :D For example, I myself have Piwik in a different domain than the wiki and of course, the domain can be in a remote server. --Isb1009 21:52, 24 January 2010 (UTC)

Not tracking
For some reason this extension isn't reporting back to Piwik.

My config: require_once($IP.'/extensions/Piwik/Piwik.php'); $wgPiwikURL = "/piwik/"; $wgPiwikIDSite = "1";

Folder layout: public_html/piwik public_html/wiki

If I replace the funcOutput in Piwik.php for the extension with the suggested Javascript by Piwiki's own software, it works fine, though it could probably be done w/o out this extension. How do I get it working correctly without my hacks? --68.209.251.67 02:04, 1 March 2010 (UTC)


 * Which versions (Piwik, MediaWiki and Piwik Integration) are you using? --Isb1009 13:27, 1 March 2010 (UTC)


 * Media Wiki 1.5.1 / Piwik Integration (Version 0.8-piwik0.2.26 (1.0-RC3) [r44932]) / Piwik 0.5.4 --68.209.251.67 23:54, 1 March 2010 (UTC)


 * For Piwik ≥0.4 you need Piwik Integration 1.5-piwik0.4.2, but then you need to install MediaWiki ≥1.14. Piwik Integration 0.8-piwik0.2.26 might work with Piwik 0.5.4 (not sure), but then you need to install at least MediaWiki 1.11. Sorry for the delay --Isb1009 11:36, 30 March 2010 (UTC)

no Data since piwik 0.5.5
i get no data since piwik update to 0.5.5 (Mediawiki 1.15.2)
 * I've taken a look at it and it's quite a strange error. It wasn't working for me until I started to edit the files of the extension. I returned them back to their original code and it's still working. Try to edit and save your LocalSettings.php file and it may work again. If it doesn't, just post a message here again. --Isb1009 19:53, 31 March 2010 (UTC)
 * sorry still no data


 * Try to download the latest version from the trunk. I haven't made any changes to it (though MW devs fixed something about the indentation and the description of the extension), I also run Piwik 0.5.5 and MediaWiki 1.15.2 and it's working. --Isb1009 14:33, 2 April 2010 (UTC)

Backslashes and no data shown
Two comments about this extension...

1) The note about you must add the backslash, doing so creates a double backslash in the routing for the plugin as in:

/something//piwik/otherstuff

Removing that / from the routing removed a 403 error I was getting...

2) The plugin now seems to be working, but the Special Page shows no data while the actual Piwik page does show data...

Any thoughts?

TeraS 14:56, 22 April 2010 (UTC)


 * What versions of Piwik, Piwik Integration and MediaWiki are you using? I recommend you to use the latest ones, because i think the problems you have named are already solved in the latest version of the extension, which requires at least MW 1.14 and Piwik 0.4. --Isb1009 16:35, 22 April 2010 (UTC)


 * Sorry... Forgot that information... Running the trunk of this extension, was downloaded within the last 2 days. MW 1.15.2 and PW 0.5.5 TeraS 16:06, 24 April 2010 (UTC)


 * I've got working it with the trailing slash, so I don't know what the problem really is.
 * To show data on the special page, you need to make Piwik accessible to anonymous users. Then, the special page shows the data for yesterday, not today. But if you think it's better to show today's data, I'll try to change the extension and add a variable to choose the date (today or yesterday), just tell me.
 * Anyway, it's necessary that you add the domain name in front of Piwik's directory, in $wgPiwikURL (I've updated the extension page).
 * I hope these recommendations do solve your problems. If not, just tell me again, or send me an email message to the address in Piwik.php</tt>. --Isb1009 21:04, 24 April 2010 (UTC)


 * EDIT: I've found where the trailing slash problem is, sorry for not having noticed it before. I'm going to fix it, add the patch to Mediazilla and, with some luck, it'll be committed tomorrow. Thanks for your report! --Isb1009 21:09, 24 April 2010 (UTC)


 * It is fixed now, you may download the latest version from trunk (revision ≥ r65523). Please tell me if it doesn't work. --Isb1009 16:55, 25 April 2010 (UTC)


 * I'll do that in shortly and report back! Thank you! TeraS 23:08, 25 April 2010 (UTC)
 * The slash error is gone, but no data still. I corrected the location URL as suggested as well. Checking the page source, the paths appear to be correct, but no data is appearing on the MW page. As for showing the data, one day back I think is probably better as that data would be stable and you can always goto the Piwik installation for more data.TeraS 23:23, 25 April 2010 (UTC)
 * Further to the above: I experimented with different browsers and it will display in current versions of FireFox, but does not display in Safari which is my normal browser. FYI! TeraS 19:26, 27 April 2010 (UTC)


 * If your Piwik is private you need to log into Piwik as a user. If not, I don't really know the problem because I don't have access to Safari, but Chromium uses WebKit too and it works for me. --Isb1009 12:04, 2 May 2010 (UTC)
 * I understand that and am logged in as a user, more specifically as the Admin of the Wiki. It's not a major issue but I will see if I can track down where the issue is and report back  TeraS 00:41, 4 May 2010 (UTC)

no Data since piwik 0.6.1
I have this problem :(

Does anybody have the same ?

--Dieudo 10:04, 17 May 2010 (UTC)


 * I don't have that problem. And I don't know why you do since the tracking code hasn't changed. --Isb1009 14:40, 17 May 2010 (UTC)


 * He's not alone, I'm running 1.13.5 on several Intranet deployments and all of them stopped tracking when I upgraded to 0.6.1 and still no luck with 0.6.2 either. BcRIPster 22:27, 18 June 2010 (UTC)


 * I'm sorry, but you should use at least MediaWiki 1.14 to use Piwik ≥ 0.5. Maybe I should say that on the description page. --Isb1009 10:48, 27 June 2010 (UTC)

Why MediaWiki 1.14?
Hi. Why does this extension require MediaWiki 1.14? I don't see anything in the code that looks specific to 1.14. Is there something specific that fails in say MediaWiki 1.13.5 that could be fixed? --Cneubauer 13:41, 29 June 2010 (UTC)


 * Hmm, I just installed Piwik 0.6.3 and the trunk version of this extension on MediaWiki 1.13.5 and it seems to work just fine. --128.29.43.3 14:11, 29 June 2010 (UTC)