So I downloaded the AddThis plugin from the github, extracted the folder and renamed it to AddThis. Uploaded it to /plugins/generic and these are the errors im receiving in the log
#0 /home/respons3/public_html/ojs/lib/pkp/classes/plugins/PluginRegistry.inc.php(64): AddThisPlugin-
>register('generic', 'plugins/generic...')
#1 /home/respons3/public_html/ojs/lib/pkp/classes/plugins/PluginRegistry.inc.php(135):
PluginRegistry::register('generic', Object(AddThisPlugin), 'plugins/generic...')
#2 /home/respons3/public_html/ojs/lib/pkp/classes/controllers/grid/plugins/PluginGridHandler.inc.php(155):
PluginRegistry::loadCategory('generic')
#3 /home/respons3/public_html/ojs/controllers/grid/settings/plugins/SettingsPluginGridHandler.inc.php(36):
PluginGridHandler->loadCategoryData(Object(Request), 'generic', Array)
#4 /home/respons3/public_html/ojs/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php(124):
SettingsPluginGridHandler->loadCategoryData(Object(Request), 'generic', Array)
#5 /home/respons3/public_htm in
/home/respons3/public_html/ojs/plugins/generic/AddThis/AddThisPlugin.inc.php on line 31
I’ve tried addThis and AddThis as folder names, and when I try to install the plugin via the admin (available plugins section) I receive the following error …
The uploaded plugin archive does not contain a folder that corresponds to the plugin name.
I think you’ve left the error message out of the log quotation above – it should be just above the first line of the stack trace (which starts with #0).
Also, it looks like you’re using OJS – what version? (Please post this with your questions.)
Regards,
Alec Smecher
Public Knowledge Project Team
Did you download the plugin from the Releases page? If not, you’re probably working with pre-release code that hasn’t been packaged appropriately. It should also be in the Plugin Gallery, where you can install it directly.
Regards,
Alec Smecher
Public Knowledge Project Team