![]() |
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 :)
|
Thanks Paul
|
Tried to install 2.1.2r200 still error. Do you guys test what you upload?
Quote:
|
Delete the existing table.
Only this table have this issue when you install/upgrade, others have the right syntax to avoid this error. And yes, the system was tested but not by a lot of users because as Andrew said, we are volunteers and donating out time to put out a product. And it seems I'm the only one on this product. And maybe as you could see, it's 2am for me, just back from my job and tired. With that, I fixed this issue. Fixed in build 201. --------------- Added Friday 31 December 2010 at 1:39 --------------- Now I'm preparing the system to start the dev of 2.2.0 version. |
Hi PitchouneN64ngc,
I did not want to value the work you do in this project low. It's only that I have installed the product 3 times and I always got DBs error and no real fix. I do not want to delete tables if possible so is 201 fixing the issues that I can install the update without doing something manually in the database? |
1 Attachment(s)
Use this product file.
|
Thanks Paul.
|
That worked PitchouneN64ngc.
Where do I find a changelog? |
<a href="http://www.vb-os.com/projectsearch.php?do=searchresults&searchid=353" target="_blank">http://www.vb-os.com/projectsearch.p...s&searchid=353</a>
|
Quote:
For a general changelog, see the Milestone for 2.1.2. Additionally, you may wish to review the Milestone for 2.1.1 as well to see all changes made to vBPT after being taken over by the vB-OS Team. |
I wrote some changelogs when I developed this version. If this could help (maybe add a sort of 'changelog generator' in PT for 2.2?):
-------------------------------------------------- Lists of new features / bug fixes in Project Tools 2.1.2.
|
All times are GMT. The time now is 04:09 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:
|