I successfully get into the Admin panel. I try to add a link to track clicks by typing in the home page URL of my site, i.e. http://www.mydomainname.com
However when I click on "Add link" I receive the following error:
Can't open the id file (ids.txt) for reading!
I see that file, my hosting server is a Windows machine so I don't have to be concerned about permissioning (right?). So I am stumped. Any help is really appreciated. Thanks.
-David
adding link to count error
@ddb:
Most windows servers will restrict writing to files. Check if you have a folder called "cgi" or "cgi-bin". Try installing CCount in that folder. If not you will have to contact your hosting company and ask them to set write permissions to your file.
@dEcade_:
Looks like you are on a Linux server. You have to setup correct CHMOD (file permissions) for clicks.txt and ids.txt. Please search these forums (use the search function) to find tips on how to do it (search from "chmod").
Regards
Most windows servers will restrict writing to files. Check if you have a folder called "cgi" or "cgi-bin". Try installing CCount in that folder. If not you will have to contact your hosting company and ask them to set write permissions to your file.
@dEcade_:
Looks like you are on a Linux server. You have to setup correct CHMOD (file permissions) for clicks.txt and ids.txt. Please search these forums (use the search function) to find tips on how to do it (search from "chmod").
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
adding link to counter error
Thank you for that reply...you were right, I needed to change the permissions of the 2 txt files to be writable.
counter can't OPEN file for READING
I'm running on a Windows server.
I'm 100% sure.
Your counter say:
Can't open the id file (ids.txt) for reading!
The script is here: http://www.soft.tahionic.com/cgi-bin/counter/index.php?
$settings['click_url']="http://www.soft.tahionic.com/cgi-bin/counter/click.php";
I've put the counter in CGI-BIN folder but I got the same error.
What should I do?
Thanks.
I'm 100% sure.
Your counter say:
Can't open the id file (ids.txt) for reading!
The script is here: http://www.soft.tahionic.com/cgi-bin/counter/index.php?
$settings['click_url']="http://www.soft.tahionic.com/cgi-bin/counter/click.php";
I've put the counter in CGI-BIN folder but I got the same error.
What should I do?
Thanks.
Make sure your ids.txt and clicks.txt files are writable by scripts. On Windows server you might need to contact your hosting company to set the correct settings for these two files (CHMOD doesn't work).
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