You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jayarjo edited this page Apr 16, 2013
·
1 revision
Unusual -500 Init Error Bug
While using the flash runtime environment, we were receiving an obscure -500 Init Error alert box. This was very hard to track down (took us several hours), but I de-minified the plupload.full.js file and tracked it down to this function call:
This javascript code calls the setFileFilters function of the Flash object. In our case, it turned out that n.settings.filters was set to an empty string, rather than an empty array.
filters="";// WRONG!filters=[];// RIGHT
So, if you ever receive a -500 Init Error when using the flash runtime, check your settings to make sure they are correct. In our case, the filters setting needed to be an array, not a string.