Open alvarogois opened 9 years ago
Sounds like the installation code had an issue, can you check to see if the gom_permissions table exists in your database?
No, only the usual WordPress tables.
Check to make sure your database user can create tables and then deactivate GOM.
Then run the following SQL command:
DELETE FROM wp_options WHERE option_name = 'gom_plugin_version'
Then re-activate the plugin and see if the tables exists.
I gave it a second try.
New local install (using latest ServerPress 3.8 version: https://serverpress.com/). Downloaded the zip file from GitHub. Uploaded through WordPress dashboard. Error activating:
( ! ) Notice: Undefined variable: wpdb in /Users/alvarogois/Documents/Websites/glotomatic.dev/wp-content/plugins/Glot-O-Matic-master/glot-o-matic.php on line 33
If I try activating again, the plugin activates but I get this notice:
The plugin generated 1869 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
When I go to GlotPress options, I get this notice:
WordPress database error: [Table 'glotomatdbw7owu.gom_permissions' doesn't exist]
SELECT user_id FROM gom_permissions WHERE action = 'admin'
I think I know what the problem is, can you disable the plugin, add the following line to glot-o-matic.php before line 33:
GLOBAL $wpdb;
Then re-enable the plugin.
Give the 1.5 release a try, it should resolve the install issues.
I tried to install it locally and remotely and, first, I got an error relating to the folder name, I guess. I eliminated “-master” and could activate it but with this notice:
The plugin generated 180 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
Then, settings didn't work. I get several notices like this:
WordPress database error: [Table 'linguasdbmuddm.gom_permissions' doesn't exist] SELECT user_id FROM gom_permissions WHERE action = 'admin'
or
WordPress database error: [Table 'linguasdbmuddm.gom_permissions' doesn't exist] SELECT user_id FROM gom_permissions WHERE action = 'admin'