Script Pulse

Trade Pulse => Trade Pulse Support => Topic started by: chickahoona on January 27, 2010, 12:27:19 AM

Title: Problem with TP on WP
Post by: chickahoona on January 27, 2010, 12:27:19 AM
I included the necessary file within the index.php (index.php of wp in the root dir of my htdocs) with

<?php include ('/var/www/silkengirl.com/html/tp/ssi_in.php'); ?>

But I discovered now that sometimes Im redirected to the 404 page of my site. This only happens when I load the page the first time. After pushing F5 (reload) everything looks good.

After deleting the cookie I am getting this failure again.

You can test this here: http://www.silkengirl.com/tgp/
(I now only include the ssi_in.php for this page)

Does anybody have an idea?
Title: Re: Problem with TP on WP
Post by: ip0li on January 27, 2010, 06:28:02 AM
Edit your theme files, add ssi_in.php as explained in manual and img.php ;)
Title: Re: Problem with TP on WP
Post by: chickahoona on January 27, 2010, 08:29:17 AM
If you mean to include it with:

virtual('/tp/ssi_in.php');

I can only tell you that Im using lighttpd and not apache and that virtual() is according to php.net an "an Apache-specific function".

and your img.php was never explained in your sticky thread here: http://forum.scriptpulse.com/index.php/topic,350.0.html

but I found it within your manual so thx for your help.

It seems to work now with img.php but can I also run it with a normal cron instead of including it as an img. For me it looks like a cheater would include something to fake hits.
Title: Re: Problem with TP on WP
Post by: ip0li on January 28, 2010, 05:02:44 AM
Leave img.php there don't worry we are not so stupid to make it so it can be cheated to grow hits in. Cheers