Author |
Message |
04/05/2002 20:09:59
|
Anonymous
|
I have top downloads running with no 500 errors. but, downloads by day gives me an error: Invalid log file daylog.txt. Daylog.txt is present and has chmod 666.
Also, when I download a file, it never records it and shows as zero. What gives? Do I have to include something in the anchor tag for the download to record?
Thanks.
|
|
04/05/2002 22:11:11
|
Anonymous
|
Upload the script in ASCII-mode
|
|
05/05/2002 01:02:36
|
Anonymous
|
It was done in ASCII mode.
|
|
07/05/2002 19:54:23
|
Anonymous
|
This was posted by another person, this might solve your problem:
Okay, I had a look see in stat_js.pl. Here's the solution:
Change
$basedat = "track.txt";
to
$basedat = "log.txt";
You only use stat_js.pl in .htm or .html docs !!
Like this: <script language="JavaScript" src="http://www.seigmen.org/cgi-bin/downloads/stat_js.pl?top=15"></script>
The SSI way shoul work just fine as it is, as long as you use the status.pl file to get the info from, like this: <!--#include virtual="/cgi-bin/downloads/status.pl?top=15" -->
, and as long as you've got a page ending with .shtm or .shtml[/b]
Goodluck!
|
|
20/08/2002 01:08:29
|
Anonymous
|
I'm having the same problem as the person above.
I go to the page generated by top download: http://www.domain.com/cgi-bin/download.pl?job=show&top=15 ... Then I click on the "Downloads by Day" link. The following message gets displayed:
Top Downloads 2.0
--------------------------------------------------------------------------------
Invalid log file daylog.txt.
At the following url: http://www.domain.com/cgi-bin/download.pl?job=stats
I have noticed that all the download count for all zips remains 0 even though I know people are downloading (I asked a few people to download to test it).
When I checked stat_js.pl as justus04011 recommeneded above, $basedat = "log.txt"; , is correct.
Any help is appreciated. Thank you!
Andrea
|
|
20/08/2002 01:10:14
|
Ria
Newbie
Joined: 20/08/2002 00:39:59
Messages: 1
Offline
|
Edit: I'm the same person as above "Guest" I forgot to login to my account.
Thanks,
Andrea
|
|
|