Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Files & Images not matching what is actually in the assets/uploads folder


8 Posts   1389 Views


9 April 2010 at 2:30am Community Member, 36 Posts

I have a major problem with the files and images that appear in the silverstripe admin not matching what is actually in the folder. When using the "insert link" or "insert image" the drop down list takes up to a day to finally index anything that is newly added. It finally got to the point where is was not adding anything new so I had to clear out the "files" table and let it start new. After rebooting the server, flushing and doing a dev/build it won't show certain folders and files that it was showing before. Is there a limit set where it only shows so many?
I have subsites running, also, and I have many users who depend on this feature.

Any help would MUCH be appreciated!



9 April 2010 at 4:05am Community Member, 36 Posts

Also, since I deleted the Files table,
My file listings pages are jacked up. The files go below my template below the footer and it duplicates my navigation menu.


9 April 2010 at 7:07pm (Last edited: 9 April 2010 7:07pm), Community Member, 105 Posts

Click on the 'Files & Images' tab this will index the assets folder I know its kind of quirky but works :)


10 April 2010 at 1:40am Community Member, 36 Posts

That used to work, but it just gives me a blank screen. Do you know if this is problem that will be fixed in the next release?


11 April 2010 at 1:13pm Forum Moderator, 5511 Posts

If you are using 2.4rc then the automatic filesystem sync has been turned off so you have to manually invoke this by clicking the 'Look for new Files' link next to the create folder button.


13 April 2010 at 1:23am Community Member, 36 Posts

We are on 2.3.6, and the problem is happening when I am in "Content"/"Main" and I go to insert a link by using the toolbar where I have the option to download a file and choose from the "File" drop menu.
My files and images have not been updated for more than a month. I have restarted the system, deleted the files table and let it rebuild (When it rebuilt, it was missing MORE files and folders than before), I have also tried going to the "Files & Images" because this used to refresh the list. (Now when I go to Files and Images, it gives me a blank screen.)

Any suggestions would be WONDERFUL!


16 April 2010 at 4:54am Community Member, 36 Posts

I was able to fix this problem by increasing apache memory.


16 April 2010 at 11:20am Community Member, 105 Posts

Glad you sorted it out, it didn't cross my mind there might have been a background error the blank page should have triggered that thought a good thing to do is in your sites _config.php put:


This will show you any errors, you can also add:


If the other doesn't work just remember to take them back out for production servers :)