Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mattab opened this issue Feb 22, 2012 · 1 comment
Closed

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

mattab opened this issue Feb 22, 2012 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Feb 22, 2012

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
@mattab
Copy link
Member Author

mattab commented Feb 23, 2012

(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 Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

1 participant