Pkp-lib: [OJS 3.1.2-1] Statistics/Articles wouldn’t work properly when base url is set

Created on 21 Jun 2019  Â·  3Comments  Â·  Source: pkp/pkp-lib

Hi! When the base url of the journal is set in the config, the journal manager will only get the default graph. Setting any date ranges or filters would result in this error: “An unexpected error has occurred. Please reload the page and try again.”.
See here: https://forum.pkp.sfu.ca/t/ojs-3-1-2-1-statistics-articles-wouldnt-work-properly-when-base-url-is-set/54112

Most helpful comment

@Ph-We, I think this is probably related to your rewriting configuration; I suspect the API URL is not getting routed to OJS, which is why the server is responding with a 404.

All 3 comments

@Ph-We, I think this is probably related to your rewriting configuration; I suspect the API URL is not getting routed to OJS, which is why the server is responding with a 404.

@asmecher hello!

Do you by chance have an example of rewrite-rules to help me write mine?

Best Regards,

Dung.

Was this page helpful?
0 / 5 - 0 ratings