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

naheemsays’s picture

Do 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?

berdir’s picture

I'm quite sure you are using PostgreSQL, right?

If yes, please see #336875: PostgreSQL Support.

gagaga’s picture

No, 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 :(

gagaga’s picture

I 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.

berdir’s picture

- 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.

gagaga’s picture

Has 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.

naheemsays’s picture

you need to disable the module before it will appear on the uninstall page.

gagaga’s picture

At once has not guessed :), but it all the same has not helped

naheemsays’s picture

Can 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?

berdir’s picture

Status: Active » Fixed

I'm setting this issue to fixed as there was no recent activity. Please re-open it if there are any questions or bugs.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.