Closed (fixed)
Project:
Visitors (Web Analytics)
Version:
6.x-0.22
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2009 at 01:54 UTC
Updated:
14 Apr 2014 at 13:40 UTC
Jump to comment: Most recent
Comments
Comment #1
Miss Mopi commentedI have exactly the same problem.
Comment #2
cloud-dupe2 commentedme too.
Comment #3
dr_thomas64 commentedAnd me
Comment #4
chris-cmfi commentedI've got the issue too... so far can't find a solution.
Comment #5
clatho commentedI'm also having the same issue... is there any news or hints how to fix this problem?
Comment #6
HalNut commentedvisitors.info in visitors module.
; $Id: visitors.info,v 1.8 2009/05/09 08:56:19 gashev Exp $
I removed the last blank line in visitors.info. The file was 11 lines now 10.
1. Disable Visitors
2. Remove last blank line (There were 2 blank lines at bottom of file, now there is 1 total 10 lines).
3. Re-enable Visitors
4. Clear cache (Admin->Site Configuration->Performance->Clear cached data
5. Seems to have worked.
I am looking for confirmation.
Comment #7
HalNut commentedThere may be no issue with the visitors.info file.
While removing the second blank line in the visitors.info seemed to have resolved the issue, I'm not convinced it was the cause, as 2 blank lines (no spaces) at the end of the .info files is not an unusual pattern.
I cannot explain it, it just seemed to work.
Comment #8
fizk commentedI doubt that'll fix it, because other modules have blank lines at the end of their .info file.
Comment #9
gashev commentedvisitors.info hex dump from cvs:
$ hexdump -C visitors.info
visitors.info does not have blank lines.
visitors.info have only 5 lines. Next lines added automatically during create new release.
Comment #10
gashev commentedI cannot reproduce this issue. :(
Comment #11
dcaillibaud commentedI've the pb (6.x-0.23 with drupal 6.15), and removing blank lines doesn't change anything. The pb occurs only with anonymous user, from the second refresh of any page.
- clear cache
- as anonymous, go to any page => ok
- refresh, still ok
- refresh => KO
- all the next refresh are KO too (going elsewhere then displaying this page again display the error)
Seems like if the third display of any page for anonymous visitors display this error... (cache on)
Comment #12
gashev commenteddcaillibaud, what is your enabled modules list?
Comment #13
dthanos216 commentedI am also seeing this error. I can't find any white spaces anywhere. it happens every time anyone logs in. if you tell me how to output the module list I will provide you with ours.
Thanks.
Comment #14
phosgen commentedSetting the Caching-Mode under "Dashboard > Site Configuration > Performance" on "disabled" solved the problem for me.
Regards
Phos
Comment #15
gashev commenteddthanos216,
Modules list You can check to admin/build/modules page.
Comment #16
briandj62 commentedThe same for me.
I add that the problem occurs only when the cache is enabled AND an anonymous user goes the same page for the third time, exactly as in comment #11. In other words:
- enable cache/clear cache
- as anonymous, go to any page: OK
- go to any other page of web site: OK
- go again to the first visited page: OK
- go to any other page of web site: OK
- go for the third time to the first visited page: error!
From now on the error appears on ALL the pages visited as anonymous, unless the cache is disabled and cleared.
Comment #17
gashev commentedphosgen, thanks a lot!
I reproduced error,
Step to reproduce:
1) Open admin/settings/performance (Performance page).
2) Set Caching mode: normal, Page compression:enable, Block cache:enable, Optimize CSS files:enable, Optimize JavaScript files:enable.
3) Save configuration button click.
4) Clear cached data button click.
5) Logout click (redirect to /).
6) Refresh page, refresh page.
7) Displayed message alert "warning: Cannot modify header information - headers already sent by (output started at includes/bootstrap.inc:690) in includes/common.inc on line 141."
Solution:
visitors.module function visitors_exit,
Change
to
cvs diff:
Check, please, this solution. If all ok - I commit it.
Comment #18
briandj62 commentedOK. I thinks the patch works fine. Thanks!
Comment #19
gashev commentedFixed to 6.x-0.25.