Closed (fixed)
Project:
Piwik Web Analytics
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 May 2015 at 09:18 UTC
Updated:
12 Oct 2016 at 14:36 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hass commentedComment #2
maurizio_akabit commentedPiwik Issue
Comment #3
lucio.pileggi commentedSame problem on my fresh new piwik module installation, testing fail because piwik.php return error code 400.
Looks like the problem is related to this known Piwik issue: https://github.com/piwik/piwik/issues/7850
Comment #4
hass commentedThe issue is fixed in Piwik and will be in the next piwik release.
Comment #5
metme01454 commentedJust updated to version 2.13.1, still not fixed. Any idea in which release it will be fixed?
Thanks
Comment #6
hass commentedIn the next release I guess.
Comment #7
XTCHost commentedSo is it a Piwik problem or a drupal issue?
I am also using Piwik 2.13.1. and the problem still exists for me so I have added the tracking code to a block in the footer for now. All existing sites are still producing stats but show the same problem if you try and re save the configuration.
On another site I added the piwik plugin for Wordpress and that worked without problems
Comment #8
peterx commentedTo bypass the Piwik problem, I changed line 444 in piwik.admin.php to:
$url = $piwik_url . 'index.php';
Comment #9
hass commentedThe issue has been fixed in piwik - not this module.
Comment #10
checker commentedIf you can't wait and need a workaround immediately. You can do so like peter wrote.
You have to modify lines 444 and 456 (for ssl) in piwik.admin.inc to
$url = $piwik_url . 'index.php';This should be done back after update in piwik...
Edit: filename (piwik.admin.inc)
Comment #11
metakel commentedit should be "piwik.admin.inc", rather than "piwik.admin.php".
Comment #12
user1985 commentedHi,
I am trying to find the location of the file piwik.admin.php but couldn't. could anyone please let me know the location..
thanks
Comment #14
beardedgeek commentedI have the same issue, but Im running the latest version of Piwik 2.13.1
Comment #15
pvdpdrop commentedWorkaround of Peter works: just edit /sites/all/modules/piwik/piwik.admin.inc at line 444 and 456 to replace "piwik.php" by "index.php".
Thanks for the workaround, while waiting for the bugfix in a next release.
Comment #16
alexj12 commentedCreated a quick patch for this
Comment #17
alexj12 commentedComment #18
hass commentedComment #19
pBartels commentedThe patch is working but not yet part of piwik-7.x-2.x-dev, please add it. Thanks!