I get a pop up with this error message: “An unexpected error has occurred. Please reload the page and try again.” Reloading does nothing, and the message won’t go away until I’ve tried closing it at least 3 times. I can see the submissions page, but it won’t load any of the lists. Submissions can be viewed from the task menu though if they’re new.
I get these errors when looking at Chrome’s developer tools:
jquery.min.js:4 GET https://ijpds.org/index.php/ijpds/api/v1/submissions?status=1&searchPhrase=&count=20&offset=0&=1512650130227 404 (Not Found)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
get @ build.js:1
n @ build.js:1
(anonymous) @ build.js:1
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
K @ jquery.min.js:2
pkp.min.js:317 Uncaught TypeError: Cannot read property ‘trigger’ of undefined
at a.pkp.controllers.modal.ModalHandler.modalOpen (pkp.min.js:317)
at Le.ajaxErrorCallback (build.js:1)
at Le.n [as ajaxErrorCallback] (build.js:1)
at Object.error (build.js:1)
at j (jquery.min.js:2)
at Object.fireWith [as rejectWith] (jquery.min.js:2)
at x (jquery.min.js:4)
at XMLHttpRequest.b (jquery.min.js:4)
a.pkp.controllers.modal.ModalHandler.modalOpen @ pkp.min.js:317
ajaxErrorCallback @ build.js:1
n @ build.js:1
error @ build.js:1
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
x @ jquery.min.js:4
b @ jquery.min.js:4
XMLHttpRequest.send (async)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
get @ build.js:1
n @ build.js:1
(anonymous) @ build.js:1
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
K @ jquery.min.js:2
jquery.min.js:4 GET https://ijpds.org/index.php/ijpds/api/v1/submissions?status=1&assignedTo=-1&searchPhrase=&count=20&offset=0&=1512650130226 404 (Not Found)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
get @ build.js:1
n @ build.js:1
(anonymous) @ build.js:1
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
K @ jquery.min.js:2
pkp.min.js:317 Uncaught TypeError: Cannot read property ‘trigger’ of undefined
at a.pkp.controllers.modal.ModalHandler.modalOpen (pkp.min.js:317)
at Le.ajaxErrorCallback (build.js:1)
at Le.n [as ajaxErrorCallback] (build.js:1)
at Object.error (build.js:1)
at j (jquery.min.js:2)
at Object.fireWith [as rejectWith] (jquery.min.js:2)
at x (jquery.min.js:4)
at XMLHttpRequest.b (jquery.min.js:4)
a.pkp.controllers.modal.ModalHandler.modalOpen @ pkp.min.js:317
ajaxErrorCallback @ build.js:1
n @ build.js:1
error @ build.js:1
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
x @ jquery.min.js:4
b @ jquery.min.js:4
XMLHttpRequest.send (async)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
get @ build.js:1
n @ build.js:1
(anonymous) @ build.js:1
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
K @ jquery.min.js:2
jquery.min.js:4 GET https://ijpds.org/index.php/ijpds/api/v1/submissions?status%5B%5D=4&status%5B%5D=3&searchPhrase=&count=20&offset=0&=1512650130228 404 (Not Found)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
get @ build.js:1
n @ build.js:1
(anonymous) @ build.js:1
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
K @ jquery.min.js:2
pkp.min.js:317 Uncaught TypeError: Cannot read property ‘trigger’ of undefined
at a.pkp.controllers.modal.ModalHandler.modalOpen (pkp.min.js:317)
at Le.ajaxErrorCallback (build.js:1)
at Le.n [as ajaxErrorCallback] (build.js:1)
at Object.error (build.js:1)
at j (jquery.min.js:2)
at Object.fireWith [as rejectWith] (jquery.min.js:2)
at x (jquery.min.js:4)
at XMLHttpRequest.b (jquery.min.js:4)
a.pkp.controllers.modal.ModalHandler.modalOpen @ pkp.min.js:317
ajaxErrorCallback @ build.js:1
n @ build.js:1
error @ build.js:1
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
x @ jquery.min.js:4
b @ jquery.min.js:4
XMLHttpRequest.send (async)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
get @ build.js:1
n @ build.js:1
(anonymous) @ build.js:1
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
K @ jquery.min.js:2
3pkp.min.js:317 Uncaught TypeError: Cannot read property ‘addClass’ of undefined
at pkp.min.js:317
(anonymous) @ pkp.min.js:317
setTimeout (async)
a.pkp.controllers.modal.ModalHandler.modalOpen @ pkp.min.js:317
ajaxErrorCallback @ build.js:1
n @ build.js:1
error @ build.js:1
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
x @ jquery.min.js:4
b @ jquery.min.js:4
XMLHttpRequest.send (async)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
get @ build.js:1
n @ build.js:1
(anonymous) @ build.js:1
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
K @ jquery.min.js:2
3pkp.min.js:317 Uncaught TypeError: Cannot read property ‘focus’ of undefined
at pkp.min.js:317
Hi @astevens I get this error:
pkp.min.js:117 Uncaught Error: Constructor for object “$.pkp.controllers.tab.settings.managementSettings.UsersAndRolesTabHandler” not found!
at Function.a.pkp.classes.Helper.resolveObjectName (pkp.min.js:117)
at Function.a.pkp.classes.Helper.objectFactory (pkp.min.js:116)
at HTMLDivElement. (pkp.min.js:443)
at Function.each (jquery.min.js:2)
at n.fn.init.each (jquery.min.js:2)
at n.fn.init.a.fn.pkpHandler (pkp.min.js:443)
at HTMLDocument. (access:132)
at j (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
I wouldn’t have removed anything, so I don’t know why it says it can’t find something. Any ideas?
Uncaught TypeError: Cannot read property ‘trigger’ of undefined
at a.pkp.controllers.modal.ModalHandler.modalOpen (pkp.min.js:317)
at Le.ajaxErrorCallback (build.js:1)
at Le.n [as ajaxErrorCallback] (build.js:1)
at Object.error (build.js:1)
at j (jquery.min.js:2)
at Object.fireWith [as rejectWith] (jquery.min.js:2)
at x (jquery.min.js:4)
at XMLHttpRequest.b (jquery.min.js:4)
Found the error log. I get these two types of errors:
ojs2: 404 Not Found (never used OJS 2)
and
Missing argument 1 for Issue::getCoverImage(), called in /var/www/html/cache/t_compile/848732f29c33e03602e7b02bd392634c9ec5c88b^%%E3^E34^E345B504%%indexJournal.tpl.php on line 289 and defined in /var/www/html/classes/issue/Issue.inc.php on line 360
This one is repeated for the alt text twice and the article cover image twice.
I can see my assigned submissions, but the error modal still pops up first and the other three tabs won’t load anything - it just has the loading spinner. I can understand why the modal is popping up because of the JS errors, but I don’t know what’s causing that to begin with.
In somehow you remove /index.php/ijpds from your OJS running install. Please consider using it back or double check how this suffix was removed from your URL.
Regards,
Israel Cefrin
Public Knowledge Project Team
If you want use a base_url without /index.php you need set restful_urls = On and adjust your Apache .htaccess file to reflect such change and handling with that (what I presume you already did).
Please, double check Apache is redirecting request to right path either.
See here some more infos about it:
Regards,
Israel Cefrin
Public Knowledge Project Team