Page 1 of 1

Clicks don't record.

Posted: Sat May 26, 2007 12:48 am
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.

Posted: Sun May 27, 2007 5:43 pm
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

Posted: Mon May 28, 2007 12:45 pm
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.

Posted: Mon May 28, 2007 1:18 pm
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?

Posted: Mon May 28, 2007 8:13 pm
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

Posted: Mon May 28, 2007 8:35 pm
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.

Posted: Tue May 29, 2007 1:12 pm
by SueC
Okay that would fix the admin panel, but it is the guiness.rar that I want counted, that and the # of comments.

Posted: Fri Jun 01, 2007 1:02 pm
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.