If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
top downloads not working  XML
Forum Index » Support Forum
Author Message
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.
Anonymous



Upload the script in ASCII-mode
Anonymous



It was done in ASCII mode.
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!
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
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
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum