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.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

2.4 file upload broken - applied #5547 patch, still buggy?

Go to End



Community Member, 9 Posts

11 May 2010 at 10:03pm

Edited: 18/05/2010 4:09am


applied the patches from to a fresh SS 2.4 installation. Seems not enough, upload works but

1. the image goes into assets instead of assets/Uploads
2. the image gets it's extension stripped, so it's not myimage.gif but myimage

Should I download cms/code/AssetAdmin.php, sapphire/filesystem/Folder.php and Upload.php from the trunk instead?

Or do I need to tweak some settings?


I got #1 - upload into Uploads folder - working now by doing a DB-update (look for new files). Remains #2 the lost extension - no one else have this problem?

regards, vr


#2: resolved: it has been described in ticket #5547, but is easily overlooked: trunk and branch 2.4 differ in how they treat file extensions in Folder::addUploadToFolder. Keep that in mind when applying sapphire-fileupload.patch to the stable 2.4 release.