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
Comment #1
greenskin commentedYes, if you read the release for ALPHA5 it says to uninstall and reinstall the Share module.
Comment #2
lelizondo commentedJust 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
Comment #3
michelleI 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
Comment #4
theorichel commentedSometimes I do read them and sometimes not. Discovered the solution through this issue like Michelle
Comment #5
greenskin commentedI've added a Note at the top of the project page.
Comment #6
michelleThanks :)
Michelle
Comment #7
theorichel commentedI have uninstalled it twice now and ran update.php in between, but the error is stell there. I am on Alpha 7
Comment #8
greenskin commentedWhen you uninstall, are you actually uninstalling the module or just disabling it? Be sure to uninstall it via the uninstall tab.
Comment #9
theorichel commentedI 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
Comment #10
greenskin commentedSorry, I should have been clearer. You need to disable the module then go to the uninstall tab and uninstall the Share module.
Comment #11
theorichel commentedNo you do not have to be clearer. I Do not have an uninstall tab for Share.
Comment #12
greenskin commentedWell 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'.
Comment #13
theorichel commentedYou'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
Comment #14
greenskin commentedNo problem, glad it works now.