Clicks don't record.

Post your Click counter digestion problems here
Post Reply
SueC
Posts: 4
Joined: Sat May 26, 2007 12:38 am

Clicks don't record.

Post by SueC »

Script URL:www.suesman.net
Version of script:1.1
Hosting company:Bravenet
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

I am sure it is something simple, I have all the information in the correct places, the admin panel works great, and the display shows up on the page, However, I am trying to link to a .rar download file and the #of downloads doesn't show up. I also have it linked to a form and the number of clicks don't show up on that either.

HELP????

I am really new at all the PHP stuff.

SueC

P.S. I have found alot of really great useful programs here, and I ALWAYS give credit where credit is due, usually ALOT larger than you ask, cuz, I want people to know where to go to get this great help.

like PHPMychat for live chat room, and PHP121 for website messengers. I love this place.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Have you replaced the original links with the ones generated by CCount? See my reply here for an example:
viewtopic.php?t=1327
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
SueC
Posts: 4
Joined: Sat May 26, 2007 12:38 am

Post by SueC »

yes I did but still not working, and when I add more urls, the want to generate to the first one.

I have alot of .rar files on the same page, and would like to keep track of them all.

Also wondering if I should replace that url somewhere in the clicks folder? And........,do I need to put the index.php on each of the pages for the files I want to download. It seems that url only goes to the admin panel which I have on the first one, and now have bookmarked for easy access.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

How about for start you give me URL to your index.php and URL of a page where you are counting clicks but it doesn't work?

You DID change URL to rar files to click.php?id=xx didn't you?
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
SueC
Posts: 4
Joined: Sat May 26, 2007 12:38 am

Post by SueC »

www.suesman.net/index.html any of the car files that are posted, clicks don't work on. the first one is ./guiness/guiness.rar Thanks for the response
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Ahh, I see the problem now. In the settings.php file, what is your $settings['click_url'] set to? It is probably

Code: Select all

$settings['click_url']="http://suesman.net/Guiness/Guinness_Ferarri_Jmb575.rar";
but it should be the URL of click.php, like this:

Code: Select all

$settings['click_url']="http://suesman.net/Guiness/click.php";
and that's why your CCount is generating wrong click URLs.

You should use
http://suesman.net/Guiness/click.php?id=1 to count clicks for this file.
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
SueC
Posts: 4
Joined: Sat May 26, 2007 12:38 am

Post by SueC »

Okay that would fix the admin panel, but it is the guiness.rar that I want counted, that and the # of comments.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I suggest that you:

1. delete all the existing links from your admin panel
2. add each link you want to count AGAIN. When added note the click.php?id=XX url generated
3. change the ORIGINAL link with the GENERATED one on your website.
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
Post Reply