Page 1 of 2

CCount won't work

Posted: Mon Jan 16, 2006 4:43 pm
by ceco2006
Script URL:
Version of script:
Version of PHP: 4.3.10
Hosting company: GoDaddy
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try:

Write your message below:

I've followed all the instructions and I still get this error:

Link statistics
Can't open the log file (clicks.txt) for reading!

Anyone knows how to fix this??

Posted: Tue Jan 17, 2006 7:12 pm
by Klemen
Hello,

I think we had some issues with GoDaddy and files in the past, please upload this file to your server and place the link here:
http://www.phpjunkyard.com/extras/phpinfo.zip

Regards,

Posted: Tue Jan 24, 2006 12:29 pm
by ceco2006
here's the link:

http://pixelholidays.com/phpinfo.php


I spoke to godaddy and they say that because is in a windows server PHP is running in safe mode. Does it make any sense?

Posted: Tue Jan 24, 2006 1:27 pm
by Klemen
CCount won't work on their server because they have fopen() function disabled. Nor will any other PHP script that reads/writes to text files.

Posted: Tue Jan 24, 2006 6:43 pm
by ceco2006
thanks for the answer.... that explains a lot

Posted: Sun Feb 12, 2006 4:18 pm
by Katy
Hello! I have the same problem! :( Here's the link:

http://my-stuff.be/phpinfo.php

Please, help!!!!

Posted: Sun Feb 12, 2006 10:55 pm
by Klemen
Hi,

What is the EXACT error message you get and when do you get it (main admin page, when adding links, when clicking?)?

Can you also reset admin password to "admin" so I can have a look.

Regards

Posted: Mon Feb 13, 2006 3:14 pm
by Katy
OK, when I log in to my admin control panel and try to add a link i.e. http://www.my-stuff.be/downloads/cweb.zip and when I click Add link I get this error:

Can't open the id file (ids.txt) for reading!

Here's the link to my Ccount admin cpanel (password is default):

http://www.my-stuff.be/ccount/

Please, help me!!!!

Posted: Tue Feb 14, 2006 3:58 pm
by Klemen
Hi,

Have you CHMOD-ed files "clicks.txt" and "ids.txt" to 666? You can read how to do it here:
http://www.phpjunkyard.com/ftp-chmod-tutorial.php

Regards

Posted: Thu Feb 16, 2006 8:32 pm
by Katy
Yes, I have! But nothing works... :(

Posted: Fri Feb 17, 2006 5:29 pm
by Klemen
Hi,

Not sure from your phpinfo file, but I think you have fopen function disabled on your server. Try this file, what do you get?
http://www.phpjunkyard.com/extras/fopen.zip

Regards

Posted: Fri Feb 17, 2006 5:33 pm
by Klemen
Forgot to mention you should upload the file to your ccount folder. If you get an error try moving this file and file ids.txt to you root html folder and see if it works from there (http://www.my-stuff.be/fopen.php)

Regards

Posted: Fri Feb 17, 2006 7:57 pm
by Katy

Posted: Fri Feb 17, 2006 8:10 pm
by Klemen
Ok, fopen() seems to work, now let's try with this one:
http://www.phpjunkyard.com/extras/write.zip

Posted: Fri Feb 17, 2006 8:13 pm
by Katy