Problem With Java Upload
-
Hessi
- Phoca Member

- Posts: 27
- Joined: 04 Mar 2009, 20:23
Re: Problem With Java Upload
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!
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Problem With Java Upload
I will do some changes in beta, so after beta will be released please let me know.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
Hessi
- Phoca Member

- Posts: 27
- Joined: 04 Mar 2009, 20:23
Re: Problem With Java Upload
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)!
The phocagallery-Images-folder is set to 777.
Any idea?
Greetings:
Michael
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)!
The phocagallery-Images-folder is set to 777.
Any idea?
Greetings:
Michael
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Problem With Java Upload
what exactly you mean with:
But the Picture IS uploaded (644)! ?
If you find Phoca extensions useful, please support the project
-
Hessi
- Phoca Member

- Posts: 27
- Joined: 04 Mar 2009, 20:23
Re: Problem With Java Upload
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
The rights are set automaticly to 644 - it's readable.
cu
m
-
Hessi
- Phoca Member

- Posts: 27
- Joined: 04 Mar 2009, 20:23
Re: Problem With Java Upload
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:
Michael
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:
RegardsFri 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
Michael
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Problem With Java Upload
Hi, I am not programmer of this java upload script so maybe this should be question on developer of this script
Jan
Jan
If you find Phoca extensions useful, please support the project
-
Hessi
- Phoca Member

- Posts: 27
- Joined: 04 Mar 2009, 20:23
Re: Problem With Java Upload
Hi Jan,
you'll aks the developer?
Regards
Michael
P.S.: It is possible to change the uploader? Jumploader i.e. works absolutly perferct.
you'll aks the developer?
Regards
Michael
P.S.: It is possible to change the uploader? Jumploader i.e. works absolutly perferct.
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Problem With Java Upload
Hi, there is a problem with licensing and size by Jumploader 
If you find Phoca extensions useful, please support the project
-
slboone
- Phoca Newbie

- Posts: 2
- Joined: 16 Jul 2009, 03:38
Re: Problem With Java Upload
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
Thank you,
Sondra