7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Fatal error: Class 'ImageUploadField' not found
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
| Go to End | Next > | |
| Author | Topic: | 2398 Views |
-
Fatal error: Class 'ImageUploadField' not found

1 November 2010 at 1:44pm
Just installed image gallery r493 on a website (running with silverstripe v 2.4.2), installed fine, dev/build ran fine, but when I went to create a new image gallery page in the cms it came up with:
Fatal error: Class 'ImageUploadField' not found in C:\...\wwwroot\image_gallery\code\ImageGalleryAlbum.php on line 27line 27 in ImageGalleryAlbum.php says: new ImageUploadField('CoverImage',_t('ImageGalleryAlbum.COVERIMAGE','Cover Image'))
Any ideas what's causing this problem and how to fix?
thanks
-
Re: Fatal error: Class 'ImageUploadField' not found

2 November 2010 at 10:50am
Try using SimpleImageUploadField instead.
-
Re: Fatal error: Class 'ImageUploadField' not found

2 November 2010 at 11:26am
Hi, thanks. I tried that but I'm still getting the exact same error, except now it says:
Fatal error: Class 'SimpleImageUploadField' not found in .... -
Re: Fatal error: Class 'ImageUploadField' not found

2 November 2010 at 11:59am
My bad, try SimpleImageField.
-
Re: Fatal error: Class 'ImageUploadField' not found

2 November 2010 at 12:38pm
Thanks, that got rid of the Fatal error ...
Just getting 'error saving content' when saving the gallery page now .... -
Re: Fatal error: Class 'ImageUploadField' not found

4 November 2010 at 10:39am
You can delete the SWFUpload module. ImageGallery uses Uploadify now.
http://www.leftandmain.com/silverstripe-modules/2010/08/26/uploadify/
--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com -
Re: Fatal error: Class 'ImageUploadField' not found

15 November 2010 at 5:27pm
Thanks.
I installed uploadify, updated DOM and ImageGallery modules while I was at it. Still getting "Error Saving Content" though.
How can I get it to show an error message with more details than 'error saving content' ? -
Re: Fatal error: Class 'ImageUploadField' not found

16 November 2010 at 3:28am
You can check the response in Firebug or your web inspector..
--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com
| 2398 Views | ||
| Go to Top | Next > |


