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

CommentFileSizeAuthor
#3 drupal.onlinestatus.install.diff.txt1.03 KBhalkeye

Comments

xeniac’s picture

Assigned: Unassigned » xeniac

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

spyderpie’s picture

AH 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

halkeye’s picture

StatusFileSize
new1.03 KB

patch to install file to fix this

xeniac’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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