Problem With Java Upload

Phoca Gallery - image gallery extension
Hessi
Phoca Member
Phoca Member
Posts: 27
Joined: 04 Mar 2009, 20:23

Re: Problem With Java Upload

Post 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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem With Java Upload

Post by Jan »

I will do some changes in beta, so after beta will be released please let me know.

Jan
If you find Phoca extensions useful, please support the project
Hessi
Phoca Member
Phoca Member
Posts: 27
Joined: 04 Mar 2009, 20:23

Re: Problem With Java Upload

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem With Java Upload

Post by Jan »

:idea:

what exactly you mean with:
But the Picture IS uploaded (644)! ?
If you find Phoca extensions useful, please support the project
Hessi
Phoca Member
Phoca Member
Posts: 27
Joined: 04 Mar 2009, 20:23

Re: Problem With Java Upload

Post 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
Hessi
Phoca Member
Phoca Member
Posts: 27
Joined: 04 Mar 2009, 20:23

Re: Problem With Java Upload

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem With Java Upload

Post 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
If you find Phoca extensions useful, please support the project
Hessi
Phoca Member
Phoca Member
Posts: 27
Joined: 04 Mar 2009, 20:23

Re: Problem With Java Upload

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem With Java Upload

Post by Jan »

Hi, there is a problem with licensing and size by Jumploader :(
If you find Phoca extensions useful, please support the project
slboone
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Jul 2009, 03:38

Re: Problem With Java Upload

Post 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
Post Reply