FAQFAQ   SearchSearch   MemberlistMemberlist  RegisterRegister   ProfileProfile   Log inLog in 

Click here to link to ChickenBoard ;)

Internal links bring me to blank pages
Post new topic   Reply to topic
Chickenboard Discussions Forum Index -> Turbo Traffic Trader PHP Support
View previous topic :: View next topic  
Author Message
powerfulsquid
Egg


Joined: 24 Aug 2006
Posts: 1

Post Internal links bring me to blank pages
Thu Aug 24, 2006 6:35 pm
Reply with quote

Hi, I recently installed the free script and have been using:
<?
include("ttt-in.php");
?>
in the <head></head> portion of the index page, but after it loads and I click on 'Home', it brings me to a blank page, same for links that direct to index.php.

I've tried virtual("ttt-in.php") as well to no avail.

What could I be doing wrong?

Thanks for any help!

-Joe
Back to top
View user's profile
mikeyboy82
Egg


Joined: 18 Oct 2006
Posts: 1

Post 
Wed Oct 18, 2006 6:27 pm
Reply with quote

Ok problem solved..Solution attached below. After waiting for half a day for somebody to reply or help me I started fucking around with ttt-in.php
I figured the problem was a domain conflict since it was internal. So in my second try I removed the www part from the cookie leaving only the . and it works as a charm

locate this part of the code
$mydomain = str_replace("www.","",$HTTP_SERVER_VARS["HTTP_HOST"]);

change it to
$mydomain = str_replace(".","",$HTTP_SERVER_VARS["HTTP_HOST"]);
and then re-upload let me know if it also works for you.
Back to top
View user's profile
wolfy
Egg


Joined: 09 Aug 2006
Posts: 16

Post 
Wed Dec 20, 2006 11:30 am
Reply with quote

this is the first fix I've seen for this, I'll keep it in mind. Thanks Smile
Back to top
View user's profile
dadaas
Egg


Joined: 29 Mar 2007
Posts: 9

Post 
Sun Apr 01, 2007 7:01 am
Reply with quote

MIKEYBOY you are the man, you solved my eror, this code should go to stickie!!!!!!!!!!!!!!!!


Quote:
Ok problem solved..Solution attached below. After waiting for half a day for somebody to reply or help me I started fucking around with ttt-in.php
I figured the problem was a domain conflict since it was internal. So in my second try I removed the www part from the cookie leaving only the . and it works as a charm

locate this part of the code
$mydomain = str_replace("www.","",$HTTP_SERVER_VARS["HTTP_HOST"]);

change it to
$mydomain = str_replace(".","",$HTTP_SERVER_VARS["HTTP_HOST"]);
and then re-upload let me know if it also works for you.

_________________
earn cash(get paid to post, promote...)--humor time portal - funny videos***link dump
Back to top
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group