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:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Getting fatal error when trying to use SWFUploadField on the frontend


Go to End


2 Posts   814 Views

Avatar
MarcusDalgren

Community Member, 288 Posts

25 February 2010 at 10:58pm

Hi Uncle Cheese.

Today I'm trying to use the SWFUploadField on the frontend and the upload form works fine.
However I noticed that when I submitted the file wasn't put in any directory in the assets folder so I dumped out the post.

The post contained Fatal error: Class 'XeeticImage' not found in SWFUploadControls.php on line 10. I went in and checked and it appears as if it tries to make a new instance of the class XeeticImage if the uploaded file is an image. Is this correct or has some kind of error snuck in?

I was thinking that maybe this function shouldn't fire at all but I have no idea. I'm running on the latest SVN, checked out about half an hour ago.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

26 February 2010 at 4:26am

Yikes. Sorry about that. Checked in the wrong working copy. Run an update and you should be good.