Quote:
Originally Posted by AndrewD
This SQL squery is a check to see if the same user has made a hit on the same entry within the last few seconds. It's made to prevent double counting if, for example, the user 'double clicks' the url. So most of the time it should not return anything. I will need to investigate why it is generating database errors. However, you should be able to disable the message (and check) by setting the admin value timeout_hit_recording to zero.
|
Thanks, i will try changing that value.
Quote:
Originally Posted by AndrewD
Are all your entries 'downloads' (in the sense that LDM uses - i.e. they have filetypes that appear in the VB attachments table) or are there also some entries which have filetypes that are not in the mimetypes table?
Assuming everything is working ok, LDM *only* places daily limits on the first group, not on the second.
There is a second possibility, since you mention that the hits are in quick succession. Each 'hit' is only recorded when it completes, consequently if a user starts multiple downloads in quick succession, then she may be able to bypass the daily limits. If necessary, we might be able to find ways to prevent that occurring.
Please confirm - I will check the code in more detail if necessary.
|
Yes, all my downloads are .zip files, so it seems the second possibility is correct. But i guess i can live with that.
Oh, and if it helps, i am using php 4.4.2 and mysql 5.0.15