Submission achieve will not load

Dear Sir @isreal.cefrin,
need help with a problem i encountered while loading submissions. It is taking forever to load. After checking my apache error log i found the following errors persistenlty.

PHP Fatal error: Call to a member function getSetting() on null in /home/journal_web/public_html/pages/information/InformationHandler.inc.php on line 88

also, i found the following errors which are too many.
[Thu Jun 14 01:51:36.658621 2018] [:error] [pid 26985] [client 62.210.83.132:54444] ojs2: 404 Not Found, referer: http://lares.unilag.edu.ng/license.txt
[Thu Jun 14 02:05:52.141431 2018] [:error] [pid 29570] [client 54.175.216.122:45078] PHP Fatal error: Call to a member function getId() on null in /home/journal_web/public_html/lib/pkp/pages/notification/NotificationHandler.inc.php on line 100, referer: https://www.google.com/
[Thu Jun 14 02:05:53.700498 2018] [:error] [pid 26980] [client 54.175.216.122:45104] PHP Fatal error: Call to a member function getId() on null in /home/journal_web/public_html/lib/pkp/pages/notification/NotificationHandler.inc.php on line 100, referer: https://www.google.com/
[Thu Jun 14 02:06:53.748324 2018] [:error] [pid 28741] [client 216.244.66.234:44444] ojs2: 404 Not Found

what could be the meaning of the above?

Thanks

Gbolahan Idowu

Hi @Gbolly

While page was loading no spinning wheel has been shown? Could you also check your browser log to check if it has any error message?

Regards,
Israel Cefrin
Public Knowledge Project Team

Hi @israel.cefrin
The spanning wheel was on continuously and the following errors were in the browser log

jquery.js:9666 GET http://ijmao.unilag.edu.ng//ijmao/api/v1/submissions?status=1&searchPhrase=&count=20&offset=0&=1529341359741 404 (Not Found)
send @ jquery.js:9666
ajax @ jquery.js:9211
get @ build.js:1
(anonymous) @ build.js:1
fire @ jquery.js:3099
fireWith @ jquery.js:3211
ready @ jquery.js:3423
completed @ jquery.js:3453
ModalHandler.js:214 Uncaught TypeError: Cannot read property ‘trigger’ of undefined
at proxyConstructor.$.pkp.controllers.modal.ModalHandler.modalOpen (ModalHandler.js:214)
at $e.ajaxErrorCallback (build.js:6)
at Object.error (build.js:1)
at fire (jquery.js:3099)
at Object.fireWith [as rejectWith] (jquery.js:3211)
at done (jquery.js:9312)
at XMLHttpRequest.callback (jquery.js:9720)
$.pkp.controllers.modal.ModalHandler.modalOpen @ ModalHandler.js:214
ajaxErrorCallback @ build.js:6
error @ build.js:1
fire @ jquery.js:3099
fireWith @ jquery.js:3211
done @ jquery.js:9312
callback @ jquery.js:9720
XMLHttpRequest.send (async)
send @ jquery.js:9666
ajax @ jquery.js:9211
get @ build.js:1
(anonymous) @ build.js:1
fire @ jquery.js:3099
fireWith @ jquery.js:3211
ready @ jquery.js:3423
completed @ jquery.js:3453
jquery.js:9666 GET http://ijmao.unilag.edu.ng//ijmao/api/v1/submissions?status%5B%5D=4&status%5B%5D=3&searchPhrase=&count=20&offset=0&=1529341359742 404 (Not Found)
send @ jquery.js:9666
ajax @ jquery.js:9211
get @ build.js:1
(anonymous) @ build.js:1
fire @ jquery.js:3099
fireWith @ jquery.js:3211
ready @ jquery.js:3423
completed @ jquery.js:3453
ModalHandler.js:214 Uncaught TypeError: Cannot read property ‘trigger’ of undefined
at proxyConstructor.$.pkp.controllers.modal.ModalHandler.modalOpen (ModalHandler.js:214)
at $e.ajaxErrorCallback (build.js:6)
at Object.error (build.js:1)
at fire (jquery.js:3099)
at Object.fireWith [as rejectWith] (jquery.js:3211)
at done (jquery.js:9312)
at XMLHttpRequest.callback (jquery.js:9720)
$.pkp.controllers.modal.ModalHandler.modalOpen @ ModalHandler.js:214
ajaxErrorCallback @ build.js:6
error @ build.js:1
fire @ jquery.js:3099
fireWith @ jquery.js:3211
done @ jquery.js:9312
callback @ jquery.js:9720
XMLHttpRequest.send (async)
send @ jquery.js:9666
ajax @ jquery.js:9211
get @ build.js:1
(anonymous) @ build.js:1
fire @ jquery.js:3099
fireWith @ jquery.js:3211
ready @ jquery.js:3423
completed @ jquery.js:3453
2ModalHandler.js:204 Uncaught TypeError: Cannot read property ‘addClass’ of undefined
at ModalHandler.js:204
(anonymous) @ ModalHandler.js:204
setTimeout (async)
$.pkp.controllers.modal.ModalHandler.modalOpen @ ModalHandler.js:203
ajaxErrorCallback @ build.js:6
error @ build.js:1
fire @ jquery.js:3099
fireWith @ jquery.js:3211
done @ jquery.js:9312
callback @ jquery.js:9720
XMLHttpRequest.send (async)
send @ jquery.js:9666
ajax @ jquery.js:9211
get @ build.js:1
(anonymous) @ build.js:1
fire @ jquery.js:3099
fireWith @ jquery.js:3211
ready @ jquery.js:3423
completed @ jquery.js:3453
2ModalHandler.js:210 Uncaught TypeError: Cannot read property ‘focus’ of undefined
at ModalHandler.js:210
(anonymous) @ ModalHandler.js:210
setTimeout (async)
$.pkp.controllers.modal.ModalHandler.modalOpen @ ModalHandler.js:209
ajaxErrorCallback @ build.js:6
error @ build.js:1
fire @ jquery.js:3099
fireWith @ jquery.js:3211
done @ jquery.js:9312
callback @ jquery.js:9720
XMLHttpRequest.send (async)
send @ jquery.js:9666
ajax @ jquery.js:9211
get @ build.js:1
(anonymous) @ build.js:1
fire @ jquery.js:3099
fireWith @ jquery.js:3211
ready @ jquery.js:3423
completed @ jquery.js:3453
jquery.js:9666 GET http://ijmao.unilag.edu.ng//ijmao/api/v1/submissions?status=1&assignedTo=-1&searchPhrase=&count=20&offset=0&=1529341359740 404 (Not Found)
send @ jquery.js:9666
ajax @ jquery.js:9211
get @ build.js:1
(anonymous) @ build.js:1
fire @ jquery.js:3099
fireWith @ jquery.js:3211
ready @ jquery.js:3423
completed @ jquery.js:3453
ModalHandler.js:214 Uncaught TypeError: Cannot read property ‘trigger’ of undefined
at proxyConstructor.$.pkp.controllers.modal.ModalHandler.modalOpen (ModalHandler.js:214)
at $e.ajaxErrorCallback (build.js:6)
at Object.error (build.js:1)
at fire (jquery.js:3099)
at Object.fireWith [as rejectWith] (jquery.js:3211)
at done (jquery.js:9312)
at XMLHttpRequest.callback (jquery.js:9720)
$.pkp.controllers.modal.ModalHandler.modalOpen @ ModalHandler.js:214
ajaxErrorCallback @ build.js:6
error @ build.js:1
fire @ jquery.js:3099
fireWith @ jquery.js:3211
done @ jquery.js:9312
callback @ jquery.js:9720
XMLHttpRequest.send (async)
send @ jquery.js:9666
ajax @ jquery.js:9211
get @ build.js:1
(anonymous) @ build.js:1
fire @ jquery.js:3099
fireWith @ jquery.js:3211
ready @ jquery.js:3423
completed @ jquery.js:3453
ModalHandler.js:204 Uncaught TypeError: Cannot read property ‘addClass’ of undefined
at ModalHandler.js:204
(anonymous) @ ModalHandler.js:204
setTimeout (async)
$.pkp.controllers.modal.ModalHandler.modalOpen @ ModalHandler.js:203
ajaxErrorCallback @ build.js:6
error @ build.js:1
fire @ jquery.js:3099
fireWith @ jquery.js:3211
done @ jquery.js:9312
callback @ jquery.js:9720
XMLHttpRequest.send (async)
send @ jquery.js:9666
ajax @ jquery.js:9211
get @ build.js:1
(anonymous) @ build.js:1
fire @ jquery.js:3099
fireWith @ jquery.js:3211
ready @ jquery.js:3423
completed @ jquery.js:3453
ModalHandler.js:210 Uncaught TypeError: Cannot read property ‘focus’ of undefined
at ModalHandler.js:210

regards
gbolahan

Hi @Gbolly

Have you tweaked your OJS to remove index.php from URL ? It looks like some assets are missing or not being found, i.e; http://ijmao.unilag.edu.ng//ijmao/api/v1/ - it is returning a 404 error.

How did you remove those path from URL?

Regards,
Israel Cefrin
Public Knowledge Project Team

Hi @israel.cefrin,
I used mod_rewrite in a. htaccess file to modify base URL so that I can have unique subdomain for each journal hosted on my ojs installation.
So that I can have ijmao.unilag.edu.ng instead of journals.unilag.edu.ng/ijmao

Hi @Gbolly

Have you updated your base_url parameter in config.inc.php file for each journal as well?

Regards,
Israel Cefrin
Public Knowledge Project Team

Hi @israel.cefrin,
Yes, I updated that as well
Thanks
Gbolahan

Hi @Gbolly

It looks like this is a known issue that PKP team is already dealing with, you may follow it on this URL ISSUE:

Regards,
Israel Cefrin
Public Knowledge Project Team

Good day,
As this issue been resolved.
Thanks