Working in Firefox / Chrome, not in IE / Safari?

Upload core product.
Post Reply
VinceMarsh
Posts: 1
Joined: Wed Nov 26, 2008 4:48 pm

Working in Firefox / Chrome, not in IE / Safari?

Post by VinceMarsh »

We just purchased the JFileUpload software a few hours ago and are eager to put it to use.

Unfortunately, in our tests, the applet is working fine in Firefox and Chrome, but not in IE or Safari. We tested on multiple machines at the company, so it's not a machine configuration issue as far as we can tell. The sample demo on jfileupload.com works fine in all browsers, but our uploaded version of the applet does not, so obviously we broke something.

Here is a simple, pared-down test page:
http://www.downhomelife.com/test_applet.html
(The ftp account details being used are temporary and the account is jailed pretty tightly; still, we will switch it out once we solve this issue)

Java console in IE reports:
SEVERE: java.net.MalformedURLException
java.lang.NullPointerException
at jfileupload.transfer.client.ftp.E.P(Unknown Source)
at jfileupload.transfer.client.ftp.FTPUploadTransfer.P(Unknown Source)
at jfileupload.transfer.client.util.Conf.B(Unknown Source)
at jfileupload.upload.client.MApplet.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.NullPointerException

Any suggestions?

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Working in Firefox / Chrome, not in IE / Safari?

Post by support »

You've made a typo in the JavaScript so the cross-browser support was broken.
Do you see:
document.writeln('<PARAM NAME="maxsize" VALUE="73400320"');
It must be:
document.writeln('<PARAM NAME="maxsize" VALUE="73400320">');

Also, for "forward" parameter it must be absolute URL such as:
http://yourserver.com/submit.php?thanks_video=1

Does it help ?

Post Reply