2 Installations of Gallery

wicked33

Joined: 2003-12-23
Posts: 57
Posted: Wed, 2004-04-28 12:16

Hello All,

And good day to all...

Here is my problem,
I have gallery installed in 2 different locations, 1 is
http://www.michiganseekers.com/gallery which after the upgrade to 1.4.3 everything works great, (love the slideshow)

The other installation is at: http://www.michiganseekers.com/odyssey/showgirls
and after the upgrade, everything works except the full screen slideshow, which works fine in my other gallery (after upgrade). It loads the applet to the point of saying (downloading the Gallery Remote Applet) the progress bar fills up, but will not start. I am talking about the slideshow link within the Gallery, and not gallery remote, dont know if this is a remote issue or not....

I have tried everything, from re-installing a clean gallery (no updates), to
taking the one that works and overwriting the other, totally deleting the one that didnt work, and re-installing...

this is the java error i get:

load: class com.gallery.GalleryRemote.GRAppletSlideshow not found.

java.lang.ClassNotFoundException: com.gallery.GalleryRemote.GRAppletSlideshow

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: java.io.IOException: open HTTP connection failed.

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

... 10 more

Is this trying to pull the same Session ID, or same cookie and not allowing it to work?

Any help would be greatly appreciated...

Thanks in advance!

Mark

Gallery URL http://www.michiganseekers.com/gallery (Full slideshow works)
2nd Gallery Install URL http://www.michiganseekers.com/odyssey/showgirls (Full slideshow doesnt work)
Gallery version: 1.4.3
Apache version: 1.3.29 (Unix)
PHP version: 4.3.4
Graphics Toolkit: ImageMagick
Operating system: Linux
Web browser/version (if applicable): IE 6.0/service pack 1

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2004-04-28 12:27

[moving to correct forum]

 
wicked33

Joined: 2003-12-23
Posts: 57
Posted: Wed, 2004-04-28 14:38

sorry, didnt realize this was a remote issue...

:(

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2004-04-28 14:43

wicked33, no problem. I'm sure that Paour can help you out (btw, read the stickies in this forum first) :)

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2004-04-28 15:02

I downloaded http://www.michiganseekers.com/odyssey/showgirls/java/GalleryRemoteAppletMini.jar, and that file is corrupted, it's missing a few bytes at the end.

Not sure what causes the corruption, especially since you reinstalled, but you should be able to figure it out.

You can get a good copy of all the applet files here.

 
wicked33

Joined: 2003-12-23
Posts: 57
Posted: Wed, 2004-04-28 17:35

well, i downloaded and installed the files, they actually were a different size. but it still doesnt work, i even chmod the files the same as they are in the gallery that works...

any other ideas? its almost like it can only pull the java script or cookie, for 1 gallery.

i thought maybe it was a cookie or session ID calling my domain name, and can only do it once?

thanks again

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2004-04-28 17:41

I can confirm that the jar is still corrupt when I download it. I'm not sure what is happening, but this is a problem on your server, and there isn't a whole lot I can do to help. If Java is installed on your server, you can try to see if the jar is correct with 'jar tvf GalleryRemoteAppletMini.jar'.

 
wicked33

Joined: 2003-12-23
Posts: 57
Posted: Wed, 2004-04-28 17:48

i got it, i was uploading them in ascii mode, deleted them, uploaded the ones you gave me link to in auto mode, and it works....

THANK YOU!

I wonder why it didnt do that in the other gallery, cause i know i uploaded them in ascii mode...

Any way thanks for all your help, appreciated..

 
wicked33

Joined: 2003-12-23
Posts: 57
Posted: Wed, 2004-04-28 18:03

well, i take that back.. lol

It works, but in some albums, it will not retrieve images?

anyway, thanks again

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2004-04-28 20:27

Can you be more specific?

 
wicked33

Joined: 2003-12-23
Posts: 57
Posted: Wed, 2004-04-28 21:19

Well, certain albums work with the slideshow, and certain ones dont....

http://www.michiganseekers.com/odyssey/showgirls/Hypnotiq_SoftCore

Like this one, the applet will not retrieve the photos...

Hmm, just found out if i login as admin, they get retrieved.... weird

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2004-04-28 22:40

I see what's happening: gallery_remote2.php is thinking only thumbs are available. I assume what's going on is that you have set this album to not allow guests (who are not logged in) to see full-size photos, and that it happens that all the photos hve been uploaded to the album default resized size.

In this situation, the protocol should understand that when no resized size exists, the full-size should be returned.

Can you confirm this is the case?

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2004-04-28 23:37

I've fixed this (I think) in G 1.4.4-b69 and 1.4.3-pl1-b7. Can you upgrade to this version on the nightly builds to validate?

 
wicked33

Joined: 2003-12-23
Posts: 57
Posted: Thu, 2004-04-29 00:55

You are right, i logged in as another user, and it all worked... the part i dont understand is being a guest, i can view some of them in the slideshow... and not others

Where do i get them other versions of gallery your talking about?

I am glad to help test....

Thanks Again,

Mark

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2004-04-29 01:02

The nightly site is: http://jpmullan.com/galleryupdates/ .

The problem can affect some pictures in an album or all of them.

 
wicked33

Joined: 2003-12-23
Posts: 57
Posted: Thu, 2004-04-29 01:07

ok, just logged in as admin, and it did the same thing, refreshed the page, and it worked.....

And i dont see either of these G 1.4.4-b69 and 1.4.3-pl1-b7. at the nightly site... maybe i am blind? lol

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2004-04-29 01:11

Can you provide more details? From your previous post, I don't know if you're reporting an incorrect behavior or what...

 
wicked33

Joined: 2003-12-23
Posts: 57
Posted: Thu, 2004-04-29 01:19

ok, as a guest, some albums dont operate the slideshow, if i log in as admin, i get the same screen as posted below, but if i refresh the page, then it works....

http://www.michiganseekers.com/docs/guestnotworking.bmp

 
wicked33

Joined: 2003-12-23
Posts: 57
Posted: Thu, 2004-04-29 02:14

I am installing newest version of gallery now (daily/current.gallery.tar.gz 4919K)

Will let you know if i have the same problem, if your interested in knowing anyway....

 
wicked33

Joined: 2003-12-23
Posts: 57
Posted: Thu, 2004-04-29 04:04

OMG this new gallery rocks! damn..............

Everything works great. the only thing i noticed, is if you include the folder (java) when your uploading in ASCII it corrupts the files. it did mine anyway, after i re-upped them in auto mode, everything worked great.......

Anyway, love all the added features in this new version, especially the uploading status window, great idea.....

thanks,
mark

 
wicked33

Joined: 2003-12-23
Posts: 57
Posted: Thu, 2004-04-29 11:44

Just to let you know, i am still having the problem in this gallery, i do not have guest viewing off, it just doesnt seem to want to retrieve the images all the time.. sometimes it will, sometimes it wont... very weird....

wicked33 wrote:
Well, certain albums work with the slideshow, and certain ones dont....

http://www.michiganseekers.com/odyssey/showgirls/Hypnotiq_SoftCore

Like this one, the applet will not retrieve the photos...

Hmm, just found out if i login as admin, they get retrieved.... weird

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2004-04-29 14:40

As I said earlier, I fixed this problem in CVS. You have to upgrade your Gallery for the fix.

 
wicked33

Joined: 2003-12-23
Posts: 57
Posted: Thu, 2004-04-29 18:21

yes, i did, was just letting you know :P

thanks for all your help........ appreciated...

mark

 
wicked33

Joined: 2003-12-23
Posts: 57
Posted: Fri, 2004-04-30 02:05

ok, installed newest version of gallery.. (Gallery v1.4.4-cvs-b62 )

still the same problem in 1 album, and cant figure it out...

here is the album:

http://www.michiganseekers.com/odyssey/showgirls/Hypnotiq_SoftCore

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Fri, 2004-04-30 14:00

The bug is fixed in b69. It's not yet available on the nightly site, I'm investigating why.

 
wicked33

Joined: 2003-12-23
Posts: 57
Posted: Fri, 2004-04-30 14:34

ok, let me know if you need anything else from me....

thanks again for your help.....