Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with "Visits by Day of Week" + "segment API" #3669

Closed
anonymous-matomo-user opened this issue Jan 13, 2013 · 1 comment
Closed

Problem with "Visits by Day of Week" + "segment API" #3669

anonymous-matomo-user opened this issue Jan 13, 2013 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@anonymous-matomo-user
Copy link

  • 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
Copy link
Member

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

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants