Submission's wizard page die

Hi
Suddenly when i click on submission wizard page (New Submission)
Its die and strange happened this page must send 5 ajax request but only send 3 request, as you can see in image attached !

2222

please help me !

Hi @mbabaei,

Check your PHP error log for details.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

[Sun Jun 24 08:01:39.459269 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 1. {main}() /home/david/Project/git-journal/ojs/index.php:0, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459272 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 2. PKPApplication->execute() /home/david/Project/git-journal/ojs/index.php:68, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459275 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 3. Dispatcher->dispatch() /home/david/Project/git-journal/ojs/lib/pkp/classes/core/PKPApplication.inc.php:253, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459278 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 4. PKPComponentRouter->route() /home/david/Project/git-journal/ojs/lib/pkp/classes/core/Dispatcher.inc.php:126, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459282 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 5. PKPRouter->_authorizeInitializeAndCallRequest() /home/david/Project/git-journal/ojs/lib/pkp/classes/core/PKPComponentRouter.inc.php:164, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459285 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 6. call_user_func:{/home/david/Project/git-journal/ojs/lib/pkp/classes/core/PKPRouter.inc.php:200}() /home/david/Project/git-journal/ojs/lib/pkp/classes/core/PKPRouter.inc.php:200, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459288 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 7. PageHandler->userNavBackend() /home/david/Project/git-journal/ojs/lib/pkp/classes/core/PKPRouter.inc.php:200, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459292 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 8. PageHandler->setupHeader() /home/david/Project/git-journal/ojs/lib/pkp/controllers/page/PageHandler.inc.php:55, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459295 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 9. DAOResultFactory->next() /home/david/Project/git-journal/ojs/lib/pkp/controllers/page/PageHandler.inc.php:77, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459298 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 10. JournalDAO->_fromRow() /home/david/Project/git-journal/ojs/lib/pkp/classes/db/DAOResultFactory.inc.php:128, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459300 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 11. ContextDAO->_fromRow() /home/david/Project/git-journal/ojs/classes/journal/JournalDAO.inc.php:40, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459306 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 12. DAO->getDataObjectSettings() /home/david/Project/git-journal/ojs/lib/pkp/classes/context/ContextDAO.inc.php:61, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459309 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 13. DataObject->setData() /home/david/Project/git-journal/ojs/lib/pkp/classes/db/DAO.inc.php:596, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459438 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP Warning: Illegal string offset ā€˜fa_IRā€™ in /home/david/Project/git-journal/ojs/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459441 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP Stack trace:, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459444 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 1. {main}() /home/david/Project/git-journal/ojs/index.php:0, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459447 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 2. PKPApplication->execute() /home/david/Project/git-journal/ojs/index.php:68, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459450 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 3. Dispatcher->dispatch() /home/david/Project/git-journal/ojs/lib/pkp/classes/core/PKPApplication.inc.php:253, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459453 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 4. PKPComponentRouter->route() /home/david/Project/git-journal/ojs/lib/pkp/classes/core/Dispatcher.inc.php:126, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459456 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 5. PKPRouter->_authorizeInitializeAndCallRequest() /home/david/Project/git-journal/ojs/lib/pkp/classes/core/PKPComponentRouter.inc.php:164, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459460 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 6. call_user_func:{/home/david/Project/git-journal/ojs/lib/pkp/classes/core/PKPRouter.inc.php:200}() /home/david/Project/git-journal/ojs/lib/pkp/classes/core/PKPRouter.inc.php:200, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459463 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 7. PageHandler->userNavBackend() /home/david/Project/git-journal/ojs/lib/pkp/classes/core/PKPRouter.inc.php:200, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459466 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 8. PageHandler->setupHeader() /home/david/Project/git-journal/ojs/lib/pkp/controllers/page/PageHandler.inc.php:55, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459469 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 9. DAOResultFactory->next() /home/david/Project/git-journal/ojs/lib/pkp/controllers/page/PageHandler.inc.php:77, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459472 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 10. JournalDAO->_fromRow() /home/david/Project/git-journal/ojs/lib/pkp/classes/db/DAOResultFactory.inc.php:128, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459475 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 11. ContextDAO->_fromRow() /home/david/Project/git-journal/ojs/classes/journal/JournalDAO.inc.php:40, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459478 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 12. DAO->getDataObjectSettings() /home/david/Project/git-journal/ojs/lib/pkp/classes/context/ContextDAO.inc.php:61, referer: http://ojs/index.php/linux/submission/wizard
[Sun Jun 24 08:01:39.459481 2018] [:error] [pid 8416] [client 127.0.0.1:54300] PHP 13. DataObject->setData() /home/david/Project/git-journal/ojs/lib/pkp/classes/db/DAO.inc.php:596, referer: http://ojs/index.php/linux/submission/wizard

when i debug the problem i found that in this file ā€œojs/lib/pkp/templates/submission/form/index.tplā€, foreach not working and why?! i donā€™t know ?!

{foreach from=$steps key=step item=stepLocaleKey}
		<li><a name="step-{$step|escape}" href="{url op="step" path=$step submissionId=$submissionId}">{$step}. {translate key=$stepLocaleKey}</a></li>
	{/foreach}

i should say that code run very well till above foreach !

i found the solution, my PKPsubmissionHandler doesnā€™t the ā€œfunction setupTemplateā€ ! Thanks
Close this topic