Closed (fixed)
Project:
Google Analytics
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2010 at 16:45 UTC
Updated:
4 Feb 2011 at 22:05 UTC
Jump to comment: Most recent file
Comments
Comment #1
hass commentedReviewed the code,
url()is in place and also looked at the source code on my box. Cannot repro.URL is correctly build:
Comment #2
d.sibaud commentedyes, but if you try to get the /drupal6/de/files/googleanalytics/ga.js file it give you a Page not Found 'cause the path is incorrect for a file, the correct path would be /drupal6/files/googleanalytics/ga.js.
Am I wrong?
Comment #3
hass commentedOk, here is a patch.
Comment #4
hass commentedComment #5
hass commentedComment #6
hass commentedDamn testing infrastructure
Comment #7
hass commentedComment #8
d.sibaud commentedthank you hass! I'll give you a feedback in a day.
Comment #9
hass commentedComment #10
hass commented#6: ga_i18n_path_6.patch queued for re-testing.
Comment #11
hass commentedCommitted slightly changed versions to 6.x-3.x and 7.x-1.x.
Comment #12
hass commentedComment #14
tobiberlinHi,
I want to re-open this issue for 6.x-3.0 version - I wondered in one project of mine why there were so few visitors and checked my code via http://sitescanga.com/. It claimed that the ga.js have not been found in 100 % of all pages. When I turned off the locally caching and checked it again the code seemed to be ok and the JavaScript was found in all pages. When I checked by code directly I found out that the language prefix is still added to the path for the locally cached JavaScript file so the path is incorrect.
Greez,
Tobias
Comment #15
hass commentedThis bug will be fixed in 3.1 or later. Go without local caching for now or try dev version, please.
Comment #16
bcmiller0 commentedwe are also having this issue with PURL group pages.
Our page is this http://www.allplayers.com/g/apaches (and g/apaches is from PURL).
it is looking for http://www.allplayers.com/g/apaches/sites/default/files/googleanalytics/...
and getting a 404 when it should be using http://www.allplayers.com/sites/default/files/googleanalytics/ga.js
as the URL.
I'm going to try the patch in #10 to see if that fixes our issue.
Comment #17
bcmiller0 commentedafter apply patch in #10, it did indeed seem to fix our PURL issue.
thanks
Comment #18
tomsm commentedsubscribing
Comment #19
bcmiller0 commentedthis appears to be fixed in latest release 6.x-3.1. I have pulled this release and from inital test seems fixed.