Skip to content


archive.php should require the piwik hostname as a parameter #2967

mattab opened this Issue · 1 comment

1 participant


Because the auto url detect does not work on some setup,

  • we should always require the piwik URL to be passed to the archive.php script.
  • Also we should start archive.php by calling an API to check that the URL is indeed a piwik url
  • and update the archive.php doc

(In [5881]) Fixes #2967

  • Adding new required parameter --url to be set to piwik URL
  • now testing the piwik URL by calling API.getDefaultMetricTranslations and checking we are querying a piwik server indeed
  • web cron, when SU token_auth is passed, should still work
@mattab mattab added this to the 1.7.x - Piwik 1.7.1 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.