The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Database Import
Anybody understand DB imports?
I have tried numerous times but always get the same response. . Code:
SQL query: -- -- Dumping data for table `adminhelp` -- INSERT INTO `adminhelp` (`adminhelpid`, `script`, `action`, `optionname`, `displayorder`, `volatile`, `product`) VALUES (1530, 'accessmask', '', '', 1, 1, 'vbulletin'), (1531, 'accessmask', 'edit', '', 1, 1, 'vbulletin'), (1532, 'accessmask', 'modify', '', 1, 1, 'vbulletin'), (1533, 'accessmask', 'resetall', '', 1, 1, 'vbulletin'), (1534, 'admininfraction', '', '', 1, 1, 'vbulletin'), (1535, 'admininfraction', 'editbangroup', 'amount', 10, 1, 'vbulletin'), (1536, 'admininfraction', 'editbangroup', 'method', 20, 1, 'vbulletin'), (1537, 'admininfraction', 'editbangroup', 'usergroupid', 30, 1, 'vbulletin'), (1538, 'admininfraction', 'editbangroup', 'banusergroupid', 50, 1, 'vbulletin'), (1539, 'admininfraction', 'editbangroup', 'period', 60, 1, 'vbulletin'), (1540, 'admininfraction', 'editgroup', '', 1, 1, 'vbulletin'), (1541, 'admininfraction', 'editgroup', 'override', 1, 1, 'vbulletin'), (1542, 'admininfraction', 'editgroup', 'pointlevel', [...] MySQL said: Documentation #1062 - Duplicate entry 'accessmask--' for key 'phraseunique' I have no idea what to do about this. . . Thanks. . |
#2
|
||||
|
||||
Quote:
Try Code:
select * from adminhelp where script like 'accessmask' Code:
delete from adminhelp where adminhelpid=foo EDIT: I missed the part in the title where you said "database import", you will need to check your SQL soure for that table to find the duplicate entry and delete it. |
Благодарность от: | ||
MarkFL |
#3
|
||||
|
||||
Cheers Mr Replicant.
I will do as you suggest as soon as I get my PC back form the repair chap. It died yesterday. If I can't figure out the DB issue, is there anyway to extract only the additional.css information from a table in the DB? And possibly thread information? Thanks. . .I wouldn't know which table they are in. . . |
#4
|
||||
|
||||
Ya, that stuff is accessible. The additional.css is easy, the other stuff, not so much. If the database isn't very big, I'd be willing to load it up on my test site and see if I can correct the error, time permitting of course.
|
Благодарность от: | ||
MarkFL |
#5
|
||||
|
||||
Cheers again Mr Replicant. I managed to do it using a variation of your first suggestion.
I created an empty DB with no tables in it then imported into that and all works well. . . Thanks for your time and know how. . . |
Благодарность от: | ||
MarkFL |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|