PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
tag
Regular
Regular


Joined: Dec 18, 2003
Posts: 53
Location: Worldwide

PostPosted: Mon Jul 18, 2005 10:16 pm Reply with quote Back to top

The bans on NSNS are not being sent to the database.

Thank you for your help

it says it is Sent 3.0
phpnuke 7.5
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Tue Jul 19, 2005 6:49 am Reply with quote Back to top

hi tag,

you kind of suprise me to post a problem twise.
if its not writing to the db,or a block that doesnt show the blocked ip..
naturaly you know the block shows whats in the db.
so posting the same problem twice is confusing..

i just tested it in a few ways and sentinel works great ,blocked 200.200.200.200 just for fun and it shows perfectly
so its not a sentinel problem,but maybe the pached is...
or something went wrong,or just install it again...clean i mean...
View user's profile Send private message
tag
Regular
Regular


Joined: Dec 18, 2003
Posts: 53
Location: Worldwide

PostPosted: Tue Jul 19, 2005 8:15 am Reply with quote Back to top

Actually I posted two different problems.... the one you answered was to the database.

I have reinstalled it about 5 times, this is the first time I got everything on the site working, reinstalling it again would serve no purpose.

I need to know what it stopping it from writing to the database.
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Tue Jul 19, 2005 8:34 am Reply with quote Back to top

well my guess would be your patched version.
View user's profile Send private message
tag
Regular
Regular


Joined: Dec 18, 2003
Posts: 53
Location: Worldwide

PostPosted: Tue Jul 19, 2005 11:33 am Reply with quote Back to top

hmmmm

the patched version came off this site, sentinel came off this site.

Sentinel set up the sentinel database, therefore it should be able to read from that database...

If you have something to actually point to other than the hundreds or so files in the patch please share the info.
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Tue Jul 19, 2005 11:55 am Reply with quote Back to top

no not realy.
i know that sentinel works perfectly without any problems.
so its to be expected that if something isnt working properly it is causede by nuke together with any patched file it uses.
a long time ago woth oldfer version it was a tiny bug that in some cases ip's werent added to the db,but only those that were added manualy.
a simular thing reads at
Only registered users can see links on this board!
Get registered or login to the forums!

but you can also pm raven to have a look.. Smile
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Tue Jul 19, 2005 11:56 am Reply with quote Back to top

no not realy.
i know that sentinel works perfectly without any problems.
so its to be expected that if something isnt working properly it is causede by nuke together with any patched file it uses.
a long time ago woth oldfer version it was a tiny bug that in some cases ip's werent added to the db,but only those that were added manualy.
a simular thing reads at
Only registered users can see links on this board!
Get registered or login to the forums!

but you can also pm raven to have a look.. Smile
View user's profile Send private message
tag
Regular
Regular


Joined: Dec 18, 2003
Posts: 53
Location: Worldwide

PostPosted: Tue Jul 19, 2005 12:37 pm Reply with quote Back to top

OK done we will see if that worked.

The line didnt match up perfect but it was close so just ahve to wait for another attack.
View user's profile Send private message Visit poster's website
tag
Regular
Regular


Joined: Dec 18, 2003
Posts: 53
Location: Worldwide

PostPosted: Wed Jul 20, 2005 1:00 am Reply with quote Back to top

Well ok that didnt work..
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Wed Jul 20, 2005 4:07 am Reply with quote Back to top

did you tried to add an ip manualy ?
View user's profile Send private message
Dacubz
Worker
Worker


Joined: Apr 27, 2004
Posts: 156
Location: Homer Glen, Illinois

PostPosted: Sun Nov 06, 2005 10:17 am Reply with quote Back to top

After searching, I found this thread. I'm running 7.6 patched 3.1 with Sentinel 2.42 and have the same problem. I get the email alert, but the IP isn't being added. I can add manually, but that's it. Not running httaccess either.
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Sun Nov 06, 2005 10:22 am Reply with quote Back to top

Well i never had any problem of sentinel not writting properly to the database..
I suggest you start installing again step by step...and if you do that ...it must work,and if not for some reason then your doing something wrong.. Sad
But the problem could be caused by something else,but first double check..
View user's profile Send private message
Dacubz
Worker
Worker


Joined: Apr 27, 2004
Posts: 156
Location: Homer Glen, Illinois

PostPosted: Sun Nov 06, 2005 10:38 am Reply with quote Back to top

Sentinel has been reinstalled. As a matter of fact, I actually reinstalled my whole site from the ground up using 7.6 patched 3.1 and Sentinel on Friday night. Prior to that, I had installed Sentinel alone, but my site was in need of an reinstall because of DB issues. Can I delete the Sentinel tables and try a reinstall that way?
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Sun Nov 06, 2005 10:41 am Reply with quote Back to top

well i completely ignore the 3.1,it causes to much problems...
If you can i suggest 3.0 ,but yes you can delete the tables,but you should have done that using its un-install function.
View user's profile Send private message
Dacubz
Worker
Worker


Joined: Apr 27, 2004
Posts: 156
Location: Homer Glen, Illinois

PostPosted: Mon Nov 07, 2005 7:40 pm Reply with quote Back to top

Reinstalled an no luck writing to the DB. Does 7.6 patched 3.1 have a known issue with this? Sorry I'm in the wrong thread, I searched and added to it. Rolling Eyes Where can I find patched 3.0?
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Nov 07, 2005 7:52 pm Reply with quote Back to top

I dont know...
It seems that 3.1 is giving a lot of peeps problems..
If you want the 7.6 3.0 here's the download link:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
Dacubz
Worker
Worker


Joined: Apr 27, 2004
Posts: 156
Location: Homer Glen, Illinois

PostPosted: Tue Nov 08, 2005 5:59 am Reply with quote Back to top

What files have changed between the two patches? Can I just upload the changed files instead of having to install the full patch? Question
View user's profile Send private message Visit poster's website
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Tue Nov 08, 2005 6:53 am Reply with quote Back to top

no
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Tue Nov 08, 2005 5:11 pm Reply with quote Back to top

A lot has changed between 3.0 and 3.1. Many bug fixes and optimizations.
Many of the 3.1 code changes are here:
Only registered users can see links on this board!
Get registered or login to the forums!


More post release changes are here:
Only registered users can see links on this board!
Get registered or login to the forums!


And you still have to do all the BBToNuke changes
View user's profile Send private message Visit poster's website
Dacubz
Worker
Worker


Joined: Apr 27, 2004
Posts: 156
Location: Homer Glen, Illinois

PostPosted: Tue Nov 08, 2005 5:50 pm Reply with quote Back to top

Hmmm. My site has been nuked for a few years. I was at 7.8, but downgraded to 7.6 patched and things were really screwed. I removed all files and went to a reinstall of 7.6 patched. Does BBtoNuke still need to be played with on my 3.1 installation? I have a couple of users with login problems, and I still have occasional max_question errors to my database.

Secondly, if I go to 3.0. will I need to modify any core files like I did in 3.1, and will the sql file need to be run at all?
View user's profile Send private message Visit poster's website
dcasmr
Worker
Worker


Joined: Feb 06, 2004
Posts: 147

PostPosted: Tue Nov 08, 2005 6:08 pm Reply with quote Back to top

I am having exactly the same problem with Sentinel not writing to DB. But, I do not think reversing to 3.0 is a solution ... Let's hope someone will figure out a solution.
View user's profile Send private message
podboy
New Member
New Member


Joined: Dec 18, 2006
Posts: 1

PostPosted: Mon Dec 18, 2006 10:08 am Reply with quote Back to top

Hi,

I was experiencing a similar problem after upgrading to NukeSentinel 2.5.03 from rwsRavenNuke76_v2.02.02_FULL.

Nukesentinel banned ips were not being written to the database, although manually added ips were.

My solution was fixed after finding a bug within includes/nukesentinel.php

Find function write_ban

Find:
Code:

      $db->sql_query("INSERT INTO `".$prefix."_nsnst_blocked_ips` VALUES ('$banip', '".$nsnst_const['ban_user_id']."', '$ban_username', '$user_agent', '".$nsnst_const['ban_time']."', '$addby', '".$blocker_row['blocker']."', '$querystring', '$getstring', '$poststring', '".$nsnst_const['forward_ip']."', '".$nsnst_const['client_ip']."', '".$nsnst_const['remote_addr']."', '".$nsnst_const['remote_port']."', '".$nsnst_const['request_method']."', '$abexpires', '$c2c')");


Replace with:
Code:

$banip_long = sprintf("%u", ip2long($nsnst_const['$banip']));
      $db->sql_query("INSERT INTO `".$prefix."_nsnst_blocked_ips` VALUES ('$banip', '$banip_long', '".$nsnst_const['ban_user_id']."', '$ban_username', '$user_agent', '".$nsnst_const['ban_time']."', '$addby', '".$blocker_row['blocker']."', '$querystring', '$getstring', '$poststring', '".$nsnst_const['forward_ip']."', '".$nsnst_const['client_ip']."', '".$nsnst_const['remote_addr']."', '".$nsnst_const['remote_port']."', '".$nsnst_const['request_method']."', '$abexpires', '$c2c')");


It was just missing the iplong field on the mysql command.
The only reason I discovered this bug was because my host had disabled .htaccess files, bah!

regards.
View user's profile Send private message
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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum