pkp / sword

Allow Journal Managers and (optionally) Authors to deposit articles via the SWORD protocol
GNU General Public License v3.0
1 stars 9 forks source link

Installation of plugin schema fails, cannot load dictionary #7

Open jnugent opened 5 years ago

jnugent commented 5 years ago

Hey Alec,

Installing this for a hosted client, running 3.1.0.0. Cloned this via git, and checked out the ojs-stable-3_1_1 branch. Installing via the plugin grid works, with a successful notification and the ability to see the Settings grid action, but the form fails to load. Error log reveals: [Tue May 28 17:44:51.535825 2019] [proxy_fcgi:error] [pid 28889:tid 47430547867392] [client 47.55.87.210:45556] AH01071: Got error 'PHP message: ojs2: DB Error: Table 'jair-ojs_ojs.deposit_points' doesn't exist\n', referer: https://,,,,,.org/index.php/.../management/settings/website?uid=5ced738ade1f3

And trying to install this via the command line directly generates:

ojs@server ~/....org/www $ php lib/pkp/tools/installPluginVersion.php plugins/generic/sword/version.xml 
Dictionary driver '/var/home/ojs/...org/www/lib/pkp/lib/adodb/datadict/datadict-.inc.php' not available
PHP Fatal error:  Call to a member function SetCharSet() on boolean in /var/home/jair-ojs/jair.org/www/lib/pkp/classes/plugins/Plugin.inc.php on line 643
jnugent commented 5 years ago

This looks like a weird string concatenation issue where ADODb can't figure out the driver being used.

jnugent commented 5 years ago

This does not happen when the plugin is installed from git and the stable-3_1_2 or master branches are used, for 3.1.2 or master installations, respectively.