when I try upgrade this hack to version 1.0.5 I Take this error:
Quote:
Database error in vBulletin 3.6.0:
Invalid SQL:
INSERT INTO setting
(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, validationcode, blacklist, product)
VALUES
(
'gosterx1',
'forumdisplay',
'1',
'1',
'boolean',
'yesno',
240,
0,
1,
'',
0,
'Separate'
),
(
'gosterx2',
'forumdisplay',
'0',
'0',
'number',
'<select name=\\\"setting[$setting[varname]]\\\" tabindex=\\\"1\\\" class=\\\"bginput\\\">\r\n<option value=\\\"0\\\" \" . iif($setting[\'value\']==0,\'selected=\"selected\"\') . \">Style 1</option>\r\n<option value=\\\"1\\\" \" . iif($setting[\'value\']==1,\'selected=\"selected\"\') . \">Style 2</option>\r\n</select>',
250,
0,
1,
'',
0,
'Separate'
),
(
'gosterx3',
'forumdisplay',
'0',
'0',
'boolean',
'yesno',
260,
0,
1,
'',
0,
'Separate'
);
MySQL Error : Duplicate entry 'gosterx1' for key 1
Error Number : 1062
Date : Friday, September 15th 2006 @ 09:54:11 PM
Script : http://*.*.*.*/admincp/plugin.php?do=productimport
Referrer : http://*.*.*.*/admincp/plugin.php?do=productadd
IP Address : *.*.*.*
Username : username
Classname : vB_Database
|
|