GR fails with error message: "Upload Error: Protocol ou

EdRandom
EdRandom's picture

Joined: 2002-08-21
Posts: 7
Posted: Mon, 2002-09-23 18:21

Hi there,

(I'm reposting this from the Troubleshooting forum)

I've been using Gallery for a couple of months now, it's great. Especially with Gallery Remote.

For some reason, Gallery Remote 0.3 stopped working (after pushing Upload, no files are uploaded). I uninstalled v0.3, and upgraded to GR 1.0 preview. Same thing; drag 'n drop files into the upload window, select the appropriate album and press Upload. Again. nothing happens.

The server is running RedHat 7.3 with all updates, Apache and PHP are at 1.3.23-14 and 4.1.2-7.3.4 respectively. The Gallery has been running for months, with GR 0.3 for image upload from a WinXP client.

I'm guessing that uploads must have stopped working since the PHP update from RedHat (2002-08-23) was installed on the webserver. As far as I could determine, no other changes were made on the webserver.

GR log.txt shows the following messages:

1032641917066|INFO |GalleryCom|[Album Fetch] Success
1032641917066|INFO |GalleryCom|[Album Fetch] Complete.
1032641924166|INFO |MainFrame |Command selected Upload
1032641924166|INFO |MainFrame |uploadPictures starting
1032641924196|INFO |GalleryCom|[Login] Logging in...
1032641924366|INFO |GalleryCom|[Login] Success
1032641924366|INFO |GalleryCom|[Upload DSCN0597.JPG] Uploading...
1032641925007|INFO |GalleryCom|[Upload DSCN0597.JPG] Upload Error: Protocol out of Date. < 1.
1032641925007|INFO |GalleryCom|[Upload] Aborted.
1032641925188|TRACE|Album |Firing ListDataEvent=javax.swing.event.ListDataEvent[type=0,index0=0,index1=0]
1032641925198|INFO |MainFrame |uploadPictures finished
1032641934781|TRACE|DROPLIST |dragEnter - dtde
1032641935092|TRACE|DROPLIST |Adding new image(s) to list at index:0
1032641935092|TRACE|Album |Firing ListDataEvent=javax.swing.event.ListDataEvent[type=0,index0=0,index1=1]
1032641935092|TRACE|ThumbCache|preloadThumbnail [Ljava.io.File;@8aeb74
1032641935092|TRACE|ThumbCache|Calling Start
1032641936254|INFO |MainFrame |Command selected Upload
1032641936254|INFO |MainFrame |uploadPictures starting
1032641936264|INFO |GalleryCom|[Login] Logging in...
1032641936474|INFO |GalleryCom|[Login] Success
1032641936474|INFO |GalleryCom|[Upload DSCN0597.JPG] Uploading...
1032641937245|INFO |GalleryCom|[Upload DSCN0597.JPG] Upload Error: Protocol out of Date. < 1.
1032641937245|INFO |GalleryCom|[Upload] Aborted.
1032641937295|TRACE|Album |Firing ListDataEvent=javax.swing.event.ListDataEvent[type=0,index0=0,index1=0]
1032641937295|INFO |MainFrame |uploadPictures finished
1032641964985|INFO | |Shutting log down

I even tried installing Gallery v1.3.1 over my existing Gallery (a pre-1.3.1 CVS version). That did not make a difference either.

I can't figure out what "Protocol" would be "out of date"... I checked the Apache logs; the access log shows "POST /gallery-remote.php 200" several times (my attempts at uploading). There are no entries in the error log for this site.

I checked the gallery-remote.php script. Apparently, the $protocal_version (note spelling!) variable is not set. Is it a global variable that, for some reason, no longer gets set with the new PHP? The script itself was not changed, so it is not the cause of my problems.

Anyone, help me please :???:

Greetings,
Ed.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2002-09-26 19:08

This is a PHP/Gallery config issue, please refer to this <!-- BBCode Start --><A HREF="http://https://sourceforge.net/tracker/?func=detail&amp;atid=107130&amp;aid=593146&amp;group_id=7130" TARGET="_blank">Bug</A><!-- BBCode End -->.