I can upload with applet big and form, but with applet, I can't.
When I push "upload" button, nothing happens !
My teacher use Gallery too, and I can add pics on his site with applet, so this may be a configuration problemn, or a server problem.
On JAVA console, I have 2 errors :
4735|ERROR|ImageUtils|java.lang.ClassFormatError: com/drew/imaging/jpeg/JpegProcessingException (Bad magic number)
java.lang.SecurityException: class "com.gallery.GalleryRemote.util.OsShutdown"'s signer information does not match signer information of other classes in the same package
What can I do ?
Thanks
Posts: 1479
Did you upload Gallery to your web server via FTP? The JAR files need to be uploaded in binary mode.
Posts: 2
yes, I downloaded jar files in binary mode. (it was auto mode before)
but result is the same.
Posts: 1
I have exactly the same problem. I tried to upload the jars via binary mode on CuteFTP and this didnt work so I used the shell based ftp to upload manually in binary. Still the problem persisted. I then updated my gallery 1.4.3 to 1.4.4 and still get the same error as yourself. Finally I downloaded Gallery Remote and this works ok...
Posts: 1479
Th correct file-size for the jars in G 1.4.4-RC3 should be:
153099 GalleryRemoteApplet.jar
221227 GalleryRemoteAppletMini.jar
215262 GalleryRemoteHTTPClient.jar
9786 applet_img.jar
(in bytes)
Posts: 120
Same problem here.
Filesizes are corret.
1.4.4 Final.
Nothing happens after click on upload-button.
Posts: 1479
Can someone attach a complete Java log of this problem?
Posts: 120
Adding picture to the queue:
Entering the "upload"-button
Posts: 1479
Thanks for the logs!
The first alert is not a problem, but I've now suppressed it because it does alarm users.
I think I've corrected the second problem. Please update your applets to 1.4.1-b5 and let me know how it goes...
http://gallery.menalto.com/modules.php?op=modload&name=GalleryDocs&file=index&page=gallery1-install.remote-applets.php
Posts: 120
Aarg. I should have read your answer earlier.
;-)
I cleaned my temporary internet-files, the java-cache.
Hard to find the java-cache.
I spent a lot of time for searching for the java-files ;-)
-----
After that:
I've tested 1.4.4 standalone and postnuke-embedded.
No chance. Same problem....
BUT:
I have a subdomain for testing scripts.
I updated to Gallery v1.4.5-cvs-b104.
And what happens: The java-applet is working, now.
So. I will update the java-files for 1.4.4 final.
Thanx for your help.
Posts: 120
Wow. How you sugess.
Updated java-applet works ! Fine. Thanx-a-lot.
BUT
After uploading I am logged out. (postnuke)
Posts: 120
Tested it stand-alone: No logged out.
But why i am logged out in postnuke?
Posts: 1479
The problem with getting logged out with the embedded applet should be corrected in GR 1.4.1-b6.
Posts: 120
thx again.
I don't want to disturb you the whole day.
But with "gallery_remote_applets_1.4.1-b6.zip" i am still logged out after uploading.
Sorry.
Posts: 120
Am I alone with this problem?
Anyone who has the samen problem?
Posts: 1479
Can you describe what you mean by logged out?
Posts: 120
I am using gallery as a module in postnuke.
See my site (sorry in german): w?w.carsten-volmer.de
(Click on "bilder" in the horizontal navbar).
The last album is my upload-album.
I am normally logged in through postnuke.
1)
If I download the new java-files (because of cleaning the cache), postnuke logged me out after refreshing the site. I've done no upload.
- Choose "upload picture" in the option-dropdown
- browser downloads java-files
- I see the gallery-java-applet
- I close the applet (window)
- Hit F5 (refresh)
- I am logged out
2)
- Choose "upload picture" in the option-dropdown
- browser must not download java-files because they are already installed
- I see the java-applet
- I chosse any pictures and hit "upload"
- file-upload is working (no error)
- I close the upload-window
- Hit "refresh"
- picture is now in the upload-album
- but I am logged out
pls check your pm
Posts: 1479
So just running the applet, without uploading anything, logs you out? Strange...
Posts: 120
YES.
The first time I have to download the applet without upload anything, logs me out.
It is strange, I know.
Posts: 1479
Herr.Vorragend, I tried tracing the problem, but I can't figure out why you're getting logged out. I have replicated the problem and found a bug in the applet that may explain this strange behavior.
Can you update your applets to 1.4.1-b9 and test again? Thanks!
Posts: 120
I'am sorry. I am getting still logged out after uploading and refreshing.
Applets updated.
Posts: 120
Hmm.
I have updated my site.
A completely new installation of postnuke 0.7.5.0 with a new theme (xanthia-theme).
I updated all gallery-files and GR-Files.
But after uploading a picture with the java-applet, I am logged out.
Posts: 1479
The fact that users become logged out after using the applet in embedded mode has been reported, but I've never been able to find out why. I'll try again.