| User | Post |
|
11:51 pm November 8, 2010
| mushu
| | |
| Member | posts 7 | |
|
|
What else could be the problem? I have the awstats_misc_tracker.js in my homepage html code before the closing /body tag, I have the awstats_misc_tracker.js file in the correct web directory on my server, the information *is* being written in my log files (thus I know the script is installed and running properly), but nothing shows up in my monthly reports in the Miscellaneous section except for "Successful hits on favicon.ico" which has "30664 / 21288 Visitors   144 %" in it.  :(
Any ideas for where to look are appreciated. The problem has to be in the awstats.pl code itself, or perhaps when I generate the database files it is somehow getting stripped out. I have no idea but this is frustrating…
|
|
|
12:18 am November 9, 2010
| Jean-Luc
| | |
| Admin
| posts 1063 | |
|
|
Hi,
Can you paste here a few lines from your log files that contain "awstats_misc_tracker.js" ?
|
|
|
12:35 am November 9, 2010
| mushu
| | |
| Member | posts 7 | |
|
|
Here's one:
Â
2010-10-30 07:16:27 198.238.214.32 GET /Script/awstats_misc_tracker.js screen=1152x864&win=1131x665&cdi=32&java=true&shk=n&svg=n&fla=y&rp=n&mov=n&wma=y&pdf=y&uid=awsuser_id127134818 1156r6334&sid=awssession_id1288422366531r1993 80 – 70.99.138.91 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3. 0.4506.2152;+.NET+CLR+3.5.30729;+OfficeLiveConnector.1.4;+OfficeLivePatch.1.3) http://agr.wa.gov/ agr.wa.gov 304 0 0 213 973 343
Â
2010-10-30 07:16:27 198.238.214.32 GET /Script/awstats_misc_tracker.js screen=1152x864&win=1131x665&cdi=32&java=true&shk=n&svg=n&fla=y&rp=n&mov=n&wma=y&pdf=y&uid=awsuser_id127134818 1156r6334&sid=awssession_id1288422366531r1993 80 – 70.99.138.91 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3. 0.4506.2152;+.NET+CLR+3.5.30729;+OfficeLiveConnector.1.4;+OfficeLivePatch.1.3) http://agr.wa.gov/ agr.wa.gov 304 0 0 213 973 343
Â
and another:
2010-10-30 07:44:46 198.238.214.32 GET /Script/awstats_misc_tracker.js screen=1440x900&win=1440x676&cdi=24&java=false&shk=y&svg=n&fla=y&rp=y&mov=n&wma=y&pdf=y&uid=awsuser_id128842466 9538r1404&sid=awssession_id1288424669538r1404 80 – 24.220.155.136 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.9.2.11)+Gecko/20101012+Firefox/3.6.11+GTB7.1+(+.NET+CLR+3.5.30729;+.NET 4.0E) http://agr.wa.gov/ agr.wa.gov 200 0 0 7769 767 93
|
|
|
6:34 am November 9, 2010
| Jean-Luc
| | |
| Admin
| posts 1063 | |
|
|
Does the AWStats config file exactly contain the following lines ?
Â
MiscTrackerUrl="/Script/awstats_misc_tracker.js"
ShowScreenSizeStats=1
ShowMiscStats=anjdfrqwp
or
ShowMiscStats=1
|
|
|
5:39 pm November 9, 2010
| mushu
| | |
| Member | posts 7 | |
|
|
These are copied out of the config file directly:
MiscTrackerUrl="/Script/awstats_misc_tracker.js"
ShowScreenSizeStats=1
ShowBrowsersStats=1
ShowMiscStats=anjdfrqwp
|
|
|
6:19 pm November 9, 2010
| Jean-Luc
| | |
| Admin
| posts 1063 | |
|
|
Here is what I did:
- I put the three lines from your log file in a file here.
- I created a config file where I added the four lines from your last message.
- Then I run an AWStats update and I got a report with a valid "Miscellaneous Section".
I used AWStats 6.95. What version do you use ?
You might want to replace your AWStats by a fresh copy.
|
|
|
6:28 pm November 9, 2010
| mushu
| | |
| Member | posts 7 | |
|
|
I used version 6.95 also. Here is a screen shot of that section of my report…
[Image Can Not Be Found]
http://www.picly.com/show-imag…..72f5afcf3a
Might need to copy-n-paste the url into your browser, sorry. Also the stupid javascript redirects on picly are stupid, just pound your ESC key right when the webpage is loading to prevent the redirects. :(
|
|
|
6:50 pm November 9, 2010
| Jean-Luc
| | |
| Admin
| posts 1063 | |
|
|
When did you add the directives for the miscellaneous section in the config file ? These directives must be in the file at the time of the update. If you just add them at the time you look at the report, the miscellaneous section will remain empty.
|
|
|
9:21 pm November 9, 2010
| mushu
| | |
| Member | posts 7 | |
|
|
I added them after having run the stats for this month BUT then went back and re-ran the -update option to include that info in the database. I assumed they would update the existing stats for the month and overwrite them with valid information, and in fact it did populate another section I had also added but just not this Miscellaneous section. I can re-run the database update function yet again but don't think it will make any difference for this section.
One question is: I noticed a few corrupted sections in the log files that do not contain the actual javascript data but just a blank link to /Script/awstats_misc_tracker.js without any data following it. If that log file row was parsed by awstats prior to a row that does contain useful javascript data, might that cause the entire section to be ignored in the report? I would assume awstats simply ignores those useless log file rows, but perhaps it somehow corrupts an internal counter or something and prevents the valid data from being added to the report. Just a thought…
|
|
|
9:30 pm November 9, 2010
| Jean-Luc
| | |
| Admin
| posts 1063 | |
|
|
The only good way to rerun the stats for a part of a month is to temporarily move all AWStats data files out of the DirData directory and rerun the stats for the complete month and then restore the other valid data files that were generated earlier.
Regarding your invalid lines, they will just be dropped. A line is all the characters between two end-of-line characters.
|
|
|
11:16 pm November 9, 2010
| mushu
| | |
| Member | posts 7 | |
|
|
I think I will wait until next month and just see if it comes out in the November stats report or not. If it does then I guess the rerun didn't work, if it doesn't then I will look in the awstats.pl code and see if I can figure out why it's not picking that data up from the log files.
Thank you for your time and willingness to help, I appreciate it. I have another question I want to ask but will create a new thread for that.
|
|