Hi, I have used ccount a while now, and I think it's great apart from one thing. My clicks.txt file keeps crashing. Don't have any idea why, but it does. I have 87 links in the file.
It usually crashes and corrupts things after a link (between 30 and 40) so the links with id of more than 40 almost never work, but the ones with id 1-30 work all the time. What causes the file to be corrupted?
When you try to access a file with id 40+ after the file has crashed, you just get an error saying the id doesn't exist. Then I have to upload a backup to solve the problem temporarily, cause I know it will happen again.
My links have more than 10000 clicks, but that shouldn't have anything to say, right?
Also, is there any way to track where the links have been clicked from? I suspect people to steal my downloads and putting them on their own sites.
thanks
www.punkdisasters.com
clicks.txt crashing regularly
Hi,
You probably are a living example of what I am explaining to many people here. Text databases are not safe, fast and powerful enough for high-traffic systems and large databases. Because it uses a text database CCount can't handle 10000+ clicks and the most commont problem is a corrupted database file.
I strongly suggest you stop using CCount and find a MySQL based click tracker and you shouldn't have such problems anymore. CCount is not developed for high-traffic websites.
As far as "stealing downloads", this is called "Hotlinking". Try
http://www.google.com/search?q=.htacces ... prevention
or
http://www.google.com/search?q=hotlink+prevention
Regards
You probably are a living example of what I am explaining to many people here. Text databases are not safe, fast and powerful enough for high-traffic systems and large databases. Because it uses a text database CCount can't handle 10000+ clicks and the most commont problem is a corrupted database file.
I strongly suggest you stop using CCount and find a MySQL based click tracker and you shouldn't have such problems anymore. CCount is not developed for high-traffic websites.
As far as "stealing downloads", this is called "Hotlinking". Try
http://www.google.com/search?q=.htacces ... prevention
or
http://www.google.com/search?q=hotlink+prevention
Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
thanks man, but do you have any suggestions for mysql scripts that are somewhat similar to ccount? I've been searching for it for a year and not found anything that is better than ccount. i'm looking for something with stats,and if the script has stats for where the link was clicked too that would be great. i've searched through most big script sites.
Don't really know of any such script, sorry!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Due to the limitations of a text based database, can Ccount be installed in several places on a site.
I have a lot more files available for download than Ccount can handle and I am wondering if I can overcome the limitation by installing Ccount in different folders so that each install can handle a smaller portion of the files.
Thanks!
I have a lot more files available for download than Ccount can handle and I am wondering if I can overcome the limitation by installing Ccount in different folders so that each install can handle a smaller portion of the files.
Thanks!
Last edited by Hawk on Tue Mar 27, 2007 11:05 am, edited 1 time in total.
[size=100][i]Hawk[/i][/size]
Possible yes, recommended no. You will just have problems in the future, better to start with a MySQL based script.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
The most common problem is a corrupted (empty) clicks file meaning none of your links work. Keeping the count under 10000 won't help because it's the load that causes the problems, not numbers.
Take my advice and go with a MySQL script, CCount was not written to handle such loads because text databases are just not fast and reliable enough.
Take my advice and go with a MySQL script, CCount was not written to handle such loads because text databases are just not fast and reliable enough.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools