Page 2 of 3

Re: Problem With Java Upload

Posted: 22 Jun 2009, 14:00
by Hessi
I've tried the alfa-Version right now. It works fine on OS X with Safari :| , but causes a crash with FF. Looking forward to the beta. Thanks a lot!

Re: Problem With Java Upload

Posted: 23 Jun 2009, 19:07
by Jan
I will do some changes in beta, so after beta will be released please let me know.

Jan

Re: Problem With Java Upload

Posted: 03 Jul 2009, 15:32
by Hessi
Hi Jan,

thanks a lot. But I've still some issues:

Firefox 3.5 - klicking on the link in FE for the UserControlcenter:
Popoup: "Error during Applet Initializing"
Statusbar: "Ausnahme: java.lang.NullPointerExcpetion"

Safari still works fine.

But... If the Applet uploads a Picture, I'll get the Popup:
"Alert - Unable to upload File"
But the Picture IS uploaded (644)! :shock:

The phocagallery-Images-folder is set to 777.

Any idea? :(

Greetings:
Michael

Re: Problem With Java Upload

Posted: 03 Jul 2009, 17:27
by Jan
:idea:

what exactly you mean with:
But the Picture IS uploaded (644)! ?

Re: Problem With Java Upload

Posted: 03 Jul 2009, 17:35
by Hessi
The picture is uploaded, you can see it via ftp and it's displayed within phocagallery.
The rights are set automaticly to 644 - it's readable.

cu
m

Re: Problem With Java Upload

Posted: 03 Jul 2009, 18:05
by Hessi
I've forgot something:

The Backend has a folder protection with a htpassword and a page.restrictor.php. Can I edit the java-applet to put in the data for accessing the /administrator-folder?

Here's the output from the java-console:
Fri Jul 03 17:58:32 CEST 2009 JEP creating applet wjhk.jupload2.JUploadApplet (http://www.homecon.net/index.php/)
<<< ProxyClassLoader: defined LiveConnectProxy class. >>>
<<< Here're the permissions you've got: >>>
<<< java.security.Permissions@e28a61 (
(java.net.SocketPermission www.homecon.net connect,accept,resolve)
)
>>>
-ERROR- null
java.lang.NullPointerException
at wjhk.jupload2.policies.DefaultUploadPolicy.<init>(DefaultUploadPolicy.java:507)
at wjhk.jupload2.policies.PictureUploadPolicy.<init>(PictureUploadPolicy.java:216)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at wjhk.jupload2.policies.UploadPolicyFactory.getUploadPolicy(UploadPolicyFactory.java:125)
at wjhk.jupload2.JUploadApplet.init(JUploadApplet.java:179)
at sun.applet.AppletPanel.run(AppletPanel.java:380)
at jep.AppletFramePanel.run(Unknown Source)
at java.lang.Thread.run(Thread.java:613)
-ERROR- java.lang.reflect.InvocationTargetException in newInstance(error message: null)
null
[Ljava.lang.StackTraceElement;@a8e53c
Regards
Michael

Re: Problem With Java Upload

Posted: 06 Jul 2009, 20:21
by Jan
Hi, I am not programmer of this java upload script so maybe this should be question on developer of this script :idea: :(

Jan

Re: Problem With Java Upload

Posted: 06 Jul 2009, 22:00
by Hessi
Hi Jan,

you'll aks the developer?

Regards
Michael

P.S.: It is possible to change the uploader? Jumploader i.e. works absolutly perferct.

Re: Problem With Java Upload

Posted: 07 Jul 2009, 15:42
by Jan
Hi, there is a problem with licensing and size by Jumploader :(

Re: Problem With Java Upload

Posted: 16 Jul 2009, 03:40
by slboone
I have updated my Phoca Gallery to the 2.5 version and I am still having problems with the java uploader with the Mac. Is there a resolution yet?

Thank you,

Sondra