Thanks for the further information and for bringing this to our attention. You will need to upgrade to at least PHP 5.6 for that plugin to work with OJS 3.1. We are updating the system requirements and download page to indicate that.
Best,
Amanda Stevens
Public Knowledge Project Team
php log error before enable the citation style language is :
[Mon Nov 06 18:43:26.326117 2017] [ssl:warn] [pid 5244:tid 132] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Nov 06 18:43:26.357317 2017] [core:warn] [pid 5244:tid 132] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten – Unclean shutdown of previous Apache run?
[Mon Nov 06 18:43:26.450917 2017] [ssl:warn] [pid 5244:tid 132] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Nov 06 18:43:26.466517 2017] [mpm_winnt:notice] [pid 5244:tid 132] AH00455: Apache/2.4.28 (Win32) OpenSSL/1.0.2l PHP/7.1.10 configured – resuming normal operations
[Mon Nov 06 18:43:26.466517 2017] [mpm_winnt:notice] [pid 5244:tid 132] AH00456: Apache Lounge VC14 Server built: Oct 4 2017 11:36:32
[Mon Nov 06 18:43:26.466517 2017] [core:notice] [pid 5244:tid 132] AH00094: Command line: ‘c:\xampp\apache\bin\httpd.exe -d C:/xampp/apache’
[Mon Nov 06 18:43:26.482117 2017] [mpm_winnt:notice] [pid 5244:tid 132] AH00418: Parent: Created child process 5276
[Mon Nov 06 18:43:26.934518 2017] [ssl:warn] [pid 5276:tid 144] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Nov 06 18:43:27.059318 2017] [ssl:warn] [pid 5276:tid 144] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Nov 06 18:43:27.090518 2017] [mpm_winnt:notice] [pid 5276:tid 144] AH00354: Child: Starting 150 worker threads.
after enable this plugin then the log file is
[Mon Nov 06 18:43:38.742842 2017] [php7:warn] [pid 5276:tid 1596] [client ::1:49225] PHP Warning: Declaration of ArticleHandler::initialize($request, $args) should be compatible with PKPHandler::initialize($request) in C:\xampp\htdocs\ojs\pages\article\ArticleHandler.inc.php on line 389, referer: http://localhost/ojs/index.php/ABCD/
[Mon Nov 06 18:43:38.770844 2017] [php7:warn] [pid 5276:tid 1592] [client ::1:49226] PHP Warning: Declaration of ArticleHandler::initialize($request, $args) should be compatible with PKPHandler::initialize($request) in C:\xampp\htdocs\ojs\pages\article\ArticleHandler.inc.php on line 389, referer: http://localhost/ojs/index.php/ABCD/
[Mon Nov 06 18:43:39.020858 2017] [php7:warn] [pid 5276:tid 1592] [client ::1:49226] PHP Warning: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in C:\xampp\htdocs\ojs\lib\pkp\classes\submission\SubmissionKeywordEntryDAO.inc.php on line 20, referer: http://localhost/ojs/index.php/ABCD/
[Mon Nov 06 18:43:39.027859 2017] [php7:warn] [pid 5276:tid 1596] [client ::1:49225] PHP Warning: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in C:\xampp\htdocs\ojs\lib\pkp\classes\submission\SubmissionKeywordEntryDAO.inc.php on line 20, referer: http://localhost/ojs/index.php/ABCD/
[Mon Nov 06 18:43:39.097863 2017] [php7:error] [pid 5276:tid 1592] [client ::1:49226] PHP Fatal error: Uncaught Seboettg\CiteProc\Exception\CiteProcException: Illegal argument. Name has no family name. in C:\xampp\htdocs\ojs\plugins\generic\citationStyleLanguage\lib\vendor\seboettg\citeproc-php\src\Seboettg\CiteProc\Util\NameHelper.php:114\nStack trace:\n#0 C:\xampp\htdocs\ojs\plugins\generic\citationStyleLanguage\lib\vendor\seboettg\citeproc-php\src\Seboettg\CiteProc\Rendering\Name\Name.php(512): Seboettg\CiteProc\Util\NameHelper::normalizeName(Object(stdClass))\n#1 C:\xampp\htdocs\ojs\plugins\generic\citationStyleLanguage\lib\vendor\seboettg\citeproc-php\src\Seboettg\CiteProc\Rendering\Name\Name.php(194): Seboettg\CiteProc\Rendering\Name\Name->nameOrder(Object(stdClass), 0)\n#2 C:\xampp\htdocs\ojs\plugins\generic\citationStyleLanguage\lib\vendor\seboettg\citeproc-php\src\Seboettg\CiteProc\Rendering\Name\Name.php(176): Seboettg\CiteProc\Rendering\Name\Name->getNamesString(Object(stdClass), 0)\n#3 C:\xampp\htdocs\ojs\plugins\generic\citationStyleLanguage\lib\vendor\seboettg\citeproc-php\src\Seboettg\CiteProc\Render in C:\xampp\htdocs\ojs\plugins\generic\citationStyleLanguage\lib\vendor\seboettg\citeproc-php\src\Seboettg\CiteProc\Util\NameHelper.php on line 114, referer: http://localhost/ojs/index.php/ABCD/
[Mon Nov 06 18:43:39.109863 2017] [php7:error] [pid 5276:tid 1596] [client ::1:49225] PHP Fatal error: Uncaught Seboettg\CiteProc\Exception\CiteProcException: Illegal argument. Name has no family name. in C:\xampp\htdocs\ojs\plugins\generic\citationStyleLanguage\lib\vendor\seboettg\citeproc-php\src\Seboettg\CiteProc\Util\NameHelper.php:114\nStack trace:\n#0 C:\xampp\htdocs\ojs\plugins\generic\citationStyleLanguage\lib\vendor\seboettg\citeproc-php\src\Seboettg\CiteProc\Rendering\Name\Name.php(512): Seboettg\CiteProc\Util\NameHelper::normalizeName(Object(stdClass))\n#1 C:\xampp\htdocs\ojs\plugins\generic\citationStyleLanguage\lib\vendor\seboettg\citeproc-php\src\Seboettg\CiteProc\Rendering\Name\Name.php(194): Seboettg\CiteProc\Rendering\Name\Name->nameOrder(Object(stdClass), 0)\n#2 C:\xampp\htdocs\ojs\plugins\generic\citationStyleLanguage\lib\vendor\seboettg\citeproc-php\src\Seboettg\CiteProc\Rendering\Name\Name.php(176): Seboettg\CiteProc\Rendering\Name\Name->getNamesString(Object(stdClass), 0)\n#3 C:\xampp\htdocs\ojs\plugins\generic\citationStyleLanguage\lib\vendor\seboettg\citeproc-php\src\Seboettg\CiteProc\Render in C:\xampp\htdocs\ojs\plugins\generic\citationStyleLanguage\lib\vendor\seboettg\citeproc-php\src\Seboettg\CiteProc\Util\NameHelper.php on line 114, referer: http://localhost/ojs/index.php/ABCD/
Hello, we also have a problem with this plugin. Several styles are not supported (the result is a blank field), APA in particular, which is the most important for us. Any ideas how this can be solved?
The location of your PHP error log will depend on your hosting provider’s configuration, but usually it’s a file called error_log somewhere within your account.
Best,
Amanda Stevens
Public Knowledge Project Team
Hello,
In our case Citation Style Language plugin is not showing up, and also settings seems have no effect at all. When I try to set up the plugin it shows a success message but if open back the settings it is all blank again.
In ojs 3.0.2 it worked correctly
In ojs 3.1 not showing, but no error
There are no errors in the PHP log but there is a warning about it:
PHP Warning: Declaration of CitationStyleLanguageSettingsForm::fetch($request) should be compatible with Form::fetch($request, $template = NULL, $display = false) in /xxx/ojs/plugins/generic/citationStyleLanguage/CitationStyleLanguageSettingsForm.inc.php on line 131
Is it possible that file permissions in your cache directory got reset when you performed the upgrade? If settings changes don’t seem to stick, it might be that OJS doesn’t have permission to modify files there.
Regards,
Alec Smecher
Public Knowledge Project Team
Hi @asmecher,
Thank you for your answer. I’ve changed permissions to every directory and file in cache directory but still not working and not keeping settings selected.
May it be possible any problem with database tables for this plugin? Apparently it is saving settings on it:
if I change settings on the plugin, this change is done on the database:
Hello, I also have problem with this plugin. OJS version is 3.1.1.1, php version 5.6.37. In English and Russian it works normally. But in Azerbaijan language i got these errors:
[Mon Aug 20 20:13:59.812246 2018] [cgi:error] [pid 6381] [client 158.181.40.30:54206] AH01215: PHP Fatal error: Uncaught exception ‘Seboettg\CiteProc\Exception\ClassNotFoundException’ with message ‘Class “Seboettg\CiteProc\Constraint\isNumeric” could not be found.’ in /var/www/ejcs/data/www/sportsciencejournal.org/plugins/generic/citationStyleLanguage/lib/vendor/seboettg/citeproc-php/src/Seboettg/CiteProc/Constraint/Factory.php:41, referer: http://www.sportsciencejournal.org/index.php/ssj/index
[Mon Aug 20 20:13:59.812310 2018] [cgi:error] [pid 6381] [client 158.181.40.30:54206] AH01215: Stack trace:, referer: http://www.sportsciencejournal.org/index.php/ssj/index
[Mon Aug 20 20:13:59.812487 2018] [cgi:error] [pid 6381] [client 158.181.40.30:54206] AH01215: #0 /var/www/ejcs/data/www/sportsciencejournal.org/plugins/generic/citationStyleLanguage/lib/vendor/seboettg/citeproc-php/src/Seboettg/CiteProc/Rendering/Choose/ChooseIf.php(69): Seboettg\CiteProc\Constraint\Factory::createConstraint(‘is-numeric’, ‘edition’), referer: http://www.sportsciencejournal.org/index.php/ssj/index
[Mon Aug 20 20:13:59.812674 2018] [cgi:error] [pid 6381] [client 158.181.40.30:54206] AH01215: #1 /var/www/ejcs/data/www/sportsciencejournal.org/plugins/generic/citationStyleLanguage/lib/vendor/seboettg/citeproc-php/src/Seboettg/CiteProc/Rendering/Choose/Choose.php(47): Seboettg\CiteProc\Rendering\Choose\ChooseIf->__construct(Object(SimpleXMLElement), Object(Seboettg\CiteProc\Rendering\Choose\Choose)), referer: http://www.sportsciencejournal.org/index.php/ssj/index
[Mon Aug 20 20:13:59.812852 2018] [cgi:error] [pid 6381] [client 158.181.40.30:54206] AH01215: #2 /var/www/ejcs/data/www/sportsciencejournal.org/plugins/generic/citationStyleLanguage/lib/vendor/seboettg/citeproc-php in /var/www/ejcs/data/www/sportsciencejournal.org/plugins/generic/citationStyleLanguage/lib/vendor/seboettg/citeproc-php/src/Seboettg/CiteProc/Constraint/Factory.php on line 41, referer: http://www.sportsciencejournal.org/index.php/ssj/index