After updating this module from version 2.0-alpha2 to alpha5, for some reason I got this:

user warning: Table 'mydb.share' doesn't exist query: SELECT * FROM share WHERE `status` = 1 ORDER BY type in /var/www/mysite/includes/database.mysql.inc on line 172.

I had to uninstall the module and install it again and the problem went away. Maybe the update is not creating a the table share or something, I don't know.

Luis

Comments

greenskin’s picture

Status: Active » Closed (fixed)

Yes, if you read the release for ALPHA5 it says to uninstall and reinstall the Share module.

lelizondo’s picture

Just a suggestion.. I know that we should always read the README and INSTALL files but to we all know that most of us don't read 'em when we are upgrading. Shouldn't be better to display this kind of info in the module main page?

Thanks

Luis

michelle’s picture

I got bit by this, too. I do read the release notes but there's no mention of this in the alpha 7 release notes. Glad this issue was here. Looks like it's an easy fix.

Michelle

theorichel’s picture

Sometimes I do read them and sometimes not. Discovered the solution through this issue like Michelle

greenskin’s picture

I've added a Note at the top of the project page.

michelle’s picture

Thanks :)

Michelle

theorichel’s picture

I have uninstalled it twice now and ran update.php in between, but the error is stell there. I am on Alpha 7

greenskin’s picture

When you uninstall, are you actually uninstalling the module or just disabling it? Be sure to uninstall it via the uninstall tab.

theorichel’s picture

I suppose you mean the tab in the modules section, but I do not have such a tab. Several modules can be uninstalled, but not Share. So I just disabled it.

Thanks

TR

greenskin’s picture

Sorry, I should have been clearer. You need to disable the module then go to the uninstall tab and uninstall the Share module.

theorichel’s picture

No you do not have to be clearer. I Do not have an uninstall tab for Share.

greenskin’s picture

Well if Share is disabled on the module list at 'admin/build/modules', then it should show up in the uninstall list at 'admin/build/modules/uninstall'.

theorichel’s picture

You're right. My mistake, I expected the Uninstall tab to be there when Share was installed. Now I understand it better. The problem has disappeared. Thanks

greenskin’s picture

No problem, glad it works now.