Hello, I’ve been trying to notify an author about an editorial decision so I can move the submission on to editing and get its proofreading started, but everytime I try to send out the e-mail, a 500 error comes up. It doesn’t happen to any other of the e-mails I’ve been sending. So far, I haven’t found an error log (but I admit finding those isn’t my specialty, since we’ve only just started using the system) to help me enlighten the matter further.
You’ll need to find your PHP error log – unfortunately the details will depend on your server’s configuration, but generally it’s called error_log and accessible somewhere through your CPanel login or equivalent.
Regards,
Alec Smecher
Public Knowledge Project Team
Thank you for the instruction! I did manage to find an error that seems to be what I’m trying to fix, but unfortunately it didn’t much help me fix it. It’s pasted below. Any ideas?
[Wed Mar 21 11:37:58.584531 2018] [:error] [pid 13739] [client 10.96.152.55:63334] PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Error parsing error document (String could not be parsed as XML)’ in /pucpr/httpd/htdocs/periodicos.pucpr.br/lib/pkp/lib/swordappv2/swordappclient.php:125\nStack trace:\n#0 /pucpr/httpd/htdocs/periodicos.pucpr.br/classes/sword/OJSSwordDeposit.inc.php(176): SWORDAPPClient->deposit(’’, ‘root’, ‘REMOVED’, ‘’, ‘/tmp/swordC4rd2…’, ‘http://purl.org…’, ‘application/zip’, false, true)\n#1 /pucpr/httpd/htdocs/periodicos.pucpr.br/plugins/generic/sword/SwordPlugin.inc.php(156): OJSSwordDeposit->deposit(’’, ‘root’, ‘REMOVED’)\n#2 [internal function]: SwordPlugin->callbackAuthorDeposits(‘SectionEditorAc…’, Array)\n#3 /pucpr/httpd/htdocs/periodicos.pucpr.br/lib/pkp/classes/plugins/HookRegistry.inc.php(89): call_user_func(Array, ‘SectionEditorAc…’, Array)\n#4 /pucpr/httpd/htdocs/periodicos.pucpr.br/classes/submission/sectionEditor/SectionEditorAction.inc.php(2029): HookRegistry->call(‘SectionEditorAc…’, Array)\n#5 /pucpr/httpd/htdocs/periodicos.pucpr.br/pages/sectionEditor/Submi in /pucpr/httpd/htdocs/periodicos.pucpr.br/lib/pkp/lib/swordappv2/swordappclient.php on line 125, referer: https://periodicos.pucpr.br/index.php/pistispraxis/editor/emailEditorDecisionComment?articleId=23587
It looks like you’re using the SWORD plugin, and the SWORD service (e.g. DSpace) is responding to your deposit request with a string (possibly an error message) instead of an XML document.
If you’re not using SWORD, then disable the plugin; otherwise you may need to start working in the SwordApp library (lib/pkp/lib/swordappv2/swordappclient.php) to debug the response the other application is providing.
Note that the trace above included a password – I’ve removed it. Please be careful about accidentally exposing credentials (and I’d suggest changing that password).
Regards,
Alec Smecher
Public Knowledge Project Team