Closed ghost closed 4 years ago
@ahmedgad-it, is this related to the SWORD plugin?
Yes, on disabling SWORD plugin, everything is working OK. I've noticed this issue from the error log, and it is SWORD-related.
@ahmedgad-it, what do you see in the error log?
@ahmedgad-it, what do you see in the error log?
[Sun May 17 11:11:50.544910 2020] [php7:warn] [pid 6180:tid 1984] [client 192.168.14.1:49492] PHP Warning: require_once(D:\xampp\htdocs\journals\plugins\generic\sword\classes/../libs/swordappv2/swordappclient.php): failed to open stream: No such file or directory in D:\xampp\htdocs\journals\plugins\generic\sword\classes\PKPSwordDeposit.inc.php on line 16, referer:
[Sun May 17 11:11:50.544910 2020] [php7:error] [pid 6180:tid 1984] [client 192.168.14.1:49492] PHP Fatal error: require_once(): Failed opening required 'D:\xampp\htdocs\journals\plugins\generic\sword\classes/../libs/swordappv2/swordappclient.php' (include_path='D:\xampp\php\PEAR') in D:\xampp\htdocs\journals\plugins\generic\sword\classes\PKPSwordDeposit.inc.php on line 16, referer:
@ahmedgad-it, how did you install the plugin?
@ahmedgad-it, how did you install the plugin?
Manually by copy & paste plugin folder to the plugins directory, then running the upgrade script.
@ahmedgad-it, the plugin will be missing its dependencies if you install it that way. I'd suggest installing it using the Plugin Gallery, or failing that, use the plugin upload tool and give it a .tar.gz package from the git repository's "Releases" area.
Oh, sorry, I really do not remember, but if it exists in the Plugin Gallery, so i have installed it from within there.
@ahmedgad-it, does the file D:\xampp\htdocs\journals\plugins\generic\sword\libs\swordappv2\swordappclient.php
exist?
@ahmedgad-it, does the file
D:\xampp\htdocs\journals\plugins\generic\sword\libs\swordappv2\swordappclient.php
exist?
No, it does not exist.
@ahmedgad-it, then I don't think the plugin was installed using the plugin gallery.
Hi,
On publishing an article, the article is published successfully, however; an error,
is shown!