Closed (fixed)
Project:
Privatemsg
Version:
5.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2007 at 14:48 UTC
Updated:
11 Sep 2007 at 00:02 UTC
So, Update-Status Module told me to update my 5.x.2.x-dev release. Did that, visited */update.php and saw Private message wanted to update the MySql (update #3). Ran that.
Now when I visit /privatemsg/ I see my three pages via pager yet no private message are shown.
*EEK!*
Comments
Comment #1
czarphanguye commentedNotes: Sent messages display. Inbox is the one that doesn't show the messages.
Comment #2
jsgammato commentedI'm in the samne boat - all PMs have vanished. I can see the Sent Messages when I Manage Folders, and my users can see that there are messages awaiting them but they cannot get to them. Filter Unread/All always returns no results, and I cannot select any other filter.
I have tinymce installed, and a few other contributed modules.
Comment #3
czarphanguye commentedI also have TinyMCE installed (if it matters)...
Boy, I sure wish I didn't apply the update to my production site. :-(
Comment #4
scott falconer commentedSeems to be caused by a missing field in the table 'privatemsg' called 'type'. If you add that manually, it should start displaying the messages again.
Comment #5
czarphanguye commentedAh... Ahow about that. Ty and fixed.
type varchar(255) NOT NULLSo, what's type do? I imagine this is a new feature?
Comment #6
czarphanguye commentedAnother note: the *.install file seems to have other tables/fiels that did not get upgrade. "// $Id: privatemsg.install,v 1.5.2.4.2.2 2007/08/01 12:01:18 chx Exp $"
Is all of this is also needed?
Comment #7
czarphanguye commentedWOW... ZzZzZzZz
Comment #8
rszrama commentedSimple fix... your PMs should all be in the database still, but there was a bug in the upgrade from 1.5 to 1.7 or somewhere around there. I never had a chance to fix it in the .install file. You need to edit your sequences table and manually set the private message ID up to be 1 greater than your highest valued private message. If you don't know how to do this, post back and I can try and walk you through it.
Also, I'm not sure if the latest code is all correct or not. I have posted the package here:
http://www.ubercart.org/forum/announcements/163/private_messaging_and_si...
Comment #9
czarphanguye commentedThanks for the reply m8. I dunno about the "manually set the private message ID up to be 1" part, yet I did grab "privatemsg-5--2-0.tar" from your web-site and I can finally send AND get messages. Perfect.
All the 'type' stuff is gone (it kind of looks like what I was running before the breakage.). Anyways. TY! <3
Side note
Using the one here @ Drupal I even added privatemsg_mail_edit, yet nothing. Stick with privatemsg-5--2-0.tar!
Comment #10
igorik commentedHi!
I have the same problem, I can't see anby private messages after upgrading on my test site, just paging is visible.
I tried your hint about give +1 number for privatemsg_id in sequences table but no progress.
I manually entered table
because update didn't insert it
anyway, no progress.
I have using old version of private messages (about month ago)
Igor
somvprahe.sk
Comment #11
salvishttp://drupal.org/node/167756
Comment #12
(not verified) commented