I have noticed that the image uploader in journal setup page is not working. It happens in both of our 2.3.7 and 2.4.6 versions.
It is very similar to issue logged here: Upload images from any user in OJS
As soon as I click the image icon, below error occurs:
failed to load /[journal_initials]/lib/pkp/lib/tinymce/jscripts/tiny_mce/plugins/jbimages/ci/index.php/blank/english
404 Not Found
When I browse and select an image to be uploaded, the spinner keeps spinning and below error occurs:
rest_url os on and base_url[journal_initials] is set.
TinyMCE plugin is enabled also.
The error logged in server log:
404 Not Found -- RequestPath: /[journal_initials]/lib/pkp/lib/tinymce/jscripts/tiny_mce/plugins/jbimages/ci/index.php/listImages/, referer: https://dev-demo1.library.qut.edu.au/lib/pkp/lib/tinymce/jscripts/tiny_mce/plugins/jbimages/dialog.htm
Also I have this warning on the setup page:
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
I’ll leave @beghelli to follow up – but just to note that OJS 3.0 already has an updated TinyMCE. Currently OJS 3.0 is in beta, so please watch our website for concrete release plans. Until then it’s under development and not ready for production use.
I don’t think the problem you’re encountering is related to that bug – the image uploader is known to be working for many users on a variety of platforms, so it’s likely to be related to file permissions or a specific rewrite setup.
Public Knowledge Project Team
This issue is not solved yet. I wanted to debug lib/pkp/lib/tinymce/jscripts/tiny_mce/plugins/jbimages/integratePKP.php to see valuse for baseUrl and ImageDir. However it seems it never gets to this file. I even tried disabling and enabling TinyMCE plugin. Which didn’t help. Would you please advice?
Actually we have already released and the site is available publicly. (version 2.4.6)
you can try image uploader on user profile page for example.
Thanks @beghelli. I tried adding that commit to my 2.4.6 version, but it didn’t fix the issue upload image. I think we wait for the stable version 3.0. Is there any estimation of the release date for that one?