Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#3509 closed Bug (fixed)

Notice: Undefined index: idSite in visitorLog.tpl.php

Reported by: Thomas Owned by:
Priority: normal Milestone: 1.9.2 - Piwik 1.9.2
Component: Core Keywords: Undefined index idSite
Cc: Sensitive: no

Description

When switch to showing 100 entries in visitor log. Reproduceable. Does not show when display only 20 entries (which is default). Error show up in one of the first 20 entries.

http://[..]/index.php?module=CoreHome&action=index&date=2012-11-03&period=year&idSite=8#module=Live&action=getVisitorLog&date=2012-11-03&period=year&idSite=8

Piwik 1.9.1. Updated automatically from previous release.

There is an error. Please report the message (Piwik 1.9.1) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: Undefined index: idSite in /homepages/10/d250282812/htdocs/piwik/tmp/templates_c/%%4646246227F0A%%visitorLog.tpl.php on line 362

Backtrace -->

#0 Piwik_ErrorHandler(...) called at homepages/10/d250282812/htdocs/piwik/tmp/templates_c/%%46^462^46227F0A%%visitorLog.tpl.php:362
#1 include(...) called at homepages/10/d250282812/htdocs/piwik/libs/Smarty/Smarty.class.php:1263
#2 Smarty->fetch(...) called at homepages/10/d250282812/htdocs/piwik/core/View.php:133
#3 Piwik_View->render(...) called at homepages/10/d250282812/htdocs/piwik/core/Controller.php:153
#4 Piwik_Controller->renderView(...) called at homepages/10/d250282812/htdocs/piwik/plugins/Live/Controller.php:90
#5 Piwik_Live_Controller->getVisitorLog(...) called at [:]
#6 call_user_func_array(...) called at homepages/10/d250282812/htdocs/piwik/core/FrontController.php:138
#7 Piwik_FrontController->dispatch(...) called at homepages/10/d250282812/htdocs/piwik/index.php:53

Piwik # Web Analytics

The requested website id = 0 (or its property currency) couldn't be found

Go to Piwik
Login
Backtrace:

#0 /homepages/10/d250282812/htdocs/piwik/core/Site.php(154): Piwik_Site->get('currency')
#1 /homepages/10/d250282812/htdocs/piwik/core/Piwik.php(1405): Piwik_Site->getCurrency()
#2 /homepages/10/d250282812/htdocs/piwik/core/Piwik.php(1456): Piwik::getCurrency(NULL)
#3 /homepages/10/d250282812/htdocs/piwik/core/SmartyPlugins/modifier.money.php(28): Piwik::getPrettyMoney('1', NULL)
#4 /homepages/10/d250282812/htdocs/piwik/tmp/templates_c/%%4646246227F0A%%visitorLog.tpl.php(362): smarty_modifier_money('1', NULL)
#5 /homepages/10/d250282812/htdocs/piwik/libs/Smarty/Smarty.class.php(1263): include('/homepages/10/d...')
#6 /homepages/10/d250282812/htdocs/piwik/core/View.php(133): Smarty->fetch('Live/templates/...')
#7 /homepages/10/d250282812/htdocs/piwik/core/Controller.php(153): Piwik_View->render()
#8 /homepages/10/d250282812/htdocs/piwik/plugins/Live/Controller.php(90): Piwik_Controller->renderView(Object(Piwik_ViewDataTable_HtmlTable), false)
#9 [internal function]: Piwik_Live_Controller->getVisitorLog()
#10 /homepages/10/d250282812/htdocs/piwik/core/FrontController.php(138): call_user_func_array(Array, Array)
#11 /homepages/10/d250282812/htdocs/piwik/index.php(53): Piwik_FrontController->dispatch()
#12 {main}

Piwik.org homepage
Piwik Frequently Asked Questions
Piwik Documentation
Piwik Forums
Piwik Online Demo

Change History (2)

comment:1 Changed 18 months ago by SteveG (sgiehl)

  • Milestone set to 1.9.2 - Piwik 1.9.2
  • Resolution set to fixed
  • Status changed from new to closed

Thanks for reporting. This one should be fixed and will be included in the upcoming version 1.9.2.

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

  • Summary changed from Undefined index: idSite in [...]piwik/tmp/templates_c/%%46^462^46227F0A%%visitorLog.tpl.php on line 362 to Notice: Undefined index: idSite in visitorLog.tpl.php
Note: See TracTickets for help on using tickets.