CAN'T LOGIN TO GR! Error: java.io.EOFException: Premature

Jester2000
Jester2000's picture

Joined: 2003-06-24
Posts: 40
Posted: Tue, 2003-06-24 05:38

52445|INFO |GalComm2 |Logging in to http://www.my_gallery_url/
354419|ERROR|GalComm2 |java.io.EOFException: Premature EOF encountered

I'm so frustrated!
Any help whatsoever would be greatly appreciated.

-Jess

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2003-06-24 06:36

Please post a more detailed log, according to the instructions in the ReadMe.html file, including real URL to your site. Also post the version and platform of your Gallery and Gallery Remote.

 
Jester2000
Jester2000's picture

Joined: 2003-06-24
Posts: 40
Posted: Tue, 2003-06-24 14:55

My Url is http://www.creativeartist.net/jester/gallery_1

Gallery Remote Version 1.0
However there was a link to download version 1.0.1. in somebodys post, and I downloaded it. I wasn't exactly sure how to install it.. I just copied the new files and pasted them in the GR dir (overwriting some files). But it still says version 1.0 when I click ABOUT. I probably did something wrong.

I didn't know how much of the log you wanted...
Here is the end of the log :

2113|INFO |ImageUtils|tmpDir: C:\DOCUME~1\Jess\LOCALS~1\Temp\thumbs
2183|INFO |ImageUtils|useIM: true
2183|INFO |ImageUtils|imPath: imagemagick/win32/convert.exe
28220|INFO |MainFrame |Command selected Help.About
62860|INFO |MainFrame |Command selected Album
63050|INFO |MainFrame |Command selected Album
63231|INFO |MainFrame |Command selected Album
63471|INFO |MainFrame |Command selected Album
63661|INFO |MainFrame |Command selected Album
63861|INFO |MainFrame |Command selected Album
64042|INFO |MainFrame |Command selected Album
65374|INFO |MainFrame |Command selected Fetch
68388|INFO |MainFrame |fetchAlbums starting
68398|INFO |GalComm2 |Logging in to http://www.creativeartist.net/jester/gallery_1/
370663|ERROR|GalComm2 |java.io.EOFException: Premature EOF encountered
at HTTPClient.StreamDemultiplexor.read(StreamDemultiplexor.java:275)
at HTTPClient.RespInputStream.read(RespInputStream.java:155)
at HTTPClient.RespInputStream.read(RespInputStream.java:115)
at HTTPClient.Response.readResponseHeaders(Response.java:971)
at HTTPClient.Response.getHeaders(Response.java:693)
at HTTPClient.Response.getStatusCode(Response.java:263)
at HTTPClient.RetryModule.responsePhase1Handler(RetryModule.java:83)
at HTTPClient.HTTPResponse.handleResponse(HTTPResponse.java:724)
at HTTPClient.HTTPResponse.getStatusCode(HTTPResponse.java:190)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.requestResponse(GalleryComm2.java:294)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.requestResponse(GalleryComm2.java:265)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.login(GalleryComm2.java:363)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:237)
at java.lang.Thread.run(Unknown Source)

370663|INFO |GalComm2 |Error: java.io.EOFException: Premature EOF encountered

Thanks for the help,

Jess
[url]www.unicycle.com2.info[/url]

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2003-06-24 15:01

Hi Jess, cool gallery.

The first probelm I see just logging in with a web browser is this text along the bottom of the page:

Quote:
Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

 
Jester2000
Jester2000's picture

Joined: 2003-06-24
Posts: 40
Posted: Tue, 2003-06-24 15:25

Funny you say that... I just posted a question about it this morning..

You can find it here:

http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=7106

I'm glad you like the gallery.. I love the skin except some of the links are white and you can only see them if you rollover them. (this bugs me because I don't know if people will notice that you can add a comment)

Thanks,

Jess

 
Schultz

Joined: 2003-06-28
Posts: 1
Posted: Sat, 2003-06-28 13:16

Hey i was having the same problem with my scripts and it turned out the Gallery Remote can't have zlib compression output.. I generally use
ob_gzhandler for my output_handler but after i added this to gallery's .htaccess file
php_value output_handler none

it works fine.. so this might be your problem also..

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2003-07-01 07:53

Schultz, could you PM me access parameters to your Gallery (a test account) so I can test that? Or step-by-step instructions I can use to enable gzip output on my own Gallery?

 
joel558
joel558's picture

Joined: 2003-04-10
Posts: 93
Posted: Tue, 2003-07-01 08:12
paour wrote:
Or step-by-step instructions I can use to enable gzip output on my own Gallery?

look in your php.ini file at the "output_handler" setting

from his message sounds like he has his set to

output_handler = ob_gzhandler

I'm guessing this is probably what he is using

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2003-07-01 08:20

Thanks Joel!

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2003-07-01 08:37

Unfortunately, I'm running an old version of PHP, and I can't enable output_handler.

I need to upgrade to a more recent version of RH; I'll try to do it when I come back from vacation, when hopefully I can use an ADSL-modem/router and breaking my linux box isn't as much of a problem :-).

 
garion911

Joined: 2003-07-04
Posts: 1
Posted: Fri, 2003-07-04 18:40

I'm getting the same problem w/ 1.0.1... It was fresh install... I also had a copy of 1.0b8 laying around.. That version works fine..

I was gzipping everything using mod_gzip, but turned it off after reading the above... No change..

--garion

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Fri, 2003-07-18 09:06

garion911, can you PM me access instructions to your Gallery (Gallery URL, test username and passwd) so I can test this?