Virtual on my server not available. Other tracking code?

Our support will answer all your general questions here.

Moderator: Rock

Post Reply
bonkbert
Posts: 1
Joined: Wed Apr 14, 2010 6:25 am

Virtual on my server not available. Other tracking code?

Post 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,
texpert
Site Admin
Posts: 719
Joined: Sat Mar 14, 2009 5:54 pm

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

Post 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!
levdrules
Posts: 2
Joined: Mon Apr 26, 2010 11:32 am

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

Post 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>
levdrules
Posts: 2
Joined: Mon Apr 26, 2010 11:32 am

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

Post by levdrules »

btw the SCRIPT works ok, its counting
texpert
Site Admin
Posts: 719
Joined: Sat Mar 14, 2009 5:54 pm

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

Post by texpert »

Hi there! Yep exactly. It should work like you said.
Post Reply