Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Getting error on 2.3
HostingClerks
New
Am getting this error when I enable the plugin Prefix Discussion:
|Gdn_Database|Query|show tables like 'GDN_Permission'
Any chance to fix it?
0
Comments
PrefixDiscussion even works in 2.4b1
That snippet you are showing is quite small. Could you show more information of the error message?
The addon could not be enabled because it generated a fatal error:
|Gdn_Database|Query|show tables like 'GDN_Permission'
@R_J
You can fix that by replacing the permissions in the array with these changes
Then here
Then here
And here
Then here too
After that it works for me..
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Thanks for the feedback! I've started investigating this and it is working if you try to enable it a second time, nothing else is needed.
I see where the error is, but not why that should be an error...
The update generates that error, but the config value is saved. The next time the plugin is enabled the config value check results in skipping the update statement and that's why the plugin activation is working on the second try.
Thank! @R_J and @vrijvlinder
@lalala Please
If you never used prefixDiscussion before and this was the first time that you have tested it, you could stay with the old version. If you are interested, you could take a look at the changed lines and you will see that there only has been a substantial change in the setup process.