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)
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
2Bob
Hangin' Around


Joined: Jan 24, 2006
Posts: 25

PostPosted: Sun Mar 25, 2007 11:14 am Reply with quote Back to top

Hi,

Firstly let me congratulate Raven and all involved for what must of been a monumental task in developing this distro.

To give a little history...
Some time ago i converted my nuke7.8 install to RN2.02, (and have never looked back) Tonight I decided to look at the upgrade to RN2.10. I firstly created a complete duplicate of my current site and DB to experiment with, did the conversion and was absolutely amazed at the ease so far. I intend test and go through this process once ot twice more before actually updating my "LIVE" site.

I have three errors in the first step of updating the tables:

1) ALTER TABLE nuke_banner ADD INDEX `bid` (bid); FAILED. MySQL reported: Duplicate key name 'bid'

2) CREATE TABLE nuke_cities (id mediumint(4) NOT NULL default '0', local_id mediumint(3) NOT NULL default '0', city varchar(65) NOT NULL default '', cc char(2) NOT NULL default '', country varchar(35) NOT NULL default '', PRIMARY KEY (id)); FAILED. MySQL reported: Table 'nuke_cities' already exists

3) city insert FAILED. MySQL reported: Duplicate entry '1' for key 1Can someone advise me what this would mean and if they are a problem ? Everything seems to work OK so far....

Also in updating the IP2country I received this error"

The exact error message that your MySQL server reported is:
MySQL Error # 4 = Duplicate entry '982745088-982753279' for key 1




One last question while I am here, I read somewhere about a "resend email" feature in this distro, although I cant see anything in admin etc.

Thanks in advance Smile
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Sun Mar 25, 2007 2:14 pm Reply with quote Back to top

well what happens is ,or you are trying to create tables that already exist,and you try to insert info into the database thats already in there...

1) ALTER TABLE nuke_banner ADD INDEX `bid` (bid); FAILED. MySQL reported: Duplicate key name 'bid'
it seems that BID already exists


2) CREATE TABLE nuke_cities (id mediumint(4) NOT NULL default '0', local_id mediumint(3) NOT NULL default '0', city varchar(65) NOT NULL default '', cc char(2) NOT NULL default '', country varchar(35) NOT NULL default '', PRIMARY KEY (id)); FAILED. MySQL reported: Table 'nuke_cities' already exists

indeed...Table 'nuke_cities' already exists

3) city insert FAILED. MySQL reported: Duplicate entry '1' for key 1
city already excist...

personaly i would say.....
if you dont have that much banned friends in sentinel you can easely drop it and run a clean sentinel install.
that takes care of all the above errors as well..
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3186
Location: near Albany NY

PostPosted: Sun Mar 25, 2007 3:08 pm Reply with quote Back to top

I believe that the genesis or cause of your errors may be because you are converting from a version of Nuke that had the advertising module and that had the index on bid in banners and the cities table already in it. So you should be okay as Hitwalker indicated.

And as for IPcountry, you don't need to drop all your sentinel tables. Just drop that table and run that step in the Installsql.php step of the installation. You should then be cooking with gas.
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Mon Mar 26, 2007 6:33 am Reply with quote Back to top

Do not "drop" that table. Instead, "truncate" it and then re-run the last step only in the installSQL.php.
View user's profile Send private message Visit poster's website
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