Submission achieve refuse to load after implementing Restful_url

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

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

Dear sir
we used mod_rewrite.
thanks

AddHandler application/x-httpd-php .php

RewriteEngine On
RewriteBase /

# Check for and remove "www" if necessary
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,NE,L]
#RewriteRule ^(.*)$ index.php/$1 [QSA,L]

#Add /index to the home url
#RewriteRule ^/?$ /index [L,R=302]

RewriteCond %{SERVER_NAME} ^gja.unilag.edu.ng
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/gja/$1 [L]

RewriteCond %{SERVER_NAME} ^jbms.unilag.edu.ng
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/jbms/$1 [L]

RewriteCond %{SERVER_NAME} ^jumoke.unilag.edu.ng
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/jumoke/$1 [L]

# Use this set of 3 lines to allow access to the site level
RewriteCond %{SERVER_NAME} ^journals.unilag.edu.ng
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/index/$1 [L]

Try adding the QSA option to your RewriteRule directives.

i have included QSA option in the directive yet remain the same.

but a check on my Firefox console shows the following error:

TypeError: $handledElement is undefined[Learn More] ModalHandler.js:210:4
modalOpen http://ijmao.unilag.edu.ng/lib/pkp/js/controllers/modal/ModalHandler.js:210
thanks

@asmecher @ctgraham ;

This problem persists.

Thanks

What are the current request URLs that you see in your browser’s web inspector, and what HTTP status code results from each?