#3270 closed Bug (fixed)

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

Reported by: matt Owned by:
Priority: normal Milestone: 1.8.3 - Piwik 1.8.3
Component: Core Keywords:
Cc: Sensitive: no

Description

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

Change History (2)

comment:1 Changed 21 months ago by matt (mattab)

  • Summary changed from When a http requests fails (mysql fail or other exception) in archive.php mode, display errors in plain text, not html to Import Logs script: when a http requests fails (mysql fail or other exception), display errors in plain text, not html

comment:2 Changed 21 months ago by matt (mattab)

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

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