Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-07-2016, 08:29 PM
nambisolo nambisolo is offline
 
Join Date: Feb 2012
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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 03-08-2016, 01:20 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you are still getting that exact error, then you haven't removed the IGNORE from that query.
Reply With Quote
Благодарность от:
MarkFL
  #3  
Old 03-08-2016, 09:51 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 03-09-2016, 08:55 PM
nambisolo nambisolo is offline
 
Join Date: Feb 2012
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 03-09-2016, 09:33 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What are the current rows in that table?
Reply With Quote
  #6  
Old 03-10-2016, 01:29 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

He stated the table was empty.

There should be three rows ;

packageid, productid, class
1, vbulletin, vBForum
2, vbblog, vBBlog
3, vbcms, vBCms
Reply With Quote
2 благодарности(ей) от:
MarkFL, nambisolo
  #7  
Old 03-10-2016, 07:52 PM
nambisolo nambisolo is offline
 
Join Date: Feb 2012
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Благодарность от:
MarkFL
Reply


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

Forum Jump


All times are GMT. The time now is 12:59 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03911 seconds
  • Memory Usage 2,226KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (4)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete