PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Susann
Moderator


Joined: Dec 19, 2004
Posts: 2271
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Thu Jul 03, 2008 10:56 am Reply with quote Back to top

I got an error while I upgraded to this NS version.

Populate nuke_nsnst_harvesters: ERROR


I guess it was only because I had one entry already there:

July 3, 2008, 1:18 am 1062 : Duplicate entry 'linkwalker' for key 1
SQL was: INSERT INTO `nuke_nsnst_harvesters` (`harvester`) VALUES ('linkwalker')


So next step I removed LinkWalker from my Harvester block after the NukeSentinel upgrade was done. Next Step ?
Run NS upgrade again or how to handle this error normally ?
How would the insert for the harvester blocker in NS 2.6.00 looks like ?

Btw: I installed a fresh NukeSentinel version it took only a few minutes.
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4813

PostPosted: Thu Jul 03, 2008 11:20 am Reply with quote Back to top

Hi Susann, Yes the error seems to be because there was already data in row 1.
Running the installer again should insert the list of default harvesters (ignore errors for other tables as they will have already been done).
The sql you posted should work for adding that harvester back in but it is already in the 'default' list of 221 harvesters.

Perhaps as a future feature, NS should just add the harvesters without a 'hid' number because as you have found, it gives an error when there is already data there. As 'hid' is an auto-increment field, mySQL should automatically assign a row number but there would also be a need for NS to do a check for duplicates in the event you already had one or more harvesters in the DB and the NS added it again.

Good find thanks!
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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-2008 by Raven
Proud to be listed at Lobo Links Web Directory

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 Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

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

zerosum