7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » TypeError: Result of expression 'form.onsubmit' [null] is not a function.
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: | 3232 Views |
-
TypeError: Result of expression 'form.onsubmit' [null] is not a function.

13 March 2010 at 9:03am
When trying to upload a file I get the following error message on Safari but not on Firefox. Any help?
TypeError: Result of expression 'form.onsubmit' [null] is not a function.
-
Re: TypeError: Result of expression 'form.onsubmit' [null] is not a function.

13 March 2010 at 9:05am
Chrome gives this error.
TypeError: Property 'onsubmit' of object #<an HTMLFormElement> is not a function
-
Re: TypeError: Result of expression 'form.onsubmit' [null] is not a function.

13 March 2010 at 9:16am
Make sure you're on the latest version of the SWFUpload module.
-
Re: TypeError: Result of expression 'form.onsubmit' [null] is not a function.

13 March 2010 at 10:42am
Now I get this error.
There was a problem with the upload.
The server did not accept it. -
Re: TypeError: Result of expression 'form.onsubmit' [null] is not a function.

13 March 2010 at 10:49am
It's a PHP error of some sort. Refer to the docs for the steps on troubleshooting SWFUpload responses.
http://doc.silverstripe.org/doku.php?id=modules:swfuploadfield#troubleshooting
-
Re: TypeError: Result of expression 'form.onsubmit' [null] is not a function.

16 March 2010 at 6:25am
It looks like the upload works on small files (~4MB) but not larger files (~11MB).
-
Re: TypeError: Result of expression 'form.onsubmit' [null] is not a function.

16 March 2010 at 6:28am
Yeah, check your upload_max_filesize and max_post_size settings. The lesser of the two will be the ceiling for your uploads. SWFUploadConfig should automatically set the limit to upload_max_filesize.
-
Re: TypeError: Result of expression 'form.onsubmit' [null] is not a function.

16 March 2010 at 6:43am
Where do I edit upload_max_filesize and max_post_size?
I tried the php.ini file and they're set at about 64MB.
| 3232 Views | ||
| Go to Top | Next > |

