Closed (fixed)
Project:
Privatemsg
Version:
5.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Aug 2007 at 15:05 UTC
Updated:
10 Sep 2007 at 23:51 UTC
Hi,
This module has come such a long way. I appreciate all of the hard work that has gone in to it.
From the latest release with 5.2.
* user warning: Unknown column 'type' in 'field list' query: SELECT id, subject, p.timestamp, u.uid, u.name, newmsg, type FROM privatemsg p INNER JOIN users u ON p.author = u.uid WHERE p.recipient = 1 AND folder = 0 AND p.recipient_del = 0 ORDER BY p.timestamp DESC LIMIT 0, 10 in /var/www/html/includes/database.mysql.inc on line 172.
* user warning: Unknown column 'type' in 'field list' query: SELECT DISTINCT type FROM privatemsg WHERE folder = 0 AND recipient_del = 0 AND recipient = 1 in /var/www/html/includes/database.mysql.inc on line 172.
Comments
Comment #1
alippai commentedanother bug in install file:
privatemsg.install line 46:
db_query("CREATE TABLE {privatemsg_mails} )db_query("CREATE TABLE {privatemsg_mails} (Comment #2
alippai commentedanother bug in install file:
privatemsg.install line 46:
db_query("CREATE TABLE {privatemsg_mails} )db_query("CREATE TABLE {privatemsg_mails} (Comment #3
hectorplus commentedMy old messages are gone after upgrading to the latest. I am this error:
Unknown column 'type' in 'field list' query: SELECT DISTINCT type FROM privatemsg WHERE folder = 0 AND recipient_del = 0 AND recipient = 2Comment #4
pmcka commentedI'm getting the same error and don't see anything in inboxes.
Unknown column 'type' in 'field list' query: SELECT id, subject, p.timestamp, u.uid, u.name, newmsg, type FROM privatemsg p INNER JOIN users u ON p.author = u.uid WHERE p.recipient = 1 AND folder = 0 AND p.recipient_del = 0 ORDER BY timestamp DESC LIMIT 0, 10 in .../database.mysql.inc on line 172
Comment #5
hectorplus commentedIt appears that the messages are still in the table, however, the module is unable to select the appropriate table.
My messages are gone too.
Comment #6
TheFazz commentedis there anyway to revert back to the 1.8 version? i did that and the error messages ceased and the messages re-appeared in the inbox... however, all the links to the messages do not work. not sure what was changed in the mysql tables.
Comment #7
TheFazz commentedi also get this error message at the completion of the user edit page:
Comment #8
czarphanguye commentedAlso see: http://drupal.org/node/164943
Comment #9
TheFazz commentedi fixed this by manually creating the privatemsg_mail tables gained from this link:
http://drupal.org/node/165099
seems to work for now. but this is just a workaround.
Comment #10
toma commentedits works when we add the mysql code but when view the user page it give this error and the link to send message doesn't show
Comment #11
salvishttp://drupal.org/node/167756
Comment #12
(not verified) commented