Describe the issue or problem
I just upload an image in page footer settings or add an html img tag to a certain image. The browser show me the image but when I try to save it, the system alert said “An unexpected error has occurred. Please reload the page and try again.”
The web browser console shows me an error: “POST journalURL/api/v1/contexts/1 403 (Forbidden)”
In server files I could see the image in public/site/images, so, I don’t think it is a permission issue, or at least write and read permissions. This also happens with images in announcements with error:
“POST journalURL/api/v1/announcements/8 403 (Forbidden)”
Other images uploaded to the site work fine (logo, Journal thumbnail, …)
Steps I took leading up to the issue
- Go to 'settings / website / appearance / setup / page footer
- Click on image or source code (adding html img tag)
- Select an image. The image was uploaded successfully (I can see it in the browser and in server files)
- click save. Error “An unexpected error has occurred. Please reload the page and try again.”
What application are you using?
OJS 3.3.0-12 in Xampp.
Windows server 2016.
No error in PHP error log. Web browser Console show:
XAMPP has been installed and is running with administrator permissions.
Any idea? Thanks!