I am using SS 2.3.1 and I came across the statistics module ( http://silverstripe.org/statistics-module/ ), downloaded from http://silverstripe.org/assets/modules/trunk/statistics-trunk-r70114.tar.gz.
The framework inclusions is as follows:
//Get rid of prototype 1.4.x
//Load prototype 1.5.x
I can see that the jsparty/prototype15.js has Version set to 184.108.40.206, and I can see that the jsparty/prototype.js has Version set to 1.4.0_rc3.
When I print the Prototype.Version in the js exception, I see that the version in play seems to be 1.4.0_rc3 rather than the 220.127.116.11 ( even though the inclusion suggests that it should use the newer version.
I tried modifying/removing the version check, and then it complains about a "new Hash()" ( there is another post for this error on the forums somewhere ). I'm not sure why but I suspect that the Hash() function/class is not defined in the old version.
So my question is this:
1) Why is the incorrect Prototype version seem to be loading, and how can I debug this ?
2) If there is an easier way to have/gather site statistics, how/what/where ( preferably with a working example ) ?