Opened 4 years ago

Closed 4 years ago

#1074 closed Bug (fixed)

Missing Parameter in live plugin

Reported by: SvenL Owned by:
Priority: low Milestone: Piwik 0.5.2
Component: Core Keywords: live, plugin
Cc: Sensitive: no



there are 4 lines of code missing in Version 0.5.1. to view the index.php?module=Live&action=index&idSite=1&period=day&date=today without error messages

File: /plugins/Live/Controller.php

The index()-Function need this vars:

$view->visitorsCountHalfHour = $this->getUsersInLastXMin(30);
$view->pisHalfhour = $this->getPageImpressionsInLastXMin(30);
$view->pisToday = $this->getPageImpressionsInLastXDays(1);
$view->visitorsCountToday = $this->getUsersInLastXDays(1);

Change History (3)

comment:1 Changed 4 years ago by vipsoft (robocoder)

  • Milestone set to 1 - Piwik 0.5.2

comment:2 Changed 4 years ago by vipsoft (robocoder)

  • Priority changed from major to low

The widget is at module=Live&action=widget, so I've lowered the priority.

comment:3 Changed 4 years ago by vipsoft (robocoder)

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

In [1672], fixes #1074 - missing parameters for module=Live&action=index

Note: See TracTickets for help on using tickets.