I just installed traxis on my site and just have one question. I am having a problem calling the counter script. I have read the instructions 20 times over and was wondering if someone else could explain an easier way to call the counter script? Thanks in advance Steven
2:34 am on Jan 10, 2001 (gmt 0)
Steven, are you using SSI to call it? If so, on some systems the server path layout could be a little tricky. You could make a simple print script and place it in the folder you have your tracking script in. Then try to call that via ssi. This could save you some time because you do not have to go back and fourth to traxis to see if you are making a successful call. After you see the printing script working you could switch it over.
here is an example of such a script:
#!/usr/bin/perl print "Content-type:text/html\n\n"; print 'you made the connection!';
I've particularly found ssi calls a royal pain on NT servers.
9:05 am on Jan 10, 2001 (gmt 0)
Littleman- Thanks for the reply as I am trying to use SSI to call it. I'm not sure if i set it up right though. This is what I have on my page <!--#include virtual="/home/myusername/public_html/cgi-bin/traxis-counter.cgi?site=baddealings.com"-->
Is this right? Thanks for the help again Steven
2:09 pm on Jan 10, 2001 (gmt 0)
Are you getting an error on the page where that line is?
Or is there nothing there at all? If this is the case, Server Side Includes might not be installed on your system or you need to change the page type to .shtml.
7:43 pm on Jan 10, 2001 (gmt 0)
sagerock- I don't get an error where the line is, my counter just isn't counting. So I am assuming that my ssi call is wrong, do you have any other ideas as to what the problem might be?
8:29 pm on Jan 10, 2001 (gmt 0)
Do you mean it isn't recording anything in your log file? If so, are you calling it correctly. I made that mistake initially as well. The data_path is probably going to be: "/www/yoursite/cgi-bin/traxis/data/"; (but instead, with how your server has its directory structure set up)
9:41 pm on Jan 10, 2001 (gmt 0)
Yeah I have nothing in my log file, and when i try to run reports it says total log files 0. So am I not calling it correctly?
Littleman- Thanks for the help, however it still doesn't work. :( My site is run with .php pages so would that have anything to do with the problem?
2:07 pm on Jan 11, 2001 (gmt 0)
php might be your problem. How about this, when you open the page in your browser - open the html and look to see if you still see <!--#include virtual="/home/myusername/public_html/cgi-bin/traxis-counter.cgi?site=baddealings.com"--> in the code. If you do then that means your server isn't recognizing the call. You might ask your server to make SSI's work for .php pages.