vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Upgrade issue from 4.1.12 to 4.2.3 (https://vborg.vbsupport.ru/showthread.php?t=322048)

nambisolo 03-07-2016 08:29 PM

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

Lynne 03-08-2016 01:20 AM

If you are still getting that exact error, then you haven't removed the IGNORE from that query.

Paul M 03-08-2016 09:51 PM

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.

nambisolo 03-09-2016 08:55 PM

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

Lynne 03-09-2016 09:33 PM

What are the current rows in that table?

Paul M 03-10-2016 01:29 PM

He stated the table was empty.

There should be three rows ;

packageid, productid, class
1, vbulletin, vBForum
2, vbblog, vBBlog
3, vbcms, vBCms

nambisolo 03-10-2016 07:52 PM

Paul M you're a star! Thank you so much. The upgrade progressed without issue after populating the package table.

Cheers.

Mike


All times are GMT. The time now is 02:12 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.01672 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete