![]() |
Database error during vbProject update 2.1.1 to 2.1.2
Database error during vbProject update 2.1.1 to 2.1.2
Quote:
|
It takes them forever to release an update and when they do it BREAKS the whole thing when you try and upgrade.
And to make matters worse they take the old version down so you can't even revert back. Seriously Pathetic |
Change line 1129 in includes/xml/product-vbprojecttools.xml
From: CREATE TABLE " . TABLE_PREFIX . "pt_issuestatusprojectset ( issuestatusid INT UNSIGNED NOT NULL DEFAULT 0, projectid INT UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (issuestatusid, projectid) ) To: CREATE TABLE IF NOT EXISTS " . TABLE_PREFIX . "pt_issuestatusprojectset ( issuestatusid INT UNSIGNED NOT NULL DEFAULT 0, projectid INT UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (issuestatusid, projectid) ) This is for your first error you PM'd me about. |
No that does not fix it
Quote:
|
Ah misread the error. One moment.
|
I had assumed this was the same error you PM'd me about. Just noticed this is a different error.
--------------- Added [DATE]1293647709[/DATE] at [TIME]1293647709[/TIME] --------------- Quote:
--------------- Added [DATE]1293649681[/DATE] at [TIME]1293649681[/TIME] --------------- Warning! I haven't been able to test this, but this might fix your issue. line 1196 Change this: $db->query_write(" INSERT INTO " . TABLE_PREFIX . "pt_issueimport (contenttypeid, contentid, data) VALUES ($contenttypeid, " . $movedthread['threadid'] . ", '" . $importdata . "') "); To: $db->query_write(" INSERT INTO " . TABLE_PREFIX . "pt_issueimport (issueid, contenttypeid, contentid, data) VALUES ($movedthread['pt_issueid'], $contenttypeid, " . $movedthread['threadid'] . ", '" . $importdata . "') "); |
I just forget to add the field which was the latest thing I added (fixed 3-4 non-released issues) and forget to add it to the importer when you upgrade.
Sorry, will be fixed in next release :) ---------------- The code is already edited with the right code in SVN. Maybe one of the allowed users can update the package with the right product file (King)? For those who are already on vb-os and want to update with non-stable releases, you can make a svn update to get build 199 which contains the fixed product file and the corresponding MD5 file. |
Where can I download a fixed package now?
|
Ive uploaded svn version 200 to the release thread.
https://vborg.vbsupport.ru/showthread.php?t=241453 |
Thanks Paul :)
|
All times are GMT. The time now is 09:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|