Re: [phpOpenTracker-general] phpOpenTracker problem

Richard Green <[email protected]> Wed, 22 Mar 2006 12:14:50 +1100
Newsgroups gmane.comp.web.phpopentracker.general
Message-ID <[email protected]>
From your description it sounds as if links where a referer is set are not 
incrementing correctly. First I would confirm this is really the case, by 
linking to my test page from somewhere else, and seeing if the problem is 
reproducable.

Coming from a networking background, I'd first confirm everything is happening 
as I expect by sniffing the network traffic at the PC and/or at the server to 
see what requests are /really/ being passed to the server. Your server logs 
if you have access to them may also provide useful information.

Next check the <img src=image.php?referer=$refering_page> tag is being created 
correctly  (and any other parmameters you are passing), if the web-bug is 
embedded in a script that generates your HTML. 

If you have embedded your web-bug in a static page you probably won't  be 
passing the referer parameter

Test this by...

GET image.php?document_url=mytest1&referer=test_referer1

and then without the referer parameter.

(use wget / curl / a browser to send the GET request - e.g. 

wget -S \ 
"http://myserver.com/image.php?document_url=mytest1&referer=test_referer1"

).

Appropriate error logging on your db server may also show problems with 
indexing tables etc.

Cheers
Richard


On Wed, 22 Mar 2006 10:33 am, bsmiffy wrote:
> Hi,
>
> Not sure where to get help on this, please advise.
>
> I've just installed phpopentracker 1.5.2 on an apache server.
>
> It seems to work ok but some times the hits don't increment.
>
> I'm using  html files with image.php.
>
> when i show the file in a browser it increments the counts, when i go to
> goole and search for the site then click the link from there then the
> counts don't increment.
>
> Any ideas ? Please.
>
> Regards
>
> Brian
>
> n.b is there a forum that i can search/ post on?