The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Upgrade issue from 4.1.12 to 4.2.3
Hello
I have logged this with vBulletin support but they have not replied in over a week. I'm hoping the forum may be able to advise. Whilst attempting to upgrade from 4.1.12 to 4.2.3 I encounter the following error: An error has occurred with your database. Please contact vBulletin Support for assistance. Module: 420a1, Step 14 Database Error:1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'album', 'album', 1), (, 'album', 'comment', 1), (, 'album', 'photo',' at line 5 Query: INSERT IGNORE INTO elam_vb_activitystreamtype (packageid, section, type, enabled) VALUES (, 'album', 'album', 1), (, 'album', 'comment', 1), (, 'album', 'photo', 1), (, 'calendar', 'event', 1), (, 'forum', 'post', 1), (, 'forum', 'thread', 1), (, 'forum', 'visitormessage', 1), (, 'socialgroup', 'discussion', 1), (, 'socialgroup', 'group', 1), (, 'socialgroup', 'groupmessage', 1), (, 'socialgroup', 'photo', 1), (, 'socialgroup', 'photocomment', 1) I have exported and imported my database using SSH as advised in the manual. I'm running the following versions of software: MySQL version: 5.6.28-76.1-log - Percona Server (GPL), Release 76.1, Revision 5759e76 PHP Version 5.6.18 The response was as follows: "Thank you for contacting vBulletin Support. You will need to open the /install/includes/class_upgrade_420a1.php file and remove the IGNORE keyword from that file." I advised support this did not resolve the issue but I've had no reply. Any ideas? Cheers. Mike |
#3
|
||||
|
||||
Not quite sure why you were advised to do that.
Removing IGNORE will not make any difference to that error at all. (in fact should remain, removing it will not only do nothing to help, its bad advice). The issue is the missing packageid in all the insert values. |
#4
|
|||
|
|||
Thanks for your replies. Sorry if my post wasn't clear but I carried out the advice as instructed by support (rightly or wrongly).
Evidently the query is missing the packageid value but why? The first query in step 14 of the upgrade queries the package table to return the packageid for the insert but the package table is empty. What should it contain? I could probably add an entry to the package table. It contains the following fields: packageid - int(10) auto increment productid - varchar(25) which should obviously be 'vbulletin' class - varbinary(50) ???? Any ideas what class should be? Or why the upgrade is failing? Cheers. Mike |
#5
|
||||
|
||||
What are the current rows in that table?
|
#6
|
||||
|
||||
He stated the table was empty.
There should be three rows ; packageid, productid, class 1, vbulletin, vBForum 2, vbblog, vBBlog 3, vbcms, vBCms |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|