You may need to set LimitRequestBody...

lagreca

Joined: 2003-08-08
Posts: 9
Posted: Fri, 2003-08-08 03:27

When I use GR to try and upload my pictures I am getting this error log:

Quote:
271551|TRACE|ThumbCache|Calling Start
271571|TRACE|ImageUtils|Executing imagemagick/win32/convert.exe -size 64x64 -filter Box "C:\jcl files\Buffalo pictures\IMG_1016.JPG" -resize "64x64" +profile "*" C:\DOCUME~1\Chuck\LOCALS~1\Temp\thumbs\thumb24870.gif
272913|TRACE|ImageUtils|Returned with value 0
272953|TRACE|ImageUtils|Time: 1392 - Avg: 838
272953|TRACE|ThumbCache|update progress 1/4
272963|TRACE|ImageUtils|Executing imagemagick/win32/convert.exe -size 64x64 -filter Box "C:\jcl files\Buffalo pictures\IMG_1017.JPG" -resize "64x64" +profile "*" C:\DOCUME~1\Chuck\LOCALS~1\Temp\thumbs\thumb24871.gif
273503|TRACE|ImageUtils|Returned with value 0
273513|TRACE|ImageUtils|Time: 560 - Avg: 768
273513|TRACE|ThumbCache|update progress 2/4
273523|TRACE|ImageUtils|Executing imagemagick/win32/convert.exe -size 64x64 -filter Box "C:\jcl files\Buffalo pictures\IMG_1018.JPG" -resize "64x64" +profile "*" C:\DOCUME~1\Chuck\LOCALS~1\Temp\thumbs\thumb24872.gif
274074|TRACE|ImageUtils|Returned with value 0
274084|TRACE|ImageUtils|Time: 561 - Avg: 727
274084|TRACE|ThumbCache|update progress 3/4
274104|TRACE|ImageUtils|Executing imagemagick/win32/convert.exe -size 64x64 -filter Box "C:\jcl files\Buffalo pictures\IMG_1019.JPG" -resize "64x64" +profile "*" C:\DOCUME~1\Chuck\LOCALS~1\Temp\thumbs\thumb24873.gif
274545|TRACE|ImageUtils|Returned with value 0
274555|TRACE|ImageUtils|Time: 471 - Avg: 684
274555|TRACE|ThumbCache|update progress 4/4
276588|TRACE|ThumbCache|preloadThumbnailFilenameFirst C:\jcl files\Buffalo pictures\IMG_1016.JPG
276708|TRACE|ThumbCache|preloadThumbnailFilenameFirst C:\jcl files\Buffalo pictures\IMG_1016.JPG
277209|TRACE|ThumbCache|preloadThumbnailFilenameFirst C:\jcl files\Buffalo pictures\IMG_1016.JPG
278821|INFO |MainFrame |Command selected Upload
278821|INFO |MainFrame |uploadPictures starting
278821|INFO |MainFrame |Saving state to file C:\Documents and Settings\Chuck\.GalleryRemote\backup.grg
279352|TRACE|GalComm2 |Still logged in to http://lagreca.no-ip.com/gallery/
279352|TRACE|GalComm2 |add-item parameters: [HTTPClient.NVPair[name=cmd,value=add-item], HTTPClient.NVPair[name=protocol_version,value=2.3], HTTPClient.NVPair[name=set_albumName,value=Buffalo2003], HTTPClient.NVPair[name=caption,value=IMG_1016.JPG]]
279662|TRACE|GalComm2 |Url: /gallery/gallery_remote2.php
279662|TRACE|GalComm |Sending cookie: PHPSESSID=a425439b0becc567656ab0d077628456; path=/; domain=lagreca.no-ip.com
1264468|ERROR|GalComm2 |java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:3026)
at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2772)
at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2564)
at HTTPClient.HTTPConnection.Post(HTTPConnection.java:1066)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.requestResponse(GalleryComm2.java:287)
at com.gallery.GalleryRemote.GalleryComm2$UploadTask.uploadPicture(GalleryComm2.java:527)
at com.gallery.GalleryRemote.GalleryComm2$UploadTask.runTask(GalleryComm2.java:460)
at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:244)
at java.lang.Thread.run(Unknown Source)

1264498|INFO |GalComm2 |You may need to set LimitRequestBody 16777216 and memory_limit = 64M in /etc/php.ini and /etc/httpd/conf.d/php.conf on your Gallery server

java.net.SocketException: Software caused connection abort: socket write error
1338835|INFO |MainFrame |Shutting down GR
1339396|INFO |MainFrame |Shutting down log

I am able to upload pictures via the web interface, so I know gallery is working properly. I have already edited my php.ini and php.conf files. Here are excerpts from php.ini:

Quote:
; Maximum allowed size for uploaded files.
upload_max_filesize = 128M

and from php.conf:

Quote:
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 33554432
</Files>

Does anyone have any idea what is causing this or how it can be fixed? It used to work, and works when I am local, or at least the last time I checked it did. But I am away from home right now and am not able to upload my pics. Thanks for the help.

AttachmentSize
log.txt53.59 KB
 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Mon, 2003-09-22 19:00

Any updates on this?