Page 1 of 1

Virtual on my server not available. Other tracking code?

Posted: Wed Apr 14, 2010 7:21 am
by bonkbert
Hello,

I just installed the script and added the tracking code on my site but I get an error message.
Fatal error: Call to undefined function virtual()

I asked my host and they say that Virtual is not available because they don't use PHP as an Apache Modul.
Instead they are using PHP as FastCGI for better performance.
They say that the virtual is in most cases poorly implemented and shouldn't be used.

Is there an alternative of code, I can use on my server?

Thanks,

Re: Virtual on my server not available. Other tracking code?

Posted: Thu Apr 15, 2010 4:02 pm
by texpert
You could use remote tracking code. Check manual under "Remote tracking" topic. And u don't need to install it on sub domain.

Let me know if that works for u!

Re: Virtual on my server not available. Other tracking code?

Posted: Mon Apr 26, 2010 12:59 pm
by levdrules
texpert,

I have the same issue with the virtual.

Do you mean you can simply add this in your body:

<SCRIPT language=JavaScript>
<!--
var ref = parent.document.referrer;
var rnd = Math.floor(Math.random() * 99999999);
document.write('<div><img src=http://domain.com/cgi-bin/te/in.cgi?p=d ... mote='+ref+' width=1 height=1 border=0></div>');
// -->
</SCRIPT>

Re: Virtual on my server not available. Other tracking code?

Posted: Mon Apr 26, 2010 1:14 pm
by levdrules
btw the SCRIPT works ok, its counting

Re: Virtual on my server not available. Other tracking code?

Posted: Mon Apr 26, 2010 3:16 pm
by texpert
Hi there! Yep exactly. It should work like you said.