Quote:
Originally Posted by HP10T
I get an error while importing via the product manager...
Database error in vBulletin 3.5.4:
Invalid SQL:
### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'Automatically modify register template', 'parse_templates', 'if (isset($vbulletin->templatecache[\'register\']))\r\n{\r\n $find = \' $imagereg\';\r\n \r\n $append = \" <script type=\'text/javascript\'>\r\n var RecaptchaOptions = {\r\n theme : \'\" . $GLOBALS[\'vbulletin\']->options[\'recaptcha_theme\'] . \"\',\r\n tabindex : \" . $GLOBALS[\'vbulletin\']->options[\'recaptcha_tabindex\'] . \"\r\n };\r\n </script>\";\r\n\r\n $vbulletin->templatecache[\'register\'] = str_replace($find, $append . \"\\n\" . $find, $vbulletin->templatecache[\'register\']);\r\n\r\n unset($find, $append);\r\n}', 'recaptcha');
MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Monday, February 11th 2008 @ 02:13:16 PM
Script : http://utahnissans.com/forums/admincp/plugin.php
Referrer : http://utahnissans.com/forums/adminc...?do=productadd
|
Well, you're trying to run a hack developed for vB3.6 on vB3.5 -- that's what happens.
If you're feeling frisky, you can edit the .xml and remove references to
executionorder. This in no way guaranteed to work. It
shouldn't break anything, however, you should always make backups just in case.
If you don't want to edit the file yourself, I've attached a modified .xml. Simply replace the on in the original archive with this.