CCount won't work

Post your Click counter digestion problems here
ceco2006
Posts: 3
Joined: Mon Jan 16, 2006 4:38 pm

CCount won't work

Post 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??
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post 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,
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
ceco2006
Posts: 3
Joined: Mon Jan 16, 2006 4:38 pm

Post 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?
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
ceco2006
Posts: 3
Joined: Mon Jan 16, 2006 4:38 pm

Post by ceco2006 »

thanks for the answer.... that explains a lot
Katy
Posts: 15
Joined: Sun Feb 12, 2006 4:15 pm

Post by Katy »

Hello! I have the same problem! :( Here's the link:

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

Please, help!!!!
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Katy
Posts: 15
Joined: Sun Feb 12, 2006 4:15 pm

Post 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!!!!
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Katy
Posts: 15
Joined: Sun Feb 12, 2006 4:15 pm

Post by Katy »

Yes, I have! But nothing works... :(
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Katy
Posts: 15
Joined: Sun Feb 12, 2006 4:15 pm

Post by Katy »

Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Ok, fopen() seems to work, now let's try with this one:
http://www.phpjunkyard.com/extras/write.zip
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Katy
Posts: 15
Joined: Sun Feb 12, 2006 4:15 pm

Post by Katy »

Post Reply