![]() |
|
Thread Tools |
#1
|
||||
|
||||
Database error during vbProject update 2.1.1 to 2.1.2
Database error during vbProject update 2.1.1 to 2.1.2
__________________
Ciao jluerken No members have liked this post.
|
Comments |
#2
|
|||
|
|||
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 No members have liked this post.
|
#3
|
|||
|
|||
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 members have liked this post.
Last edited by Andrew Elkins; 29 Dec 2010 at 18:32. |
#4
|
||||
|
||||
No that does not fix it
__________________
Ciao jluerken No members have liked this post.
|
#5
|
|||
|
|||
Ah misread the error. One moment.
No members have liked this post.
|
#6
|
|||
|
|||
I had assumed this was the same error you PM'd me about. Just noticed this is a different error.
--------------- Added 29 Dec 2010 at 18:35 ---------------
Originally Posted by jluerken
This error ^![]()
--------------- Added 29 Dec 2010 at 19:08 --------------- 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 . "') "); No members have liked this post.
Last edited by Andrew Elkins; 29 Dec 2010 at 22:05. Reason: Auto-Merged DoublePost |
#7
|
||||
|
||||
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.
__________________
Administrator of http://forum.vbulletin-fr.org/ vBulletin QA Engineer / Lead Project Tools Developer No members have liked this post.
Last edited by PitchouneN64ngc; 30 Dec 2010 at 00:03. |
#8
|
||||
|
||||
Where can I download a fixed package now?
__________________
Ciao jluerken No members have liked this post.
|
#9
|
||||
|
||||
Ive uploaded svn version 200 to the release thread.
http://www.vbulletin.org/forum/showthread.php?t=241453
__________________
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. No members have liked this post.
|
#10
|
||||
|
||||
Thanks Paul
![]()
__________________
Administrator of http://forum.vbulletin-fr.org/ vBulletin QA Engineer / Lead Project Tools Developer No members have liked this post.
|
#12
|
||||
|
||||
Tried to install 2.1.2r200 still error. Do you guys test what you upload?
__________________
Ciao jluerken No members have liked this post.
|
#13
|
||||
|
||||
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.
__________________
Administrator of http://forum.vbulletin-fr.org/ vBulletin QA Engineer / Lead Project Tools Developer No members have liked this post.
Last edited by PitchouneN64ngc; 31 Dec 2010 at 00:42. Reason: Auto-Merged DoublePost |
#14
|
||||
|
||||
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?
__________________
Ciao jluerken No members have liked this post.
|
#15
|
||||
|
||||
Use this product file.
__________________
Administrator of http://forum.vbulletin-fr.org/ vBulletin QA Engineer / Lead Project Tools Developer No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 20:14.