Author Topic: Problem with TP on WP  (Read 8810 times)

0 Members and 2 Guests are viewing this topic.

Offline chickahoona

  • Newbie
  • *
  • Posts: 2
    • View Profile
Problem with TP on WP
« 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?
« Last Edit: January 27, 2010, 12:30:42 AM by chickahoona »

Offline ip0li

  • mgSearkGD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1963
    • View Profile
    • Pretty Girls from your city for night
Re: Problem with TP on WP
« Reply #1 on: January 27, 2010, 06:28:02 AM »
Edit your theme files, add ssi_in.php as explained in manual and img.php ;)

Offline chickahoona

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Problem with TP on WP
« Reply #2 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.
« Last Edit: January 27, 2010, 08:47:15 AM by chickahoona »

Offline ip0li

  • mgSearkGD
  • Administrator
  • Hero Member
  • *****
  • Posts: 1963
    • View Profile
    • Pretty Girls from your city for night
Re: Problem with TP on WP
« Reply #3 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