Submission achieve refuse to load after implementing Restful_url

ojs3
#1

Dear all,

we started having troubles loading current submission and achieve after implementing mod_rewrite and restful_url in our federated journal system. While trying to troubleshoot i saw this error log in JS console.

/ijmao/api/v1/submissions?status%5B%5D=4&status%5B%5D=3&searchPhrase=&count=20&offset=0&=1558095786152:1 Failed to load resource: the server responded with a status of 404 (Not Found)
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)
/ijmao/api/v1/submissions?status=1&searchPhrase=&count=20&offset=0&=1558095786151:1 Failed to load resource: the server responded with a status of 404 (Not Found)
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)
/ijmao/api/v1/submissions?status=1&assignedTo=-1&searchPhrase=&count=20&offset=0&=1558095786150:1 Failed to load resource: the server responded with a status of 404 (Not Found)
2ModalHandler.js:204 Uncaught TypeError: Cannot read property ‘addClass’ of undefined
at ModalHandler.js:204
2ModalHandler.js:210 Uncaught TypeError: Cannot read property ‘focus’ of undefined
at ModalHandler.js:210
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)
ModalHandler.js:204 Uncaught TypeError: Cannot read property ‘addClass’ of undefined
at ModalHandler.js:204
ModalHandler.js:210 Uncaught TypeError: Cannot read property ‘focus’ of undefined
at ModalHandler.js:210

can anyone be of help?
Thanks

#2

What specific directives (probably mod_rewrite directives?) are you using in your URL rewriting for the RESTful URL configuration?