Closed (fixed)
Project:
Privatemsg
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2008 at 13:48 UTC
Updated:
31 Jan 2009 at 12:10 UTC
Hi!
The module does not add any tables. It after all is wrong? Also do not go and anywhere messages are not shown. I so have understood, that a consequence of absence of base. Some times tried to instal the module, but not to time the base was not created :( In admin the module is registered as incorrect.
Comments
Comment #1
naheemsays commentedDo you mean no database tables were installed?
What database are you using?
Can you uninstall and then reinstall the module to see if that creates the database tables?
Comment #2
berdirI'm quite sure you are using PostgreSQL, right?
If yes, please see #336875: PostgreSQL Support.
Comment #3
gagaga commentedNo, MySQL. I already installed one month ago this module, and it worked quite normally. I.e. messages were sent, came and the history преписки remained. Why it now was not installed I do not understand :(
Comment #4
gagaga commentedI already all have done it, tables in a database simply I am not added, i.e. their quantity before installation and after identical. Has looked and manually, the table with a prefix is not present this module. In a site broad gull it is constant the error is added:
Table 'la_la.ot_pm_index' doesn't exist query: SELECT COUNT(DISTINCT thread_id) as unread_count FROM ot_pm_index pmi WHERE (pmi.new = 1) AND (pmi.uid = 1) в файле /home/la/domains/la.la/public_html/sites/all/modules/privatemsg/privatemsg.module в строке 355.
Comment #5
berdir- Is there a table pm_index or similiar without a prefix ?
- Maybe drupal thinks that the module has been installed before but isn't. Try to disable it and then go to admin/build/modules/uninstall and see if you can uninstall the privatemsg module. This should let drupal forget that it was ever installed. After this, try to enable it again and see if the tables are getting installed.
Comment #6
gagaga commentedHas made as you have told, errors here have got out:
mysqli_query() [function.mysqli-query]: Empty query в файле /home/la/domains/la.la/public_html/includes/database.mysqli.inc в строке 108.
Unknown table 'ot_pm_index' query: DROP TABLE ot_pm_index в файле /home/la/domains/la.la/public_html/includes/database.mysql-common.inc в строке 261.
Comment #7
naheemsays commentedyou need to disable the module before it will appear on the uninstall page.
Comment #8
gagaga commentedAt once has not guessed :), but it all the same has not helped
Comment #9
naheemsays commentedCan you now try re-enabling it to see if it makes a difference?
also, what other modules are you using that you were NOT using a month ago?
Comment #10
berdirI'm setting this issue to fixed as there was no recent activity. Please re-open it if there are any questions or bugs.