Upload applet (JUpload) : the easiest upload ! - Page 25 Upload applet (JUpload) : the easiest upload ! - Page 25
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Upload applet (JUpload) : the easiest upload !

Started by etienne_sf, April 28, 2007, 10:41:28 AM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

tiburcillo

#480
[Edit GauGau] Replaced hotlinked image with attachment [/Edit]

After a brand new install of Coppermine 1.4.16 and the latest Jupload 3.0.0rc4, i still get the SUCCESS error when I try to use the plugin.
I've put PHP Safe mode to off, and I checked all the access rights twice, I even changed the ownership of the entire domain to the user running the apache process. Normal file-by-file upload works as well.
Here's an outpot from the debug log, with Opera and Firefox browsers:
Firefox:

11:57:01.656 [DEBUG] Action : Upload
11:57:01.671 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
11:57:01.671 [DEBUG] Timer started
11:57:01.671 [DEBUG] [getWorkingSourceFile] Creating a copy of 41890-caribbean_1600x1200.jpg as a source working target.
11:57:01.671 [DEBUG] Using working copy temp file C:\DOCUME~1\BE400097\LOCALS~1\Temp\jupload_32077.tmp.jpg for 41890-caribbean_1600x1200.jpg
11:57:01.703 [DEBUG] PicturePanel.paint(): offscreenImage is null
11:57:01.703 [DEBUG] File read: C:\DOCUME~1\BE400097\LOCALS~1\Temp\jupload_32077.tmp.jpg
11:57:03.359 [DEBUG] freeMemory (after end of readImage) : 52650536
11:57:03.421 [DEBUG] freeMemory (after hasToTransformPicture) : 52649568
11:57:03.515 [DEBUG] freeMemory (after hasToTransformPicture) : 53093304
11:57:03.531 [DEBUG] Using transformed temp file C:\DOCUME~1\BE400097\LOCALS~1\Temp\jupload_32078.tmp for 41890-caribbean_1600x1200.jpg
11:57:03.531 [DEBUG] getBufferedImage: start
11:57:03.531 [DEBUG] Resizing factor (scale): 2.0
11:57:03.531 [DEBUG] Picture is now rescaled
11:57:03.531 [DEBUG] bufferedImage: BufferedImage@190dc79: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@17aa55b transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 1600 height = 1200 #numDataElements 3 dataOff[0] = 2
11:57:03.531 [DEBUG] bufferedImage MinX: 0
11:57:03.531 [DEBUG] bufferedImage MinY: 0
11:57:03.531 [DEBUG] getBufferedImage: was 0 ms long
11:57:03.531 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
11:57:03.531 [INFO] Start of metadata managing, for 41890-caribbean_1600x1200.jpg
11:57:03.750 [DEBUG] freeMemory (after getTransformedPictureFile) : 53070784
11:57:03.750 [DEBUG] transformedPictureFile : jupload_32078.tmp
11:57:03.750 [DEBUG] [getWorkingSourceFile] Creating a copy of img1.jpg as a source working target.
11:57:03.750 [DEBUG] Using working copy temp file C:\DOCUME~1\BE400097\LOCALS~1\Temp\jupload_32079.tmp.jpg for img1.jpg
11:57:03.781 [DEBUG] File read: C:\DOCUME~1\BE400097\LOCALS~1\Temp\jupload_32079.tmp.jpg
11:57:04.031 [DEBUG] freeMemory (after end of readImage) : 50559936
11:57:04.093 [DEBUG] freeMemory (after hasToTransformPicture) : 50552520
11:57:04.203 [DEBUG] freeMemory (after hasToTransformPicture) : 50559384
11:57:04.203 [DEBUG] Using transformed temp file C:\DOCUME~1\BE400097\LOCALS~1\Temp\jupload_32080.tmp for img1.jpg
11:57:04.203 [DEBUG] getBufferedImage: start
11:57:04.203 [DEBUG] Resizing factor (scale): 1.6666666666666667
11:57:04.203 [DEBUG] Picture is now rescaled
11:57:04.203 [DEBUG] bufferedImage: BufferedImage@1205d8d: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@17aa55b transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 1920 height = 1440 #numDataElements 3 dataOff[0] = 2
11:57:04.203 [DEBUG] bufferedImage MinX: 0
11:57:04.203 [DEBUG] bufferedImage MinY: 0
11:57:04.203 [DEBUG] getBufferedImage: was 0 ms long
11:57:04.203 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
11:57:04.203 [INFO] Start of metadata managing, for img1.jpg
11:57:04.468 [DEBUG] freeMemory (after getTransformedPictureFile) : 50529360
11:57:04.468 [DEBUG] transformedPictureFile : jupload_32080.tmp
11:57:04.484 [DEBUG] file 0: content=298037 bytes, getAdditionnalBytesForUpload=1637 bytes
11:57:04.484 [DEBUG] chunkHttpParam: jupart=0&jufinal=1
11:57:04.500 [DEBUG] Cookie: coppermine_data=YTozOntzOjI6IklEIjtzOjMyOiIwZWJkYjE1NTZlZGFiNjQ5YTc5YTU4ZTQzOGEwNTYyNCI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo1OiJkdXRjaCI7fQ%3D%3D; f0f10ca751f649690b68873c0ee4f18a=31ab63d321134515c0e7749dc7d09b15; PHPSESSID=78b41f621922bc09bfb1b8e62c7e1f92
11:57:04.500 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
11:57:04.500 [DEBUG] Using non SSL socket, proxy=193.210.163.73:8080
11:57:04.500 [DEBUG] === main header (len=1188):
11:57:04.500 [DEBUG] POST http://foto.strat3go.com/index.php?file=jupload/jupload&action=upload_picture&album=1 HTTP/1.1\r\n
11:57:04.500 [DEBUG] Host: foto.strat3go.com\r\n
11:57:04.500 [DEBUG] Accept: */*\r\n
11:57:04.500 [DEBUG] Accept-Encoding: identity\r\n
11:57:04.500 [DEBUG] Connection: close\r\n
11:57:04.500 [DEBUG] Content-Type: multipart/form-data; boundary=---------------------------3tygfvwgqkk\r\n
11:57:04.500 [DEBUG] Content-Length: 300178\r\n
11:57:04.500 [DEBUG] Content-Type: UTF-8\r\n
11:57:04.500 [DEBUG] Cookie: coppermine_data=YTozOntzOjI6IklEIjtzOjMyOiIwZWJkYjE1NTZlZGFiNjQ5YTc5YTU4ZTQzOGEwNTYyNCI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo1OiJkdXRjaCI7fQ%3D%3D; f0f10ca751f649690b68873c0ee4f18a=31ab63d321134515c0e7749dc7d09b15; PHPSESSID=78b41f621922bc09bfb1b8e62c7e1f92\r\n
11:57:04.500 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11\r\n
11:57:04.500 [DEBUG] \r\n
11:57:04.500 [DEBUG] -----------------------------3tygfvwgqkk\r\n
11:57:04.500 [DEBUG] Content-Disposition: form-data; name="file"\r\n
11:57:04.500 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:57:04.500 [DEBUG] Content-Type: text/plain; UTF-8\r\n
11:57:04.500 [DEBUG] \r\n
11:57:04.500 [DEBUG] jupload/jupload\r\n
11:57:04.500 [DEBUG] -----------------------------3tygfvwgqkk\r\n
11:57:04.500 [DEBUG] Content-Disposition: form-data; name="album"\r\n
11:57:04.500 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:57:04.500 [DEBUG] Content-Type: text/plain; UTF-8\r\n
11:57:04.500 [DEBUG] \r\n
11:57:04.500 [DEBUG] 1\r\n
11:57:04.500 [DEBUG] -----------------------------3tygfvwgqkk\r\n
11:57:04.500 [DEBUG] Content-Disposition: form-data; name="action"\r\n
11:57:04.500 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:57:04.500 [DEBUG] Content-Type: text/plain; UTF-8\r\n
11:57:04.500 [DEBUG] \r\n
11:57:04.500 [DEBUG] upload_picture\r\n
11:57:04.500 [DEBUG] === main header end
#some stuff removed here
11:57:04.500 [DEBUG] C:\Documents and Settings\BE400097\My Documents\My Pictures\r\n
11:57:04.500 [DEBUG] -----------------------------3tygfvwgqkk\r\n
11:57:04.500 [DEBUG] Content-Disposition: form-data; name="relpathinfo[]"\r\n
11:57:04.500 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:57:04.500 [DEBUG] Content-Type: text/plain; UTF-8\r\n
11:57:04.500 [DEBUG] \r\n
11:57:04.500 [DEBUG] \r\n
11:57:04.500 [DEBUG] -----------------------------3tygfvwgqkk\r\n
11:57:04.500 [DEBUG] Content-Disposition: form-data; name="filemodificationdate[]"\r\n
11:57:04.500 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:57:04.500 [DEBUG] Content-Type: text/plain; UTF-8\r\n
11:57:04.500 [DEBUG] \r\n
11:57:04.500 [DEBUG] 04/10/2007 08:54:19\r\n
11:57:04.500 [DEBUG] -----------------------------3tygfvwgqkk\r\n
11:57:04.500 [DEBUG] Content-Disposition: form-data; name="userpicture"; filename="41890-caribbean_1600x1200.jpg"\r\n
11:57:04.500 [DEBUG] Content-Type: image/jpeg\r\n
11:57:04.500 [DEBUG] \r\n
11:57:04.500 [DEBUG] --- fileheader end
11:57:04.500 [DEBUG] in UploadFileData.uploadFile (amount:298037, getUploadLength(): 298037)
11:57:04.812 [DEBUG] --- filetail start (len=239):
11:57:04.812 [DEBUG] \r\n
11:57:04.812 [DEBUG] -----------------------------3tygfvwgqkk\r\n
11:57:04.812 [DEBUG] Content-Disposition: form-data; name="md5sum[]"\r\n
11:57:04.812 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:57:04.812 [DEBUG] Content-Type: text/plain; UTF-8\r\n
11:57:04.812 [DEBUG] \r\n
11:57:04.812 [DEBUG] 88352f1f1f00637b25ee35097bc4ea82\r\n
11:57:04.812 [DEBUG] -----------------------------3tygfvwgqkk--\r\n
11:57:04.812 [DEBUG] --- filetail end
11:57:05.406 [DEBUG] -------- Response Headers Start --------
11:57:05.406 [DEBUG] HTTP/1.1 200 OK
11:57:05.406 [DEBUG] Via: 1.1 BRUC993A
11:57:05.406 [DEBUG] Connection: close
11:57:05.406 [DEBUG] Proxy-Connection: close
11:57:05.406 [DEBUG] Content-Length: 14
11:57:05.406 [DEBUG] Date: Thu, 07 Feb 2008 10:58:29 GMT
11:57:05.406 [DEBUG] Content-Type: text/html
11:57:05.406 [DEBUG] Server: Apache
11:57:05.406 [DEBUG] Keep-Alive: timeout=10
11:57:05.406 [DEBUG]
11:57:05.406 [DEBUG] --------- Response Headers End ---------
11:57:05.406 [DEBUG] HTTP status: 200 OK
11:57:05.406 [DEBUG] -------- Response Body Start --------
11:57:05.421 [DEBUG] Before DELETE
11:57:05.421 [DEBUG] --------- Response Body End ---------
11:57:42.593 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
11:57:42.593 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
11:57:42.593 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:612)
11:57:42.593 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
11:57:42.593 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:487)
11:57:42.593 [DEBUG] FileUploadThread: within run().finally
11:57:42.593 [WARN] Temporary file not deleted
11:57:42.593 [WARN] Temporary file not deleted
11:57:43.843 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
11:57:43.843 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)


Opera:

12:06:13.040 [DEBUG] Action : Upload
12:06:13.071 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
12:06:13.071 [DEBUG] [getWorkingSourceFile] Creating a copy of MexicoFeestje2007-10-06_18-50-47.JPG as a source working target.
12:06:13.071 [DEBUG] Using working copy temp file C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5367.tmp.JPG for MexicoFeestje2007-10-06_18-50-47.JPG
12:06:13.086 [DEBUG] File read: C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5367.tmp.JPG
12:06:13.102 [DEBUG] Timer started
12:06:13.180 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:06:13.571 [DEBUG] freeMemory (after end of readImage) : 6243664
12:06:13.665 [DEBUG] freeMemory (after hasToTransformPicture) : 52078720
12:06:13.727 [DEBUG] freeMemory (after hasToTransformPicture) : 50759528
12:06:13.727 [DEBUG] Using transformed temp file C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5368.tmp for MexicoFeestje2007-10-06_18-50-47.JPG
12:06:13.727 [DEBUG] getBufferedImage: start
12:06:13.727 [DEBUG] Resizing factor (scale): 1.4203284509542833
12:06:13.727 [DEBUG] Picture is now rescaled
12:06:13.743 [DEBUG] bufferedImage: BufferedImage@d8c3ee: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@1277a30 transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 2253 height = 1690 #numDataElements 3 dataOff[0] = 2
12:06:13.743 [DEBUG] bufferedImage MinX: 0
12:06:13.743 [DEBUG] bufferedImage MinY: 0
12:06:13.743 [DEBUG] getBufferedImage: was 16 ms long
12:06:13.743 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
12:06:13.743 [INFO] Start of metadata managing, for MexicoFeestje2007-10-06_18-50-47.JPG
12:06:14.227 [DEBUG] freeMemory (after getTransformedPictureFile) : 45235848
12:06:14.227 [DEBUG] transformedPictureFile : jupload_5368.tmp
12:06:14.227 [DEBUG] [getWorkingSourceFile] Creating a copy of MexicoFeestje2007-10-06_18-51-04.JPG as a source working target.
12:06:14.227 [DEBUG] Using working copy temp file C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5369.tmp.JPG for MexicoFeestje2007-10-06_18-51-04.JPG
12:06:14.243 [DEBUG] File read: C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5369.tmp.JPG
12:06:14.586 [DEBUG] freeMemory (after end of readImage) : 36479704
12:06:14.665 [DEBUG] freeMemory (after hasToTransformPicture) : 36480504
12:06:14.727 [DEBUG] freeMemory (after hasToTransformPicture) : 36470984
12:06:14.743 [DEBUG] Using transformed temp file C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5370.tmp for MexicoFeestje2007-10-06_18-51-04.JPG
12:06:14.743 [DEBUG] getBufferedImage: start
12:06:14.743 [DEBUG] Resizing factor (scale): 1.4203284509542833
12:06:14.743 [DEBUG] Picture is now rescaled
12:06:14.743 [DEBUG] bufferedImage: BufferedImage@7ed081: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@1277a30 transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 2253 height = 1690 #numDataElements 3 dataOff[0] = 2
12:06:14.743 [DEBUG] bufferedImage MinX: 0
12:06:14.743 [DEBUG] bufferedImage MinY: 0
12:06:14.743 [DEBUG] getBufferedImage: was 0 ms long
12:06:14.743 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
12:06:14.743 [INFO] Start of metadata managing, for MexicoFeestje2007-10-06_18-51-04.JPG
12:06:15.196 [DEBUG] freeMemory (after getTransformedPictureFile) : 36452616
12:06:15.196 [DEBUG] transformedPictureFile : jupload_5370.tmp
12:06:15.196 [DEBUG] [getWorkingSourceFile] Creating a copy of MexicoFeestje2007-10-06_18-53-28.JPG as a source working target.
12:06:15.211 [DEBUG] Using working copy temp file C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5371.tmp.JPG for MexicoFeestje2007-10-06_18-53-28.JPG
12:06:15.211 [DEBUG] File read: C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5371.tmp.JPG
12:06:15.555 [DEBUG] freeMemory (after end of readImage) : 36464744
12:06:15.633 [DEBUG] freeMemory (after hasToTransformPicture) : 36460272
12:06:15.711 [DEBUG] freeMemory (after hasToTransformPicture) : 36450464
12:06:15.711 [DEBUG] Using transformed temp file C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5372.tmp for MexicoFeestje2007-10-06_18-53-28.JPG
12:06:15.711 [DEBUG] getBufferedImage: start
12:06:15.711 [DEBUG] Resizing factor (scale): 1.4203284509542833
12:06:15.711 [DEBUG] Picture is now rescaled
12:06:15.711 [DEBUG] bufferedImage: BufferedImage@ec1f9e: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@1277a30 transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 2253 height = 1690 #numDataElements 3 dataOff[0] = 2
12:06:15.711 [DEBUG] bufferedImage MinX: 0
12:06:15.711 [DEBUG] bufferedImage MinY: 0
12:06:15.711 [DEBUG] getBufferedImage: was 0 ms long
12:06:15.711 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
12:06:15.727 [INFO] Start of metadata managing, for MexicoFeestje2007-10-06_18-53-28.JPG
12:06:16.165 [DEBUG] freeMemory (after getTransformedPictureFile) : 36434784
12:06:16.180 [DEBUG] transformedPictureFile : jupload_5372.tmp
12:06:20.133 [DEBUG] file 0: content=657969 bytes, getAdditionnalBytesForUpload=1622 bytes
12:06:20.133 [DEBUG] chunkHttpParam: jupart=0&jufinal=1
12:06:20.149 [DEBUG] Cookie: 08bb87e2215cde05a43bec75df5daae8=ab7a10d81e98185ccbf0f5bb46b2cce2; PHPSESSID=0cbb4d897f73e1b9082ad8cf9ad7b17e; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiIzZDI5ZWFiOGVlNDgyNzM2NDhhZTdjODg1YWE3ZDE0YyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo1OiJkdXRjaCI7czozOiJsaXYiO2E6MTp7aTowO3M6MToiMSI7fX0%3D
12:06:20.149 [DEBUG] User-Agent: Opera/9.23 (Windows NT 5.2; U; en)
12:06:20.165 [DEBUG] Using non SSL socket, direct connection
12:06:20.196 [DEBUG] === main header (len=1143):
12:06:20.196 [DEBUG] POST /index.php?file=jupload/jupload&action=upload_picture&album=1 HTTP/1.1\r\n
12:06:20.196 [DEBUG] Host: foto.strat3go.com\r\n
12:06:20.196 [DEBUG] Accept: */*\r\n
12:06:20.196 [DEBUG] Accept-Encoding: identity\r\n
12:06:20.196 [DEBUG] Connection: close\r\n
12:06:20.196 [DEBUG] Content-Type: multipart/form-data; boundary=---------------------------4u2pvm2u0hj\r\n
12:06:20.196 [DEBUG] Content-Length: 660095\r\n
12:06:20.196 [DEBUG] Content-Type: UTF-8\r\n
12:06:20.196 [DEBUG] Cookie: 08bb87e2215cde05a43bec75df5daae8=ab7a10d81e98185ccbf0f5bb46b2cce2; PHPSESSID=0cbb4d897f73e1b9082ad8cf9ad7b17e; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiIzZDI5ZWFiOGVlNDgyNzM2NDhhZTdjODg1YWE3ZDE0YyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo1OiJkdXRjaCI7czozOiJsaXYiO2E6MTp7aTowO3M6MToiMSI7fX0%3D\r\n
12:06:20.196 [DEBUG] User-Agent: Opera/9.23 (Windows NT 5.2; U; en)\r\n
12:06:20.196 [DEBUG] \r\n
12:06:20.196 [DEBUG] -----------------------------4u2pvm2u0hj\r\n
12:06:20.196 [DEBUG] Content-Disposition: form-data; name="file"\r\n
12:06:20.196 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
12:06:20.196 [DEBUG] Content-Type: text/plain; UTF-8\r\n
12:06:20.196 [DEBUG] \r\n
12:06:20.196 [DEBUG] jupload/jupload\r\n
12:06:20.196 [DEBUG] -----------------------------4u2pvm2u0hj\r\n
12:06:20.196 [DEBUG] Content-Disposition: form-data; name="album"\r\n
12:06:20.196 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
12:06:20.196 [DEBUG] Content-Type: text/plain; UTF-8\r\n
12:06:20.196 [DEBUG] \r\n
12:06:20.196 [DEBUG] 1\r\n
12:06:20.196 [DEBUG] -----------------------------4u2pvm2u0hj\r\n
12:06:20.196 [DEBUG] Content-Disposition: form-data; name="action"\r\n
12:06:20.196 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
12:06:20.196 [DEBUG] Content-Type: text/plain; UTF-8\r\n
12:06:20.196 [DEBUG] \r\n
12:06:20.196 [DEBUG] upload_picture\r\n
12:06:20.211 [DEBUG] === main header end
12:06:20.211 [DEBUG] --- fileheader start (len=1383):
## some 4u2pvm2u0hj-messages removed
12:06:37.180 [DEBUG]
12:06:37.180 [DEBUG] --------- Response Headers End ---------
12:06:37.180 [DEBUG] HTTP status: 200 OK
12:06:37.180 [DEBUG] -------- Response Body Start --------
12:06:37.180 [DEBUG] Before DELETE
12:06:37.180 [DEBUG] --------- Response Body End ---------
12:08:23.899 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
12:08:23.899 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
12:08:23.899 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:612)
12:08:23.899 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
12:08:23.899 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:487)
12:08:23.899 [DEBUG] FileUploadThread: within run().finally
12:08:23.899 [WARN] Temporary file not deleted
12:08:23.899 [WARN] Temporary file not deleted
12:08:23.915 [WARN] Temporary file not deleted
12:08:25.836 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
12:08:25.836 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)


I don't know what do to get this error fixed.  ???

etienne_sf

Quote from: tiburcillo on February 07, 2008, 01:40:11 PM
After a brand new install of Coppermine 1.4.16 and the latest Jupload 3.0.0rc4, i still get the SUCCESS error when I try to use the plugin.
I've put PHP Safe mode to off, and I checked all the access rights twice, I even changed the ownership of the entire domain to the user running the apache process. Normal file-by-file upload works as well.
Here's an outpot from the debug log, with Opera and Firefox browsers:
Firefox:

I don't know what do to get this error fixed.  ???

In the JUpload configuration page, you've selected the 'JUpload' value sessionManagement, correct ?

If not, can you just go to the JUpload configuration page. It would create a table that may be missing on your configuration. This should not be a problem. I'll give it a try.


Etienne

tiburcillo

#482
I'll try that right away & report back. So all I have to do is put 'JUpload' with case/accents like that and it should work.

Exciting! >_<

edit: I tried with JUpload and 'JUpload'. Still the same error. :(

[Edit GauGau] Replaced hotlinked images with attachments [/Edit]


etienne_sf

#483
Quote from: tiburcillo on February 07, 2008, 06:56:38 PM
I'll try that right away & report back. So all I have to do is put 'JUpload' with case/accents like that and it should work.

Exciting! >_<

edit: I tried with JUpload and 'JUpload'. Still the same error. :(
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Ffiles.strat3go.com%2Fsessionmgt.jpg&hash=7aad0aab95880cc73f5b1a3235d180f8e17d4aa1)


Hum,

Did you go on the JUpload configuration page ?  It should have corrected your problem.

Please, also take a look at the release 3.0.0, following this message.

Etienne

etienne_sf

Hi,

  Here is the announce for the 3.0.0 official Release.

The release is available here :
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=10363

or on my wiki
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb




Release notes for 3.0.0:

This is a hotfix for 3.0.0rc4, and official 3.0.0 release.
3.0.0rc4 works ok, provided that you first take a look at the JUpload configuration page !

Change:
  * [Minor] The configuration parameter sessionManagement is now a list of values. Avoid someone typing jupload instead of JUpload, for instance.

Fix:
  * [Major] Release 3.0.0rc3 and 3.0.0rc4 need that the admin go to the configuration page, before beging to upload pictures, even without saving any configuration parameter: it creates a table that should be needed only in specific cases (when switching sessionManagement to JUpload)


Etienne

tiburcillo

#485
I'm really sorry Etienne.
There's a little progress: I managed to upload one single file, but then got the error again. I'm starting to think there's something with my webhosting, because I copied the entire thing to a local LAMP PC i have here, and there it works as a charm.

I've included a complete log (from previous version though) and a screenshot of the newest version.

Log: http://files.strat3go.com/completelog.log

[Edit GauGau] Replaced hotlinked image with attachment [/Edit]

If you want to check the website, please go to foto.strat3go.com. I can give you an account if you want. :)

Joachim Müller

[moderation]
Stop posting hotlinked images - it causes a lot of moderation effort to replace them with attachments. You can add the attchments yourself in the first place instead (using "additional options" when composing your message). Hotlinked images go down, renedering your posting useless for others in the future. Attachments remain.
[/moderation]

tiburcillo

I'm sorry, I was trying to save you guys some bandwidth. :) I'll use attachment mode from now on.

Anyways, ontopic: I've been looking at some variables I can configure with my hosting service (servage.net), which could maybe help in getting the script to work:
PHP Safe Mode - Off
PHP Safe Mode GID - Off
PHP Register Globals - On
PHP Acceleration - On
PHP Acceleration Check Script Modification - Off
Shared SSL - Off
Temporary URL - Off

You told me earlier to switch off safe mode which helped me getting a little bit further. I don't know if any of these options could help, but if you notice somthing that might be important, don't hesitate to let me know!

etienne_sf

Quote from: tiburcillo on February 08, 2008, 04:37:58 PM
I'm sorry, I was trying to save you guys some bandwidth. :) I'll use attachment mode from now on.

Anyways, ontopic: I've been looking at some variables I can configure with my hosting service (servage.net), which could maybe help in getting the script to work:
PHP Safe Mode - Off
PHP Safe Mode GID - Off
PHP Register Globals - On
PHP Acceleration - On
PHP Acceleration Check Script Modification - Off
Shared SSL - Off
Temporary URL - Off

You told me earlier to switch off safe mode which helped me getting a little bit further. I don't know if any of these options could help, but if you notice somthing that might be important, don't hesitate to let me know!

Hi,

  You're getting a very strange problem. It looks like dke's one: installation problem. You're hanging on a line that should not be executed in 3.0.0, if you've put default value (not JUpload) in sessionManagement.
 
  Can you :
- Uninstall JUpload, check that there is no more jupload subdirectory in the ./plugins, and re-install it.
- Then, reinstall JUpload.
 
  If that doesn't, I'll have to add some extra debug info. Mainly: the list of configuration parameters
 
Etienne

dke

Quote from: tiburcillo on February 07, 2008, 09:43:17 PM
I'm really sorry Etienne.
There's a little progress: I managed to upload one single file, but then got the error again. I'm starting to think there's something with my webhosting, because I copied the entire thing to a local LAMP PC i have here, and there it works as a charm.

I've included a complete log (from previous version though) and a screenshot of the newest version.

Log: http://files.strat3go.com/completelog.log

[Edit GauGau] Replaced hotlinked image with attachment [/Edit]

If you want to check the website, please go to foto.strat3go.com. I can give you an account if you want. :)

I checked the attached screenshot and i was wondering if you have tested with any other images? I found a real strange set of images that was not corrupted in any case, but when i tried to add them with jupload i got this sessionid thing also. However i opened the images in photoshop, resaved them (no modiifcation) from jpg to jpg, and voila it worked.

This has never happend before only with these pictures.

I went over to etienne_sf's demo page to check if hes jupload could handle the pictures but it couldn't either.

To etienne_sf if this sounds interesting i could probably dig up the pictures again and you could see for your self.

Keep up the good work!

etienne_sf

Quote from: etienne_sf on February 08, 2008, 06:45:34 PM
Hi,

  You're getting a very strange problem. It looks like dke's one: installation problem. You're hanging on a line that should not be executed in 3.0.0, if you've put default value (not JUpload) in sessionManagement.
 
  Can you :
- Uninstall JUpload, check that there is no more jupload subdirectory in the ./plugins, and re-install it.
- Then, reinstall JUpload.
 
  If that doesn't, I'll have to add some extra debug info. Mainly: the list of configuration parameters


Also, a detail: I didn't test with CPG 1.4.16. Its download is now on ...

Etienne


Hi,

  I'm really suprised about this problem.

  If uninstall/reinstall and putting sessionManagement to default value (empty string) didn't correct your problem, please try the new package I've put on my wiki (3.0.0debug1) I've add a lot of debug info, to understand what's happening on your system.
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb

Etienne


dke

#491
Reporting a bug with the latest release 3.0.0

Gif animations will get ruined when uploaded through this build.

I tested your gallery and i got the same result, see here: http://etiennegauthier.free.fr/coppermine/thumbnails.php?album=155

All those 3 pictures are animations that move, all of them work when uploaded via upload.php or the older jupload builds (2.6.3 tested)

I would also like to request or ask if the following is possible.

I noticed these 2 values in upload_picture.php
    $movie_wd = isset($_POST['movie_wd']) ? (int)$_POST['movie_wd'] : 320;
$movie_ht = isset($_POST['movie_ht']) ? (int)$_POST['movie_ht'] : 240;


I was hoping these only were for "movie" content, but when i add audio they also get the same width and height as the code above. Is it possible to identify audio (mid,mp3,wav) and give all this content width 0 heigh 0 directly when uploaded instead of taking the default movie heigh/width value?

Thank you for the hard work!

etienne_sf

Quote from: dke on February 10, 2008, 12:50:48 AM
Reporting a bug with the latest release 3.0.0

Gif animations will get ruined when uploaded through this build.

I tested your gallery and i got the same result, see here: http://etiennegauthier.free.fr/coppermine/thumbnails.php?album=155

All those 3 pictures are animations that move, all of them work when uploaded via upload.php or the older jupload builds (2.6.3 tested)

I would also like to request or ask if the following is possible.

I noticed these 2 values in upload_picture.php
    $movie_wd = isset($_POST['movie_wd']) ? (int)$_POST['movie_wd'] : 320;
$movie_ht = isset($_POST['movie_ht']) ? (int)$_POST['movie_ht'] : 240;


I was hoping these only were for "movie" content, but when i add audio they also get the same width and height as the code above. Is it possible to identify audio (mid,mp3,wav) and give all this content width 0 heigh 0 directly when uploaded instead of taking the default movie heigh/width value?

Thank you for the hard work!



Hi dke,


1) Are your (installation?) problems corrected ?

2) About gif animation: can you give the URL of one or several pictures that are badly transformed by the applet?

3) About your asking default height/width.
'Movies' are currently not managed by the applet. A simple way is be to add two fields (width, height) to the upload form (see explanation text just above the applet).
Added to my todo list.

Etienne

tiburcillo

Quote from: etienne_sf on February 09, 2008, 11:30:16 AM
Hi,

  I'm really suprised about this problem.
  If uninstall/reinstall and putting sessionManagement to default value (empty string) didn't correct your problem, please try the new package I've put on my wiki (3.0.0debug1) I've add a lot of debug info, to understand what's happening on your system.
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb

Etienne

Ok, somehow I got it to work again, without changing from CPG 1.4.6 and Jupload v3final. What I did is uninstall java 1.6u3 and install java 1.5u13 and indeed resize the pictures to a size below 1 Mo. That wat the uploads always work. Really weird. :)

dke

Quote

Hi dke,


1) Are your (installation?) problems corrected ?

Yes they got solved with the RC4 build thanks!!

Quote
2) About gif animation: can you give the URL of one or several pictures that are badly transformed by the applet?

Here you go, i uploaded a gif using jupload http://etiennegauthier.free.fr/coppermine/displayimage.php?pos=-1861 <- uploaded with jupload
Then i uploaded the same gif using upload.php (default upload tool for cpg) http://etiennegauthier.free.fr/coppermine/displayimage.php?pos=-1863 <-- uploaded with upload.php (default upload tool)

You can see that the animation is gone when uploaded through jupload.

Quote
3) About your asking default height/width.
'Movies' are currently not managed by the applet. A simple way is be to add two fields (width, height) to the upload form (see explanation text just above the applet).
Added to my todo list.

A field wouldn't really fix the issue, since users will not know this anyway, i would like some kind of "hardcoded" solution that all mp3,mid,wav (audio) is always width 0 and height 0, a user will not understand to use these fields anyway.

Thanks!

etienne_sf

Quote from: dke on February 10, 2008, 12:53:54 PM
Yes they got solved with the RC4 build thanks!!

Good.
(I really think it was not related to one JUpload release, but to a problem during installation, but it doesn't really matter)

Quote from: dke on February 10, 2008, 12:53:54 PM
Here you go, i uploaded a gif using jupload http://etiennegauthier.free.fr/coppermine/displayimage.php?pos=-1861 <- uploaded with jupload
Then i uploaded the same gif using upload.php (default upload tool for cpg) http://etiennegauthier.free.fr/coppermine/displayimage.php?pos=-1863 <-- uploaded with upload.php (default upload tool)

You can see that the animation is gone when uploaded through jupload.

Understood.

  To remove metadata, I now always recreate the picture. But I guess I was not careful with multipicture file, like animated gif. I'll correct that.

Quote from: dke on February 10, 2008, 12:53:54 PM
A field wouldn't really fix the issue, since users will not know this anyway, i would like some kind of "hardcoded" solution that all mp3,mid,wav (audio) is always width 0 and height 0, a user will not understand to use these fields anyway.

I guess a field is the way the standard upload works.
Now, I agree with you. But it's not simple. No standard function in Java. I already study that. I'll have to first identify the good llibrary.

Etienne

dke

I have to correct my previous post, to have a hardcoded value of width 0 and height 0 on audio would render it useless, the value should be width = taken from cpg setting height 0, just like upload.php does.

bruno31

Please can anyone help me, I have installed jupload in my coppermine 1416 version.
It starts upload but then hangs and says http 404 error, how do I solve this?
Help is much appreciated, thanks, Bruno.

etienne_sf

Quote from: bruno31 on February 22, 2008, 06:37:44 PM
Please can anyone help me, I have installed jupload in my coppermine 1416 version.
It starts upload but then hangs and says http 404 error, how do I solve this?
Help is much appreciated, thanks, Bruno.

?

404 means page doesn't exist on the server... Strange, as the upload target page exists: it's the same URL as the page the contains the upload. You must have something strange on your server, some kind of redirection or URL Rewriting ?

  Can you give me the debug from the applet?

(see the doc, for info on this point)

Etienne

bruno31

Thanks, for your reply, I was having so many problems wanting to upload many files so I´m trying gallery 2 now.
But I don´t have any experience in this kind of stuf, so I can´t get that to wrok either, o well, I´ll see.
Merci, Bruno