Skip to content

Loading…

Import Logs script: when a http requests fails (mysql fail or other exception), display errors in plain text, not html #3270

Closed
mattab opened this Issue · 1 comment

1 participant

@mattab
Piwik Open Source Analytics member

Per title: When a http requests fails (mysql fail or other exception) in archive.php mode, display errors in plain text, not html

Example html errors: https://www.dropbox.com/sh/zat1m6lqphndpny/wH6n4mDaD6/output0907.txt

we could detect we are running archive.php mode and switch to CLI style errors

@mattab
Piwik Open Source Analytics member

(In [6642]) * Fixing broken POST tracking requests

  • Now displaying gif after init, so that errors can be displayed properly when occuring during a BULK import
  • Fixes #3270 Displaying plain errors when the Tracking request is authenticated (ie. when runnning log import or other manual tracking API calls)
@mattab mattab added this to the 1.8.3 - Piwik 1.8.3 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.