Opened 2 years ago

Closed 2 years ago

#2967 closed Bug (fixed)

archive.php should require the piwik hostname as a parameter

Reported by: matt Owned by:
Priority: major Milestone: 1.7.x - Piwik 1.7.1
Component: Core Keywords:
Cc: Sensitive: no

Description

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

Change History (1)

comment:1 Changed 2 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(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
Note: See TracTickets for help on using tickets.