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

File is not a valid upload (CMS Files and Images upload) (Problem with SilverStripe 2.4.6)


Reply


5 Posts   843 Views

Avatar
Josua

Community Member, 86 Posts

17 January 2012 at 5:21am

Presumably, this problem has been fixed in version 2.4.6
But SilverStripe 2.4.6 still has the same problem.

I've seen the bug can be fixed using this patch:
http://open.silverstripe.org/attachment/ticket/5547/2.4.1-FileUpload-2.diff

but, why has not fixed in version 2.4.6 of SilverStripe?

Perhaps, this fix is not correct?

Thanks,
Regards,
Jose A.

Avatar
swaiba

Forum Moderator, 1808 Posts

17 January 2012 at 5:29am

I would say focus on what is there for free rather than this question. In any case the answer is likely to be "there are items which are higher priority" like security, SS3, paid work...

Avatar
Josua

Community Member, 86 Posts

17 January 2012 at 8:39am

The fact is that it is strange, because it is a problem pretty evident, since it prevents using CMS to upload files. The solution provided is easy. It has been a long time since the solution was found out.
Beginners like me can go crazy at first.
According to the documentation of the bugs area, this bug has been fixed in some SilverStripe version.
So I do not understand that has not been fixed in SilverStripe 2.4.6.

Thank you for your answer.

Regards,
Jose A.

Avatar
swaiba

Forum Moderator, 1808 Posts

18 January 2012 at 12:58am

Thing is it clearly doesn't affect all users - I think it relates to having open base dir set or not for the enviroment. If it totally blocked upload of files I imagine it would have been fixed.

I feel your frustration as a "beginner" silverstripe is a developers CMS, it's not all point and click - it is normally code and build - I guess this is why it is sometime rough around the edges and fixes are often code...

*checkboxes cannot be added to required fields
*save button missing label*
*images being reduced in quality
*(and the file upload thing)

above is my list of "why weren't these included" now it's all on github it is easier than ever to contribute to the code to fix these things - but the fixes have to meet all the criteria.

(*included now, but wasn't for ages)

Avatar
Josua

Community Member, 86 Posts

19 January 2012 at 3:04am

I hope that will gradually fixing all these things. Especially the older ones. :)
Thank you very much for your answers.

Regards,
Jose A.