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.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Member problem of SWFUploadfield on the frontend


2 Posts   667 Views


18 September 2010 at 8:35am Community Member, 2 Posts

I used SWFUploadField in a frontend form. It works almost perfectly but everytime after I uploaded the file. No matter I logined or not, the OwnerID of the file is still 0.

I found out that when the form submitted, the Member::currentUser() is NULL.

Is that because of the SWF uploader(May be the session is different)?

Any idea or solution will be really appreciated.


25 September 2010 at 4:44am 4085 Posts

I recommend switching to Uploadify.

SilverStripe tips, tutorials, screencasts and more: