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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

Error when uploading images

Go to End

3 Posts   1884 Views


Community Member, 1 Post

25 June 2009 at 1:30pm

Our hosting company recently got bought out by another, and therfore all our sites moved to the new host. This has caused lots of problems with all the Silverstripe sites. We have fixed them all but one. Getting an error message when trying to upload an image through the CMS. Here is the complete error log:

Error: Folder::addUploadToFolder() File is not a valid upload
At line 215 in /home/Salutcon/domains/

user_error(Folder::addUploadToFolder() File is not a valid upload,256)
line 215 of Folder.php

line 200 of AssetAdmin.php

line 238 of Controller.php

line 119 of Director.php

line 158 of main.php

Any help or suggerstions greatly appreciated!


Community Member, 28 Posts

14 August 2009 at 7:52am

Hi did you resolve this? I'm having a similar problem, webhost has just changed everyone's FTP settings to TLS and now none of my SS installations can upload images...getting "File is not a valid upload".


Community Member, 283 Posts

14 August 2009 at 9:36am

Edited: 14/08/2009 9:42am

Can you folks provide your SS version information? Tracing that error I can see that you aren't running the latest, 2.3.3.

Also this sounds like a core permissions issue, see and ensure you have the right masks/perms set on your hosts AND that the permissions are recursive through all subdirs of /assets/.