Link seems correct but don't work

Post your Click counter digestion problems here
Post Reply
dmss
Posts: 3
Joined: Mon Jun 20, 2011 3:42 pm

Link seems correct but don't work

Post by dmss »

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

Write your message below:

I logged-in, created a few links, placed the code in my webpage, but none of them work.

Here is one of the links on the http://dansmark.com/index.html page:
http://dansmark.com/Drawing2lisp_conver ... k.php?id=6

It is number 6 in the link I set in the Admin page.

I had the tech support guy give read/write permissions to everything in the "ccount" directory!
What is wrong?

Thanks!
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: Link seems correct but don't work

Post by Henrie »

The link is not working here.
Your link looks like

Code: Select all

<a href="http://dansmark.com/Drawing2lisp_converter.htm/ccount/click.php?id=6">Webpage</a>
The expected code is

Code: Select all

<a href="http://dansmark.com/ccount/click.php?id=6">Webpage</a>
(without Drawing2lisp_converter.htm/ )
But when I try to open the http://dansmark.com/ccount/ folder it is not available. So I have no idea where you have installed ccount, but the link you have provided is not correct.

The usage is as described in the page where you admin your links. Open the file index.php in you ccount folder.
Usage
To track clicks on a link, use this URL instead of the link original URL:
http://www.dansmark.nl/ccount/click.php?id=ID
Replace ID with the ID number of the URL, for example:
http://www.dansmark.com/ccount/click.php?id=13
The link to http://www.dansmark.com/ccount I have made up myself. In your admin page the correct link will be shown.

I hope this helps.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
dmss
Posts: 3
Joined: Mon Jun 20, 2011 3:42 pm

Re: Link seems correct but don't work

Post by dmss »

So you are saying:
The link that should direct a user to a webpage is NOT what needs to be in the link?
Example:
This is the link I want to track.
Link #1
<a href="http://dansmark.com/Drawing2lisp_conver ... Webpage</a>

Your saying to use this instead?
Link #2
<a href="http://dansmark.com/ccount/click.php?id=6">Webpage</a>

Then I would conclude:
a) I place Link #1 in the Admin page as the link to track.
b) Any link on the "http://dansmark.com" webpage only needs Link #2 (with proper ID) to call the script, then the script ID calls the link.
c) All links from Link #2 that has the ID call is then re-directed back to the proper page.

Is this it?

Update:
I just tried
http://dansmark.com/ccount/click.php?id=1
It don't work...

I also put this test-link in the page:
http://dansmark.com/ccount/click.php?id=1
It don't work either...
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: Link seems correct but don't work

Post by Henrie »

It does not work because http://dansmark.com/ccount/ does not point to you ccount folder.
When I opent that link it says "File not found" while instead it should open http://dansmark.com/ccount/index.php and show the login page for the admin page.

That is what i meant before that i made up the link to your ccount folder. Because i could not find it.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
dmss
Posts: 3
Joined: Mon Jun 20, 2011 3:42 pm

Re: Link seems correct but don't work

Post by dmss »

Deleted my response.

I got you!
/ccount needs to be /ccount12

Got it!

Thanks for the help!
Post Reply