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

Flash File Upload Problem


Reply

2 Posts   917 Views

Avatar
Adam L

26 October 2010 at 1:00am Community Member, 5 Posts

Hi all,

I'm having a problem when trying to upload a flash file through the Files and Images menu of the CMS.
The file size is just over 9MB.
The message I get is:
Fatal error: Method name must be a string in /var/www/dot38/expd8_internet/sapphire/forms/Form.php on line 232

Any ideas?
I do not have access to my web server so cannot copy and paste directly into the assets folder.

Thanks

Avatar
swaiba

26 October 2010 at 1:04am Forum Moderator, 1796 Posts

9mb? My first guess would be the following php.ini settings...

; Maximum size of POST data that PHP will accept.
; http://php.net/post-max-size
post_max_size = 99M

; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 99M

note these are from my local php.ini so I can accept large files...