@anonymous-piwik-user opened this issue on January 13th 2013
  • Using "segment" API in the url displays the desired output (data "filtered" by that segment)
  • While using the segment API, if try to produce the "Visits by Day of Week" graph I get the following error : (this is not specific to "pageUrl", also tried it with other parameters)

Segment parameter 'pageUrl' does not appear to have a valid format.

Go to Piwik Login

Backtrace: #0 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/core/Segment.php(47): Piwik_SegmentExpression->parseSubExpressions() #1 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/core/Archive.php(198): Piwik_Segment->__construct('pageUrl', '1') #2 /var/www/vhosts/______/applications/piwik_analytics/plugins/VisitTime/API.php(88): Piwik_Archive::build('1', 'day', '2012-01-01,2012...', 'pageUrl') #3 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/core/API/Proxy.php(190): Piwik_VisitTime_API->getByDayOfWeek('1', 'year', '2012-01-20', 'pageUrl') #4 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/core/API/Request.php(128): Piwik_API_Proxy->call(Array, Array) #5 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/core/ViewDataTable.php(425): Piwik_API_Request->process('Piwik_VisitTime...', 'getByDayOfWeek', Array) #6 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/core/ViewDataTable/GenerateGraphData.php(181): Piwik_ViewDataTable->loadDataTableFromAPI() #7 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/core/Controller.php(152): Piwik_ViewDataTable_GenerateGraphData->main() #8 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/plugins/VisitTime/Controller.php(88): Piwik_Controller->renderView() #9 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/core/FrontController.php(138): Piwik_VisitTime_Controller->getByDayOfWeek(Object(Piwik_ViewDataTable_GenerateGraphData_ChartVerticalBar), false) #10 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/core/FrontController.php(160): Piwik_FrontController->dispatch() #11 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/core/ViewDataTable/GenerateGraphHTML.php(187): Piwik_FrontController->fetchDispatch(Array, Array) #12 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/core/ViewDataTable/GenerateGraphHTML.php(141): Piwik_ViewDataTable_GenerateGraphHTML->getGraphData('VisitTime', 'getByDayOfWeek', Array) #13 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/core/ViewDataTable/GenerateGraphHTML.php(125): Piwik_ViewDataTable_GenerateGraphHTML->buildView('VisitTime', 'getByDayOfWeek', Array) #14 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/core/Controller.php(152): Piwik_ViewDataTable_GenerateGraphHTML->main() #15 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/plugins/VisitTime/Controller.php(88): Piwik_Controller->renderView() #16 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/core/FrontController.php(138): Piwik_VisitTime_Controller->getByDayOfWeek() #17 /var/www/vhosts/______/httpdocs/applications/piwik_analytics/index.php(53): Piwik_FrontController->dispatch(Object(Piwik_ViewDataTable_GenerateGraphHTML_ChartVerticalBar), false)

Keywords: weekday segment segmentation

@diosmosis commented on January 18th 2013

(In [7781]) Fixes #3669, when parsing URL in JS split param parts on first '=' only.

This issue was closed on January 18th 2013
Powered by GitHub Issue Mirror