Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Counting downloads

Reply to Post Add a New Topic
UserPost

4:08 pm
June 13, 2013


SkiFreak

New Member

posts 2

I am quite frustrated as I cannot see why I am not getting any data displayed.

Here is an example entry from my logfile:

xxx.xxx.xxx.xxx – – [13/Jun/2013:13:56:16 +1000] 
"GET /wp-content/themes/default/get-file.php?root=01&fldr=02&file=test.pdf 
HTTP/1.0" 200 54764 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"

 

and here is my code for the ExtraSection:

 

ExtraSectionName1="File Downloads"
 ExtraSectionCodeFilter1="200 304"
 ExtraSectionCondition1="URLWITHQUERY,&file="
 ExtraSectionFirstColumnTitle1="Downloaded files"
 ExtraSectionFirstColumnValues1="URLWITHQUERY,&file=([^&]+)"
 ExtraSectionFirstColumnFormat1="%s"
 ExtraSectionStatTypes1=HB
 ExtraSectionAddAverageRow1=0
 ExtraSectionAddSumRow1=1
 MaxNbOfExtra1=100
 MinHitExtra1=1
 MaxNbOfExtra1=5000
 MinHitExtra1=1

 

The section appears in awstats, but it is blank.

I get no errors or any other indication as to why the above code is not working.

Help!!!

9:55 am
June 14, 2013


SkiFreak

New Member

posts 2

Other than using the wrong syntax (should have been QUERY_STRING, not URLWITHQUERY), the problem was fixed by deleting the monthly data file and regenerating it.

 

Works now!

Reply to Post

Reply to Topic:
Counting downloads

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
11 + 5
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
14 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2712

Membership:

There are 257 Members
There have been 305 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)