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

Warning: Cannot modify header information - headers already sent #1435

Closed
jpfleury opened this issue Jun 19, 2010 · 1 comment
Closed

Warning: Cannot modify header information - headers already sent #1435

jpfleury opened this issue Jun 19, 2010 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@jpfleury
Copy link

I just visited Piwik on mySite.ext/piwik/ and I had these errors:

0.6.2
Warning: Cannot modify header information - headers already sent by (output started at /var/www/piwik/core/Http.php:306) in /var/www/piwik/core/Controller.php on line 403

Backtrace -->
#0 Piwik_ErrorHandler(2, Cannot modify header information - headers already sent by (output started at /var/www/piwik/core/Http.php:306), /var/www/piwik/core/Controller.php, 403, Array ([=> CoreHome,actionToRedirect => index,[=> 1,defaultPeriod => day,[defaultDate] => yesterday))
#1 header(Location:index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday) called at [/var/www/piwik/core/Controller.php:403]
#2 Piwik_Controller->redirectToIndex(CoreHome, index) called at [/var/www/piwik/plugins/CoreHome/Controller.php:41]
#3 Piwik_CoreHome_Controller->redirectToCoreHomeIndex()
#4 call_user_func_array(Array ([=> Piwik_CoreHome_Controller Object ( => CoreHome,[=> , => ,[=> 0, => ,[=> Array (label => General_ColumnLabel,[=> General_ColumnNbVisits,nb_actions => General_ColumnNbActions,[=> General_ColumnMaxActions,sum_visit_length => General_ColumnSumVisitLength,[=> General_ColumnNbUniqVisitors,nb_actions_per_visit => General_ColumnActionsPerVisit,[=> General_ColumnAvgTimeOnSite,bounce_rate => General_ColumnBounceRate,[=> General_ColumnValuePerVisit,goals_conversion_rate => General_ColumnVisitsWithConversions)),[=> redirectToCoreHomeIndex), Array ()) called at /var/www/piwik/core/FrontController.php:126
#5 Piwik_FrontController->dispatch() called at [/var/www/piwik/index.php:59]

@robocoder
Copy link
Contributor

This is a symptom of the same bug that you reported in #1423. Marking as a dupe of #1393.

This is fixed in the upcoming 0.6.3 release. In the interim, please update core/Http.php using: https://github.com/piwik/piwik/blob/master/2322/trunk/core/Http.php

@jpfleury jpfleury added this to the Piwik 0.6.3 milestone Jul 8, 2014
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. duplicate For issues that already existed in our issue tracker and were reported previously. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants