| Author |
Message |
fonemi New Member


Joined: Jul 27, 2005 Posts: 4
|
Posted:
Wed Jul 27, 2005 9:12 am |
|
I've applied all the instructions mentioned in README but when I try to enter my site it says "You are using an Invalid IP to access this site!". I tried entering using proxy but in that case, it is a blank page. What can I do ? |
|
|
|
 |
Guardian2003 Site Admin

Joined: Aug 28, 2003 Posts: 5909
|
Posted:
Wed Jul 27, 2005 9:21 am |
|
Which version of Sentinel are you using?
I assume you are using the latest patches from Chatserv as mentioned in the readme. |
|
|
|
 |
fonemi New Member


Joined: Jul 27, 2005 Posts: 4
|
Posted:
Wed Jul 27, 2005 9:31 am |
|
I am using PHP-Nuke 7.8 with patch and I downloaded Nuke Sentinel from url. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16759 Location: Kansas
|
Posted:
Wed Jul 27, 2005 10:01 am |
|
Is this on your local PC? If so, comment out this line in includes/nukesentinel.php | Code: | // Invalid ip check
if($nsnst_const['remote_ip']=="none") { die(_AB_INVALIDIP); } |
so that it looks like | Code: | // Invalid ip check
//if($nsnst_const['remote_ip']=="none") { die(_AB_INVALIDIP); } |
Do the same if it's on your Production site. It just normally only happens on your local testing. |
Last edited by Raven on Wed May 17, 2006 10:04 pm; edited 1 time in total |
|
|
 |
fonemi New Member


Joined: Jul 27, 2005 Posts: 4
|
Posted:
Wed Jul 27, 2005 10:21 am |
|
Ok thanks very much. But now it is a blank page. |
|
|
|
 |
fonemi New Member


Joined: Jul 27, 2005 Posts: 4
|
Posted:
Wed Jul 27, 2005 10:59 am |
|
Ok, I solved the problem ... Thanks so much ... |
|
|
|
 |
houstonguy New Member


Joined: Jul 26, 2005 Posts: 19
|
Posted:
Wed Jul 27, 2005 4:31 pm |
|
hehe i got platinum and im using 2.2.1 or 221 completed sentinel if u want that i have to do some research for the link hehe |
|
|
|
 |
bodster New Member


Joined: Aug 13, 2005 Posts: 1
|
Posted:
Sat Aug 13, 2005 7:00 am |
|
Have applied the above fix and I'm getting a blank page as well can you tell me you got around this?
EDIT: Sorry my mistake it worked perfectly (Helps if you start your server first) |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16759 Location: Kansas
|
Posted:
Sat Aug 13, 2005 7:42 am |
|
|
|
 |
daemon Worker


Joined: Jan 07, 2005 Posts: 163
|
Posted:
Mon May 08, 2006 8:22 pm |
|
i just changed ips and routers and have this problem now.... i editted out the line but left the first part.... should i edit out the entire code or leave just the one line editted? |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16759 Location: Kansas
|
Posted:
Mon May 08, 2006 8:48 pm |
|
What do you mean you left the first part? |
|
|
|
 |
blith Client

Joined: Jul 18, 2003 Posts: 977
|
Posted:
Mon May 08, 2006 9:38 pm |
|
Some of my registered users getting this page
And they click on the link and it takes them to a Page Not Found
I am also seeing this show up in my error log. I did not know what it was until a user reported it today. Do I need to change those lines? |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16759 Location: Kansas
|
Posted:
Mon May 08, 2006 10:25 pm |
|
It's your call. People should have IP's and it's always suspicious. Did you refer to the Trouble Shooting section of the HowToInstall ? |
|
|
|
 |
daemon Worker


Joined: Jan 07, 2005 Posts: 163
|
Posted:
Mon May 08, 2006 11:40 pm |
|
this is what i have
| Code: | // Invalid ip check
if(isset($bypassNukeSentinelInvalidIPCheck) AND $bypassNukeSentinelInvalidIPCheck) {;}
//elseif ($nsnst_const['remote_ip']=="none") { die(_AB_INVALIDIP); } |
|
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16759 Location: Kansas
|
Posted:
Tue May 09, 2006 1:17 am |
|
What you should do is leave that code alone altogether and change the config.php option to TRUE. That's why I added that  |
|
|
|
 |
daemon Worker


Joined: Jan 07, 2005 Posts: 163
|
Posted:
Tue May 09, 2006 5:29 am |
|
done..... very odd my other site is working without the changes. |
|
|
|
 |
blith Client

Joined: Jul 18, 2003 Posts: 977
|
Posted:
Wed May 10, 2006 2:43 pm |
|
| Raven wrote: | What you should do is leave that code alone altogether and change the config.php option to TRUE. That's why I added that |
Thanks Raven. I will check out the config.php, The troubleshoot comes up page not found! |
|
|
|
 |
blith Client

Joined: Jul 18, 2003 Posts: 977
|
Posted:
Wed May 10, 2006 2:56 pm |
|
| blith wrote: | | Raven wrote: | What you should do is leave that code alone altogether and change the config.php option to TRUE. That's why I added that |
Thanks Raven. I will check out the config.php, The troubleshoot comes up page not found! |
Okay, I checked out the Troubleshoot section and here is what it says: | Code: | Q] I installed everything but when I try to access my site I get this message: You are using an Invalid IP to access this site!
[A] This normally happens when running the system on your desktop (localhost/127.0.0.1). It is a safety feature to keep people from trying to access your site w/o a valid IP. We have added a setting in config.php named $bypassNukeSentinelInvalidIPCheck and set the default value to FALSE. When running on your local machine (or wherever your test site is) you can set the value to TRUE in order to have NukeSentinel(tm) bypass that check. Please note that this should only be used when testing locally and not in a production environment.
|
But this is happening to registered users, people visiting the site. How does the local machine thing affect them? I checked my error log and I am getting quite a few hits on the troubleshoot link, which tells me folks are seeing the Invalid IP screen. What is the reason it is happening, how can I fix it, and still be secure? Thank you! |
|
|
|
 |
blith Client

Joined: Jul 18, 2003 Posts: 977
|
Posted:
Fri May 12, 2006 8:58 am |
|
Can anyone help with this? |
|
|
|
 |
real1 New Member


Joined: May 14, 2006 Posts: 2
|
Posted:
Sun May 14, 2006 8:42 pm |
|
it happens to me too, i comment out that line, and it works, but i get blocked from another site aswell besides my own! I've tried in my other os, linux and its the same, so it isn't of windows instalation, something's wrong with my ip
weird... |
|
|
|
 |
montego Former Admin in Good Standing

Joined: Aug 29, 2004 Posts: 8755 Location: Arizona
|
Posted:
Mon May 15, 2006 6:12 am |
|
Try this and let us know if that solves it:
|
|
|
|
 |
blith Client

Joined: Jul 18, 2003 Posts: 977
|
Posted:
Mon May 15, 2006 9:16 am |
|
Okay, I tried it. I will let you know if this works. thanks! |
|
|
|
 |
blith Client

Joined: Jul 18, 2003 Posts: 977
|
Posted:
Tue May 16, 2006 11:58 am |
|
This did not work. I am still confused as to what is happening. any1? |
|
|
|
 |
montego Former Admin in Good Standing

Joined: Aug 29, 2004 Posts: 8755 Location: Arizona
|
Posted:
Wed May 17, 2006 6:17 am |
|
I was hoping...
Is there any way to find out if they are using some kind of IP address "protection" software? That is the only thing I can think of. If so, you will have to leave it off or ask them to turn that off when using your site. I just don't know what else it could be. |
|
|
|
 |
blith Client

Joined: Jul 18, 2003 Posts: 977
|
Posted:
Wed May 17, 2006 8:31 am |
|
well, they told me that their cable company assigned new IPs and to the best of my knowledge they are not using protection software. Thank you for your help on this montego |
|
|
|
 |
|
|
|
|