I've successfully inserted images into pages using the standard image upload feature of Silverstripe, however when I try to browser existing images to re-add them to other content pages, the Find in Folder select fails silently.
What I'm doing:
-- I have an image in the system already; I can see it in my Uploads directory, there is a record for it in my File table, I can add it to a content page
-- I open another page to edit in the CMS, click the Image button in the RTE, select the "From the CMS" tab, i see the 1. Find in Folder (choose) input field.
-- I click that Select field, and see the Uploads directory name, I click the Uploads entry in order to list it
-- I get a flash of the "Loading" gif, the Network tab tells me that a request is fired to /admin/pages/edit/EditorToolbar/MediaForm/field/Files but the select field goes back to saying (choose)
There are no javascript errors in the Console, I have Silverstripe dev mode on in my config and there are no PHP errors
I have this issue on a site i've been working on, as well as a fresh install of Silverstripe. I have set my uploads directory to 777 permissions (although I can already save images to it; i don't think it's a permissions thing)
If i inspect the response of the XHR /admin/pages/edit/EditorToolbar/MediaForm/field/Files, it is the whole contents of the Insert Media pop up (eg it starts off:
<form id="Form_EditorToolbarMediaForm" action="admi[...]
Is this a bug with Silverstripe? Anything else I can do to debug it?