Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm) v2.5.x
Author Message
wrecit
Regular
Regular



Joined: Jan 27, 2008
Posts: 99

PostPosted: Sun Feb 15, 2009 12:10 pm Reply with quote

They got this message

Quote:
You have attempted to access this site with an invalid IP.

If you think this is a mistake you can contact the site webmaster at wrecit(at)msn(dot)com.

Be SURE to include the following information in any email!
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Remote Address: 174.153.116.83
Client IP: none
Forwarded For: none


I checked all over Sentinal and went into the MySQL and can not find where this IP Addy is blocked. I am missing somthing here guys. This is the 3rd person in the past 24 hrs that has told me they have gotten this message.

The site is [ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Feb 15, 2009 4:42 pm Reply with quote

Did you try searching for invalid ip Smack
ROTFL [ Only registered users can see links on this board! Get registered or login! ] Wink
 
View user's profile Send private message
wrecit







PostPosted: Mon Feb 16, 2009 12:42 pm Reply with quote

Raven wrote:
Did you try searching for invalid ip Smack
ROTFL [ Only registered users can see links on this board! Get registered or login! ] Wink


you know some days I can use serch like a champ other days I am a total moron Wink

I looked at the link and the associated link in that thread and I will be totaly honest I am still clueless. I tried the fixes on my test site and I obviously did somthing wrong because it shut the whole site down (blank screen) I had to delete the whole HTML/ of the site and reload to get it to show back up. (I know I am an idiot lol)

Before I try it again here is the way I understand what I read


First Find lines 116-122 of /includes/nukesentinel.php :

// Invalid ip check
if($ab_config['test_switch'] != 1) {
if($nsnst_const['remote_ip']=="none") {
echo abget_template("abuse_invalid.tpl");
die();
}
}


Change it to:

// Invalid ip check
if($ab_config['test_switch'] != 1 || !$bypassNukeSentinelInvalidIPCheck) {
if($nsnst_const['remote_ip']=="none") {
echo abget_template("abuse_invalid.tpl");
die();
}
}




Then go to config.php and add:

$bypassNukeSentinelInvalidIPCheck = true;


Here is a question on the last step. am I just being blind and I need to just find the line and change it from false to true or is this line added fresh somewhere in config.php? If it is a clean new line where in the code do I put it?

Finaly is there somthing in the MySql that I need to delete?

Sorry for the blond moment on this one guys.
 
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Mon Feb 16, 2009 2:37 pm Reply with quote

It's in the rnconfig.php file.

You need to clear the IP address from the NukeSentinel blocked IP's table and also the .htaccess file.
 
View user's profile Send private message
wrecit







PostPosted: Mon Feb 16, 2009 3:11 pm Reply with quote

O.k. now to sound totaly stupid. I am looking all over and the only .htaccess file is the ShortLinks.htaccess

I am guessing that I am looking in the wrong place. anyone care to rub my nose in the spot where the file is since I am brain dead?
 
jakec







PostPosted: Mon Feb 16, 2009 3:22 pm Reply with quote

There should be a .htaccess file in the root of your site, which would be the same place as the shortlinks.htaccess.
 
wrecit







PostPosted: Mon Feb 16, 2009 3:26 pm Reply with quote

o.k. then if there is not I have another issue. In other words I have another issue.

Should I create a .htaccess directory/file?

Why do I have a feeling the next question will be why don't I take up another hobby Wink
 
jakec







PostPosted: Mon Feb 16, 2009 3:30 pm Reply with quote

Upload the one from the RN package.

I have a feeling this may be a host issue and them not allowing to few/use this type of file.
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Mon Feb 16, 2009 3:31 pm Reply with quote

No, it could be your ftp software, check the settings as some of them hide files that start with a .
 
View user's profile Send private message Send e-mail
jakec







PostPosted: Mon Feb 16, 2009 3:32 pm Reply with quote

Good point G. Wink
 
wrecit







PostPosted: Mon Feb 16, 2009 3:33 pm Reply with quote

Don't know if this means anything but I load Raven as a zip file (I zip the HTML directory) so I don't think it is an FTP problem ...... Right?
 
jakec







PostPosted: Mon Feb 16, 2009 3:35 pm Reply with quote

What I think G is saying that some FTP software has the option to hide files starting with a dot, therefore you may not see it, but it is there.
 
wrecit







PostPosted: Mon Feb 16, 2009 3:37 pm Reply with quote

I just tried to upload it and that is what it says

So it is there but invisable. where do I get my x-ray glasses to see the dang thing to clear up the issue.

Does this sound as dumb as I feel right now Blonde Moment
 
jakec







PostPosted: Mon Feb 16, 2009 3:38 pm Reply with quote

What FTP software are you using?
 
wrecit







PostPosted: Mon Feb 16, 2009 3:41 pm Reply with quote

I usualy use Batch FTP but for single files I usualy use the built in FTP that is in the Site Worx control panel.

This site was uploaded using Batch [ Only registered users can see links on this board! Get registered or login! ]

I tried to upload .htaccess with the one on site worx a few minutes ago and it told me file already exsists Bang Head
 
wrecit







PostPosted: Mon Feb 16, 2009 3:43 pm Reply with quote

Don't know if this helps but Sitworx has a logo for "Powered by FileMan"
 
jakec







PostPosted: Mon Feb 16, 2009 3:44 pm Reply with quote

Sorry never used that software, I usually use filezilla. Is there an option in the SiteWorx CP for viewing files on your server, if there is can you view the file?
 
wrecit







PostPosted: Mon Feb 16, 2009 3:45 pm Reply with quote

It has a file manager that is where I am right now re reading the help menu but not finding any infra red glasses setting (to see invisable files, ok so it was funnier in my head)
 
jakec







PostPosted: Mon Feb 16, 2009 3:46 pm Reply with quote

What about in Batch FTP?
 
wrecit







PostPosted: Mon Feb 16, 2009 3:48 pm Reply with quote

HEY I FOUND IT I THINK. I just entered .HTACCESS in the file manager serch
Will see if I can investigate now. will report in a minute
 
Guardian2003







PostPosted: Mon Feb 16, 2009 3:49 pm Reply with quote

*nix operating systems treat files that start with a dot/period (whatever you want to call it) as a system file and some ftp software hide them. You will need to look in your ftp software 'tools' or 'settings' menu to see if it has an option to 'view system files' or 'view hidden files'.
Most good ftp software doesn't hide them but some do. You clearly have the file on the server though from what you wrote in your last message Smile
 
wrecit







PostPosted: Mon Feb 16, 2009 3:53 pm Reply with quote

O.k. not sure what I was expecting (well I was expecting a list of numbers in here but you guys already know that was wrong) Here is what my .htaccess file is. What do I have to do to it???


Quote:
#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
# THESE INSTRUCTIONS APPLY TO ALL Options DIRECTIVES
#
# The lines below this section that begin with Options may cause problems
# with some server configurations. They are required for certain functions
# of Apache and RavenNuke(tm), but may already be set by your server administrator in a way
# that dissallows changing them in your .htaccess file. If using any of them causes your server
# to error out, comment them out (add # to beginning of line), reload your site in your browser
# and test the functionality that is affected. If it works, then it has been set by your server
# administrator and you do not need it set here.
#####################################################

# 'Options +FollowSymLinks' is required for use of mod_rewrite.
# Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

# 'Options +Includes' is required for use of Server Side Includes (SSI), such as custom error pages (like 403.shtml).
# Can be commented out if causes errors, see notes above.
Options +Includes

# -------------------------------------------
# Set search order for index files
# -------------------------------------------
DirectoryIndex index.php index.htm index.html

# -------------------------------------------
# For better performance set FileETag to NONE base on recommendations from
# [ Only registered users can see links on this board! Get registered or login! ]
# -------------------------------------------
FileETag none

# -------------------------------------------
# Only process if mod_expires is installed
# For faster load times cache certain types of files for specific amount of time
# You should adjust these settings based upon your caching requirements
# -------------------------------------------
<IfModule mod_expires.c>
ExpiresActive On
# ExpiresDefault A86400
ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType text/css "access plus 5 minutes"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType text/plain "access plus 15 minutes"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType video/x-flv "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/html "access plus 5 minutes"
ExpiresByType text/javascript "access plus 5 minutes"
ExpiresByType application/x-javascript "access plus 5 minutes"
</IfModule>

# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .ftaccess>
deny from all
</Files>

<Files .staccess>
deny from all
</Files>

# -----------------------------------------------------------------------------------------------------
# Leave this block commented out unless HTTPAuth is NOT available in your NukeSentinel(tm) Admin Panel.
# This code is mainly for use with CGI Authentication when PHP is compiled as CGI and NOT an Apache module.
# -----------------------------------------------------------------------------------------------------
# <Files admin.php>
# <Limit GET POST PUT>
# require valid-user
# </Limit>
# AuthName "Restricted"
# AuthType Basic
# AuthUserFile /path/to/your/.staccess
# </Files>
# -----------------------------------------------------------------------------------------------------

# -------------------------------------------
# If you use TegoNuke(tm) ShortLinks with RavenNuke(tm) then copy your ShortLinks.htaccess file/rules below inbetween
# the <IfModule> and </IfModule> tags.
# Only process if mod_rewrite is installed
# -------------------------------------------
<IfModule mod_rewrite.c>
# TegoNuke(tm) ShortLinks - ShortLinks.htaccess file/rules should go after this line
</IfModule>

# -------------------------------------------
# Error Document Redirects
# TegoNuke(tm) ShortLinks - ShortLinks.htaccess file MUST be before these directives (See above).
# If you add a new error redirect then you need to add the corresponding xxx.php file to modules/ErrorDocuments/
# Format:
# ErrorDocument xxx /PATH_TO_ERROR_DOCUMENT_RELATIVE_TO_WEB_SERVER_DOCUMENT_ROOT
# -------------------------------------------
ErrorDocument 400 /modules.php?name=ErrorDocuments
ErrorDocument 401 /modules.php?name=ErrorDocuments
ErrorDocument 403 /modules.php?name=ErrorDocuments
ErrorDocument 404 /modules.php?name=ErrorDocuments
ErrorDocument 406 /modules.php?name=ErrorDocuments
ErrorDocument 500 /modules.php?name=ErrorDocuments

# -------------------------------------------
# Start of NukeSentinel(tm) DENY FROM area
# -------------------------------------------
 
jakec







PostPosted: Mon Feb 16, 2009 3:54 pm Reply with quote

The IP's should be below this line:

# -------------------------------------------
# Start of NukeSentinel(tm) DENY FROM area
# -------------------------------------------

...but there appears to be none.
 
wrecit







PostPosted: Mon Feb 16, 2009 3:56 pm Reply with quote

o.k. cool I will skip that step in the prosess then and see if I can fix the issue
 
jakec







PostPosted: Mon Feb 16, 2009 3:56 pm Reply with quote

OK, so if you have cleared the IP from the database your user should now be able to access the site.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm) v2.5.x

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©