Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 07 Mar 2016, 21:29
nambisolo nambisolo is offline
 
Join Date: Feb 2012
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
Reply With Quote
  #2  
Old 08 Mar 2016, 02:20
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
If you are still getting that exact error, then you haven't removed the IGNORE from that query.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 08 Mar 2016, 22:51
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
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.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #4  
Old 09 Mar 2016, 21:55
nambisolo nambisolo is offline
 
Join Date: Feb 2012
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
Reply With Quote
  #5  
Old 09 Mar 2016, 22:33
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
What are the current rows in that table?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #6  
Old 10 Mar 2016, 14:29
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
He stated the table was empty.

There should be three rows ;

packageid, productid, class
1, vbulletin, vBForum
2, vbblog, vBBlog
3, vbcms, vBCms
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #7  
Old 10 Mar 2016, 20:52
nambisolo nambisolo is offline
 
Join Date: Feb 2012
Paul M you're a star! Thank you so much. The upgrade progressed without issue after populating the package table.

Cheers.

Mike
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:29.

Layout Options | Width: Wide Color: