Blocked IP

Our support will answer all your general questions here.

Moderator: Rock

Post Reply
ateenz
Posts: 3
Joined: Sun Mar 11, 2012 11:29 am

Blocked IP

Post by ateenz »

Hi,

Successfully installed TE 3.0 on my site http://www.ateenz.com
Added IP protection with two IPs I'm surfing from
xxx.xxx.
yyy.yyy.
As I unchecking current IP I am now blocked out :roll:
Is there a solution for this or do I need to re-install?
texpert
Site Admin
Posts: 719
Joined: Sat Mar 14, 2009 5:54 pm

Re: Blocked IP

Post by texpert »

Hi there,

login through FTP and delete file te3/tedata/idata/allowed.dat
After that you should be able to login again ;-)

best regards,
Jim
ateenz
Posts: 3
Joined: Sun Mar 11, 2012 11:29 am

Re: Blocked IP

Post by ateenz »

Hi Jim,

Thanx. Now it works again :)

Next issue is that the
<?php virtual('/te3/in.php?'.$_SERVER['QUERY_STRING']); ?>
is not working. The page hangs on this line with an Apache error
mod_fcgid: stderr: PHP Fatal error: Call to undefined function virtual() in /home/ateenz/public_html/index.php on line 11
As indicated my LAMP is set up using FCGId (and rather not change that).
Any suggestions?

Toplists and count of outs is working with <?php include("toplist/top10.html"); ?>

/Alan
texpert
Site Admin
Posts: 719
Joined: Sat Mar 14, 2009 5:54 pm

Re: Blocked IP

Post by texpert »

Hi, if virtual is not available, try with "include" command instead, something like this:
include ("/FULL/PATH/TO/te3/in.php"); or include ("te3/in.php");
ateenz
Posts: 3
Joined: Sun Mar 11, 2012 11:29 am

Re: Blocked IP

Post by ateenz »

The full path include worked fine, the cockie showed up in the HTML page code, and the in hit was registered.
Thanks!
May I ask if there is any loss in functionality when the query string is not provided in the in.php call?
texpert
Site Admin
Posts: 719
Joined: Sat Mar 14, 2009 5:54 pm

Re: Blocked IP

Post by texpert »

Well, actually not, because include can access query string directly.
Post Reply