Drupal 4.7RC3, MYSQL 4, PHP 5
I have my server setup so that the shared tables are mysitename_ and my non-shared are somethingelse_. After enabling the module I get the following errors:
ser warning: Table 'databasename.somethingelse_onlinestatus' doesn't exist query: DELETE FROM somethingelse_onlinestatus WHERE uid = 1 in /home/mysitename/public_html/includes/database.mysql.inc on line 120.
The table was created as:.. okay - wait .. actually - no table was created ....
However, it does show me my online status.
ahh .. but if I manually add the table, all is well. So it doesn't create the table - not sure if that is because of the prefixes or not.
Julie
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | drupal.onlinestatus.install.diff.txt | 1.03 KB | halkeye |
Comments
Comment #1
xeniac commentedWow, you confuse me!
1st: look at the modules/onlinestatus
do you see a .install file?
if the onlinestatus.install file exists then
you are using the current CVS Snapshop with an .install file. This is a brand new Feature for Drupal 4.7 and i have no experience with this.
Steve McKenzie wrote the .install file and it should work with MySQL. The current Status is "Works for me". I belive the new .install method is very powerful, but i have not investigated in this way - yet.
if the onlinestatus.install file does not exist
in this case you have discovered an documentation Bug.
The README does not mention that you have to add the onlinestatus.mysql file to the database.
Comment #2
spyderpie commentedAH HA! You are right - no .install file.
Brilliant - so luckily - it's just a documentation bug. Thanks for your help.
Sorry for the confusion.
Julie
Comment #3
halkeye commentedpatch to install file to fix this
Comment #4
xeniac commentedComment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.