coppermine-gallery.com/forum

Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 JUpload by etienne_sf => Topic started by: jsolenting on October 21, 2008, 01:23:41 PM

Title: The string "^SUCCESS$" was not found in the response body
Post by: jsolenting on October 21, 2008, 01:23:41 PM
Hi guys,

Installed the plugin with ftp upload and then I went to the settings tab in coppermine from there I went to the plugin admin and I installed the plugin. This went all very smooth.

Then I clicked on the JUpload and then I selected an album and move 2 files (.jpg) into the app. When I press the upload button I get the The string "^SUCCESS$" was not found in the response body error.

Anyone know how to fix this?

I run coppermine 1.4.3
PHP Version 4.4.9
MySQL 4.1.20-log

This is my debug info:

13:16:01.421 [INFO] Debug level set to 99
13:16:01.422 [INFO] Current debug output file: /tmp/jupload_61826_log.txt
13:16:01.422 [DEBUG] setLang - language read (no country): nl
13:16:01.425 [WARN] Invalid int value: true, using default value: 0
13:16:01.476 [DEBUG] cookie: b11c9a3a84946786c067ccdf023fe0fa=05ab61e8f28a40e2f5c5038487be2a80; thuycafe_data=YTozOntzOjI6IklEIjtzOjMyOiJkOTkyMTM3YTQ4YjBhNDg0NDUzODFlN2IxYTg3YTY1OCI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo1OiJkdXRjaCI7fQ%3D%3D; PHPSESSID=a791561229c537da2cb6e870e680acac
13:16:01.476 [DEBUG] userAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; nl; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3
13:16:01.477 [DEBUG] Checking protocol with URL: http://www.thuyscafe.nl/fotoalbum/index.php?file=jupload/jupload&action=upload_picture&sessionId=a791561229c537da2cb6e870e680acac&JUploadSessionId=1281468039&album=0
13:16:01.477 [DEBUG] Cookie: b11c9a3a84946786c067ccdf023fe0fa=05ab61e8f28a40e2f5c5038487be2a80; thuycafe_data=YTozOntzOjI6IklEIjtzOjMyOiJkOTkyMTM3YTQ4YjBhNDg0NDUzODFlN2IxYTg3YTY1OCI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo1OiJkdXRjaCI7fQ%3D%3D; PHPSESSID=a791561229c537da2cb6e870e680acac
13:16:01.478 [DEBUG] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; nl; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3
13:16:01.478 [DEBUG] [HTTPConnectionHelper append]
13:16:01.478 [DEBUG] Before sendRequest()
13:16:01.478 [DEBUG] Using non SSL socket, direct connection
13:16:01.493 [DEBUG] After sendRequest()
13:16:01.493 [DEBUG] -------------------------------------------------------------------------
13:16:01.493 [DEBUG] -----------------   HEAD message sent (start)  --------------------------
13:16:01.494 [DEBUG] -------------------------------------------------------------------------
13:16:01.494 [DEBUG] HEAD /fotoalbum/index.php?file=jupload/jupload&action=upload_picture&sessionId=a791561229c537da2cb6e870e680acac&JUploadSessionId=1281468039&album=0 HTTP/1.1
13:16:01.494 [DEBUG] Host: www.thuyscafe.nl
13:16:01.494 [DEBUG] Accept: */*
13:16:01.494 [DEBUG] Accept-Encoding: identity
13:16:01.494 [DEBUG] Connection: close
13:16:01.494 [DEBUG] Cookie: b11c9a3a84946786c067ccdf023fe0fa=05ab61e8f28a40e2f5c5038487be2a80; thuycafe_data=YTozOntzOjI6IklEIjtzOjMyOiJkOTkyMTM3YTQ4YjBhNDg0NDUzODFlN2IxYTg3YTY1OCI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo1OiJkdXRjaCI7fQ%3D%3D; PHPSESSID=a791561229c537da2cb6e870e680acac
13:16:01.494 [DEBUG] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; nl; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3
13:16:01.494 [DEBUG]
13:16:01.494 [DEBUG] -------------------------------------------------------------------------
13:16:01.494 [DEBUG] -----------------   HEAD message sent (end) -----------------------------
13:16:01.494 [DEBUG] -------------------------------------------------------------------------
13:16:01.516 [DEBUG] -------- Response Headers Start --------
13:16:01.516 [DEBUG] HTTP/1.1 200 OK
13:16:01.517 [DEBUG] Date: Tue, 21 Oct 2008 11:16:01 GMT
13:16:01.517 [DEBUG] Server: Apache/2.0.52 (CentOS)
13:16:01.517 [DEBUG] X-Powered-By: PHP/4.4.9
13:16:01.517 [DEBUG] Connection: close
13:16:01.518 [DEBUG] Content-Type: text/html
13:16:01.518 [DEBUG]
13:16:01.518 [DEBUG] --------- Response Headers End ---------
13:16:01.520 [DEBUG] HEAD status: 200
13:16:01.520 [DEBUG] HEAD protocol: HTTP/1.1
13:16:01.520 [DEBUG] [DefaultUploadPolicy] end of constructor (serverProtocol has been set)
13:16:01.521 [DEBUG] [PictureUploadPolicy] end of constructor
13:16:01.521 [DEBUG] uploadPolicy parameter = CoppermineUploadPolicy
13:16:01.521 [DEBUG] uploadPolicy = wjhk.jupload2.policies.CoppermineUploadPolicy
13:16:01.521 [DEBUG] =======================================================================
13:16:01.521 [DEBUG] ======= Parameters managed by DefaultUploadPolicy
13:16:01.521 [INFO] JUpload applet, version 3.5.1 [SVN-Rev: 538] (compiled: 10/17/2008 10:43 PM), available at http://jupload.sourceforge.net/
13:16:01.522 [DEBUG] Java version: 1.5.0_16
13:16:01.522 [DEBUG] Cookie: b11c9a3a84946786c067ccdf023fe0fa=05ab61e8f28a40e2f5c5038487be2a80; thuycafe_data=YTozOntzOjI6IklEIjtzOjMyOiJkOTkyMTM3YTQ4YjBhNDg0NDUzODFlN2IxYTg3YTY1OCI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo1OiJkdXRjaCI7fQ%3D%3D; PHPSESSID=a791561229c537da2cb6e870e680acac
13:16:01.522 [DEBUG] userAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; nl; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3
13:16:01.522 [DEBUG] List of all applet parameters:
13:16:01.522 [DEBUG]   language: nl
13:16:01.522 [DEBUG]   country:
13:16:01.523 [DEBUG] afterUploadURL: null
13:16:01.523 [DEBUG] allowHttpPersistent: false
13:16:01.523 [DEBUG] allowedFileExtensions: /jpg/jpeg/jpe/gif/png/bmp/jpc/jp2/jpx/jb2/swc/iff/asf/asx/mpg/mpeg/wmv/swf/avi/mov/mp3/midi/mid/wma/wav/ogg/psd/ram/ra/rm/tiff/tif/doc/txt/rtf/pdf/xls/pps/ppt/zip/rar/gz/mdb/
13:16:01.523 [DEBUG] debugLevel: 99 (debugfile: /tmp/jupload_61826_log.txt)
13:16:01.524 [DEBUG] fileChooserIconFromFileContent: 0
13:16:01.524 [DEBUG] fileChooserIconSize: 50
13:16:01.524 [DEBUG] filenameEncoding: null
13:16:01.524 [DEBUG] lang: nl
13:16:01.524 [DEBUG] maxChunkSize: 500000
13:16:01.524 [INFO] maxFileSize: 3072000
13:16:01.524 [DEBUG] nbFilesPerRequest: 1
13:16:01.524 [DEBUG] postURL: http://www.thuyscafe.nl/fotoalbum/index.php?file=jupload/jupload&action=upload_picture&sessionId=a791561229c537da2cb6e870e680acac&JUploadSessionId=1281468039
13:16:01.526 [DEBUG] serverProtocol: HTTP/1.1
13:16:01.526 [DEBUG] showLogWindow: onError
13:16:01.526 [DEBUG] showStatusbar: true
13:16:01.526 [DEBUG] specificHeaders: null
13:16:01.526 [DEBUG] stringUploadError: ^ERROR: (.*)$
13:16:01.526 [DEBUG] stringUploadSuccess: ^SUCCESS$
13:16:01.526 [DEBUG] stringUploadWarning: ^WARNING: (.*)$
13:16:01.527 [DEBUG] urlToSendErrorTo: null
13:16:01.527 [DEBUG]
13:16:01.527 [DEBUG] ======= Parameters managed by PictureUploadPolicy
13:16:01.527 [DEBUG] fileChooserImagePreview: true
13:16:01.527 [DEBUG] highQualityPreview : false
13:16:01.527 [DEBUG] pictureCompressionQuality : 0.8
13:16:01.527 [DEBUG] pictureTransmitMetadata : false
13:16:01.528 [DEBUG] maxPicWidth : 2048, maxPicHeight : 2048
13:16:01.528 [DEBUG] realMaxPicWidth : 2048, realMaxPicHeight : 2048
13:16:01.528 [DEBUG] storeBufferedImage : false
13:16:01.528 [DEBUG] targetPictureFormat : null
13:16:01.528 [DEBUG]
13:16:01.529 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
13:16:01.529 [DEBUG] albumId : -1
13:16:01.529 [DEBUG]
13:16:01.888 [DEBUG] Within componentResized
13:16:09.456 [DEBUG] PicturePanel.paint(): offscreenImage is null
13:16:12.867 [DEBUG] [CoppermineUploadPolicy] Call of setProperty: albumId =>
13:16:12.867 [WARN] Invalid int value: , using default value: 0
13:16:12.868 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://www.thuyscafe.nl/fotoalbum/index.php?file=jupload/jupload&action=upload_picture&sessionId=a791561229c537da2cb6e870e680acac&JUploadSessionId=1281468039&album=0
13:16:13.151 [DEBUG] PicturePanel.paint(): offscreenImage is null
13:16:14.190 [DEBUG] [CoppermineUploadPolicy] Call of setProperty: albumId => 9
13:16:14.191 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://www.thuyscafe.nl/fotoalbum/index.php?file=jupload/jupload&action=upload_picture&sessionId=a791561229c537da2cb6e870e680acac&JUploadSessionId=1281468039&album=9
13:16:16.485 [DEBUG] PicturePanel.paint(): offscreenImage is null
13:16:19.754 [DEBUG] Creation of the DefaultFileData for /Users/jsolenting/Desktop/nl.jpg(root: null)
13:16:19.754 [DEBUG] Creation of the DefaultFileData for /Users/jsolenting/Desktop/nl.jpg(root: null)
13:16:19.755 [DEBUG] isPicture=true (nl.jpg), extension=jpg
13:16:19.759 [DEBUG] Creation of the DefaultFileData for /Users/jsolenting/Desktop/en.jpg(root: null)
13:16:19.761 [DEBUG] Creation of the DefaultFileData for /Users/jsolenting/Desktop/en.jpg(root: null)
13:16:19.761 [DEBUG] isPicture=true (en.jpg), extension=jpg
13:16:21.148 [DEBUG] Action : Upload
13:16:21.241 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
13:16:21.241 [DEBUG] Timer started
13:16:21.241 [DEBUG] Resizing factor (scale): 1.779322328410078
13:16:21.242 [DEBUG] Using transformed temp file /tmp/jupload_61827.tmp for nl.jpg
13:16:21.243 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
13:16:21.243 [DEBUG] Reading image with imageWriterHelper.readImage(i)
13:16:21.243 [DEBUG] [getWorkingSourceFile] Creating a copy of nl.jpg as a source working target.
13:16:21.243 [DEBUG] Using working copy temp file /tmp/jupload_61828.tmp.jpg for nl.jpg
13:16:21.248 [DEBUG] Foud one reader for jpg extension
13:16:21.255 [DEBUG] Nb images in nl.jpg: 1
13:16:21.256 [DEBUG] ImageReaderWriterHelper: reading picture number 0 of file nl.jpg
13:16:21.288 [DEBUG] PicturePanel.paint(): offscreenImage is null
13:16:21.315 [DEBUG] getBufferedImage: start
13:16:21.315 [DEBUG] getBufferedImage: Picture is now rescaled
13:16:21.315 [DEBUG] getBufferedImage: BufferedImage@b04c0: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@8896cf transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 1151 height = 765 #numDataElements 3 dataOff[0] = 2
13:16:21.316 [DEBUG] getBufferedImage: MinX=0
13:16:21.316 [DEBUG] getBufferedImage: MinY=0
13:16:21.316 [DEBUG] getBufferedImage: was 1 ms long
13:16:21.372 [DEBUG] freeMemory (after ImageHelper.getBufferedImage()) : 6366024
13:16:21.447 [DEBUG] Resizing factor (scale): 1.779322328410078
13:16:21.448 [DEBUG] Using transformed temp file /tmp/jupload_61829.tmp for en.jpg
13:16:21.448 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
13:16:21.448 [DEBUG] Reading image with imageWriterHelper.readImage(i)
13:16:21.449 [DEBUG] [getWorkingSourceFile] Creating a copy of en.jpg as a source working target.
13:16:21.449 [DEBUG] Using working copy temp file /tmp/jupload_61830.tmp.jpg for en.jpg
13:16:21.453 [DEBUG] Foud one reader for jpg extension
13:16:21.460 [DEBUG] Nb images in en.jpg: 1
13:16:21.460 [DEBUG] ImageReaderWriterHelper: reading picture number 0 of file en.jpg
13:16:21.516 [DEBUG] getBufferedImage: start
13:16:21.516 [DEBUG] getBufferedImage: Picture is now rescaled
13:16:21.517 [DEBUG] getBufferedImage: BufferedImage@76fdaa: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@8896cf transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 1151 height = 765 #numDataElements 3 dataOff[0] = 2
13:16:21.517 [DEBUG] getBufferedImage: MinX=0
13:16:21.517 [DEBUG] getBufferedImage: MinY=0
13:16:21.518 [DEBUG] getBufferedImage: was 2 ms long
13:16:21.571 [DEBUG] freeMemory (after ImageHelper.getBufferedImage()) : 7222528
13:16:21.655 [DEBUG] file 0: content=136828 bytes, getAdditionnalBytesForUpload=1580 bytes
13:16:21.655 [DEBUG] chunkHttpParam: jupart=0&jufinal=1
13:16:21.656 [DEBUG] Cookie: b11c9a3a84946786c067ccdf023fe0fa=05ab61e8f28a40e2f5c5038487be2a80; thuycafe_data=YTozOntzOjI6IklEIjtzOjMyOiJkOTkyMTM3YTQ4YjBhNDg0NDUzODFlN2IxYTg3YTY1OCI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo1OiJkdXRjaCI7fQ%3D%3D; PHPSESSID=a791561229c537da2cb6e870e680acac
13:16:21.656 [DEBUG] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; nl; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3
13:16:21.656 [DEBUG] [HTTPConnectionHelper append] Content-Type: multipart/form-data; boundary=
13:16:21.656 [DEBUG] [HTTPConnectionHelper append] ---------------------------fxi7iw68pku
13:16:21.656 [DEBUG] [HTTPConnectionHelper append]
13:16:21.656 [DEBUG] [HTTPConnectionHelper append] Content-Length:
13:16:21.657 [DEBUG] [HTTPConnectionHelper append] 139285
13:16:21.658 [DEBUG] [HTTPConnectionHelper append]
13:16:21.658 [DEBUG] [HTTPConnectionHelper append]
13:16:21.658 [DEBUG] [HTTPConnectionHelper append] -----------------------------fxi7iw68pku
13:16:21.658 [DEBUG] Content-Disposition: form-data; name="action"
13:16:21.658 [DEBUG] Content-Transfer-Encoding: 8bit
13:16:21.658 [DEBUG] Content-Type: text/plain; UTF-8
13:16:21.658 [DEBUG]
13:16:21.658 [DEBUG] upload_picture
13:16:21.658 [DEBUG] -----------------------------fxi7iw68pku
13:16:21.658 [DEBUG] Content-Disposition: form-data; name="album"
13:16:21.658 [DEBUG] Content-Transfer-Encoding: 8bit
13:16:21.658 [DEBUG] Content-Type: text/plain; UTF-8
13:16:21.658 [DEBUG]
13:16:21.658 [DEBUG] 9
13:16:21.658 [DEBUG] -----------------------------fxi7iw68pku
13:16:21.658 [DEBUG] Content-Disposition: form-data; name="file"
13:16:21.658 [DEBUG] Content-Transfer-Encoding: 8bit
13:16:21.658 [DEBUG] Content-Type: text/plain; UTF-8
13:16:21.658 [DEBUG]
13:16:21.658 [DEBUG] jupload/jupload
13:16:21.658 [DEBUG] -----------------------------fxi7iw68pku
13:16:21.658 [DEBUG] Content-Disposition: form-data; name="sessionId"
13:16:21.658 [DEBUG] Content-Transfer-Encoding: 8bit
13:16:21.658 [DEBUG] Content-Type: text/plain; UTF-8
13:16:21.658 [DEBUG]
13:16:21.658 [DEBUG] a791561229c537da2cb6e870e680acac
13:16:21.658 [DEBUG] -----------------------------fxi7iw68pku
13:16:21.658 [DEBUG] Content-Disposition: form-data; name="JUploadSessionId"
13:16:21.658 [DEBUG] Content-Transfer-Encoding: 8bit
13:16:21.658 [DEBUG] Content-Type: text/plain; UTF-8
13:16:21.658 [DEBUG]
13:16:21.658 [DEBUG] 1281468039
13:16:21.658 [DEBUG] [HTTPConnectionHelper append] (877 bytes appended to  current ByteArrayEncoder)
13:16:21.658 [DEBUG] Using non SSL socket, direct connection
13:16:21.673 [DEBUG] === main header (len=1599):
13:16:21.673 [DEBUG] POST /fotoalbum/index.php?file=jupload/jupload&action=upload_picture&sessionId=a791561229c537da2cb6e870e680acac&JUploadSessionId=1281468039&album=9 HTTP/1.1\r\n
13:16:21.673 [DEBUG] Host: www.thuyscafe.nl\r\n
13:16:21.673 [DEBUG] Accept: */*\r\n
13:16:21.673 [DEBUG] Accept-Encoding: identity\r\n
13:16:21.673 [DEBUG] Connection: close\r\n
13:16:21.673 [DEBUG] Cookie: b11c9a3a84946786c067ccdf023fe0fa=05ab61e8f28a40e2f5c5038487be2a80; thuycafe_data=YTozOntzOjI6IklEIjtzOjMyOiJkOTkyMTM3YTQ4YjBhNDg0NDUzODFlN2IxYTg3YTY1OCI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo1OiJkdXRjaCI7fQ%3D%3D; PHPSESSID=a791561229c537da2cb6e870e680acac\r\n
13:16:21.673 [DEBUG] User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; nl; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3\r\n
13:16:21.673 [DEBUG] Content-Type: multipart/form-data; boundary=---------------------------fxi7iw68pku\r\n
13:16:21.673 [DEBUG] Content-Length: 139285\r\n
13:16:21.673 [DEBUG] \r\n
13:16:21.673 [DEBUG] -----------------------------fxi7iw68pku\r\n
13:16:21.673 [DEBUG] Content-Disposition: form-data; name="action"\r\n
13:16:21.673 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
13:16:21.673 [DEBUG] Content-Type: text/plain; UTF-8\r\n
13:16:21.673 [DEBUG] \r\n
13:16:21.673 [DEBUG] upload_picture\r\n
13:16:21.673 [DEBUG] -----------------------------fxi7iw68pku\r\n
13:16:21.673 [DEBUG] Content-Disposition: form-data; name="album"\r\n
13:16:21.673 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
13:16:21.673 [DEBUG] Content-Type: text/plain; UTF-8\r\n
13:16:21.673 [DEBUG] \r\n
13:16:21.673 [DEBUG] 9\r\n
13:16:21.673 [DEBUG] -----------------------------fxi7iw68pku\r\n
13:16:21.673 [DEBUG] Content-Disposition: form-data; name="file"\r\n
13:16:21.673 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
13:16:21.673 [DEBUG] Content-Type: text/plain; UTF-8\r\n
13:16:21.673 [DEBUG] \r\n
13:16:21.673 [DEBUG] jupload/jupload\r\n
13:16:21.673 [DEBUG] -----------------------------fxi7iw68pku\r\n
13:16:21.673 [DEBUG] Content-Disposition: form-data; name="sessionId"\r\n
13:16:21.673 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
13:16:21.673 [DEBUG] Content-Type: text/plain; UTF-8\r\n
13:16:21.673 [DEBUG] \r\n
13:16:21.673 [DEBUG] a791561229c537da2cb6e870e680acac\r\n
13:16:21.673 [DEBUG] -----------------------------fxi7iw68pku\r\n
13:16:21.673 [DEBUG] Content-Disposition: form-data; name="JUploadSessionId"\r\n
13:16:21.673 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
13:16:21.673 [DEBUG] Content-Type: text/plain; UTF-8\r\n
13:16:21.673 [DEBUG] \r\n
13:16:21.673 [DEBUG] 1281468039\r\n
13:16:21.674 [DEBUG] === main header end
13:16:21.674 [DEBUG] [HTTPConnectionHelper append] (1341 bytes appended to  socket)
13:16:21.674 [DEBUG] --- fileheader start (len=1341):
13:16:21.675 [DEBUG] -----------------------------fxi7iw68pku\r\n
13:16:21.675 [DEBUG] Content-Disposition: form-data; name="title"\r\n
13:16:21.675 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
13:16:21.675 [DEBUG] Content-Type: text/plain; UTF-8\r\n
13:16:21.675 [DEBUG] \r\n
13:16:21.675 [DEBUG] \r\n
13:16:21.675 [DEBUG] -----------------------------fxi7iw68pku\r\n
13:16:21.675 [DEBUG] Content-Disposition: form-data; name="caption"\r\n
13:16:21.675 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
13:16:21.675 [DEBUG] Content-Type: text/plain; UTF-8\r\n
13:16:21.675 [DEBUG] \r\n
13:16:21.675 [DEBUG] \r\n
13:16:21.675 [DEBUG] -----------------------------fxi7iw68pku\r\n
13:16:21.675 [DEBUG] Content-Disposition: form-data; name="keywords"\r\n
13:16:21.675 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
13:16:21.675 [DEBUG] Content-Type: text/plain; UTF-8\r\n
13:16:21.675 [DEBUG] \r\n
13:16:21.675 [DEBUG] \r\n
13:16:21.675 [DEBUG] -----------------------------fxi7iw68pku\r\n
13:16:21.675 [DEBUG] Content-Disposition: form-data; name="mimetype[]"\r\n
13:16:21.675 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
13:16:21.675 [DEBUG] Content-Type: text/plain; UTF-8\r\n
13:16:21.675 [DEBUG] \r\n
13:16:21.675 [DEBUG] image/jpeg\r\n
13:16:21.675 [DEBUG] -----------------------------fxi7iw68pku\r\n
13:16:21.675 [DEBUG] Content-Disposition: form-data; name="pathinfo[]"\r\n
13:16:21.675 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
13:16:21.675 [DEBUG] Content-Type: text/plain; UTF-8\r\n
13:16:21.675 [DEBUG] \r\n
13:16:21.675 [DEBUG] /Users/jsolenting/Desktop\r\n
13:16:21.675 [DEBUG] -----------------------------fxi7iw68pku\r\n
13:16:21.675 [DEBUG] Content-Disposition: form-data; name="relpathinfo[]"\r\n
13:16:21.675 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
13:16:21.675 [DEBUG] Content-Type: text/plain; UTF-8\r\n
13:16:21.675 [DEBUG] \r\n
13:16:21.675 [DEBUG] \r\n
13:16:21.675 [DEBUG] -----------------------------fxi7iw68pku\r\n
13:16:21.675 [DEBUG] Content-Disposition: form-data; name="filemodificationdate[]"\r\n
13:16:21.675 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
13:16:21.675 [DEBUG] Content-Type: text/plain; UTF-8\r\n
13:16:21.675 [DEBUG] \r\n
13:16:21.675 [DEBUG] 17/10/2008 09:37:25\r\n
13:16:21.675 [DEBUG] -----------------------------fxi7iw68pku\r\n
13:16:21.675 [DEBUG] Content-Disposition: form-data; name="userpicture"; filename="nl.jpg"\r\n
13:16:21.675 [DEBUG] Content-Type: image/jpeg\r\n
13:16:21.675 [DEBUG] \r\n
13:16:21.676 [DEBUG] --- fileheader end
13:16:21.677 [DEBUG] in UploadFileData.uploadFile (amount:136828, getUploadLength(): 136828)
13:16:21.677 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.678 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.678 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.678 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.678 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.678 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.679 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.679 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.679 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.680 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.680 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.680 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.680 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.681 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.681 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.681 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.681 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.681 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.681 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.682 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.682 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.682 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.683 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.683 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.683 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.683 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.683 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.683 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.684 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.685 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.685 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.685 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.685 [DEBUG] [HTTPConnectionHelper append] (4096 bytes appended to  socket)
13:16:21.756 [DEBUG] [HTTPConnectionHelper append] (1660 bytes appended to  socket)
13:16:21.757 [DEBUG] [HTTPConnectionHelper append] (239 bytes appended to  socket)
13:16:21.757 [DEBUG] --- filetail start (len=239):
13:16:21.757 [DEBUG] \r\n
13:16:21.757 [DEBUG] -----------------------------fxi7iw68pku\r\n
13:16:21.757 [DEBUG] Content-Disposition: form-data; name="md5sum[]"\r\n
13:16:21.757 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
13:16:21.757 [DEBUG] Content-Type: text/plain; UTF-8\r\n
13:16:21.757 [DEBUG] \r\n
13:16:21.757 [DEBUG] 6f58acf1376364ad2f559cd491f6c528\r\n
13:16:21.757 [DEBUG] -----------------------------fxi7iw68pku--\r\n
13:16:21.759 [DEBUG] --- filetail end
13:16:23.353 [DEBUG] -------- Response Headers Start --------
13:16:23.353 [DEBUG] HTTP/1.1 200 OK
13:16:23.354 [DEBUG] Date: Tue, 21 Oct 2008 11:16:21 GMT
13:16:23.354 [DEBUG] Server: Apache/2.0.52 (CentOS)
13:16:23.355 [DEBUG] X-Powered-By: PHP/4.4.9
13:16:23.357 [DEBUG] Content-Length: 0
13:16:23.357 [DEBUG] HTTP status: 200 OK
13:16:23.357 [DEBUG] -------- Response Body Start (CRLF normalized) --------
13:16:23.357 [DEBUG] \r\n
13:16:23.357 [DEBUG] --------- Response Body End ---------
13:16:23.399 [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)
13:16:23.399 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
13:16:23.399    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:694)
13:16:23.399    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:762)
13:16:23.399    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:518)
Title: Re: The string "^SUCCESS$" was not found in the response body
Post by: etienne_sf on October 21, 2008, 02:28:04 PM
Can you post the debug output of a non-successful upload ?
Title: Re: The string "^SUCCESS$" was not found in the response body
Post by: jsolenting on October 21, 2008, 02:39:11 PM
Hi Mate,

First of all thanks a lot for the quick reply. When I try to upload it goes like this:

wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body

when I press oke I get the msg:
The debug output has been copied to the clipboard.

I paste the debug that was copied to the clipboard above here.  But I just notice he didnt paste the whole debug output, sorry. Here you have the rest of the message:

14:35:38.993 [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)
14:35:38.994 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
14:35:38.994    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:694)
14:35:38.994    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:762)
14:35:38.994    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:518)
14:36:50.026 [DEBUG] FileUploadThread: within run().finally
14:36:50.121 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
14:36:50.162 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)
14:37:11.229 [DEBUG] PicturePanel.paint(): offscreenImage is null
14:38:05.931 [DEBUG] PicturePanel.paint(): offscreenImage is null

Title: Re: The string "^SUCCESS$" was not found in the response body
Post by: etienne_sf on October 21, 2008, 10:32:34 PM
Sorry, I must be really tired these days ...

  Ok, you paste me enough information. The fact is: the response body is empty. It's the reason ... I did not find it:

13:16:23.357 [DEBUG] -------- Response Body Start (CRLF normalized) --------
13:16:23.357 [DEBUG] \r\n
13:16:23.357 [DEBUG] --------- Response Body End ---------


This should detail the steps of code, that occured within the PHP part of the plugin. And the server response code is 200, meaning: success.

Well, let me see my crystal ball, hum ...


  The only explanation I can see, would be an error within the PHP part.

Questions:
- Do you have access to the php.log file ?
- Otherwise, can you your gallery in debug mode (see the last part of the main configuration page, if my memory is correct). You should have more info, in the generated log.

Etienne
Title: Re: The string "^SUCCESS$" was not found in the response body
Post by: jsolenting on October 22, 2008, 10:01:49 AM
Hi Etienne,

When I turned it on I get the follow msg:

/plugins/jupload/include/config.inc.php

    * Notice line 352: Use of undefined constant JUPLOAD_CONFIG_onError - assumed 'JUPLOAD_CONFIG_onError'
    * Notice line 364: Use of undefined constant JUPLOAD_CONFIG_onError_doNothing - assumed 'JUPLOAD_CONFIG_onError_doNothing'
    * Notice line 365: Use of undefined constant JUPLOAD_CONFIG_onError_doNothing - assumed 'JUPLOAD_CONFIG_onError_doNothing'
    * Notice line 365: Use of undefined constant JUPLOAD_CONFIG_onError_mailAdmin - assumed 'JUPLOAD_CONFIG_onError_mailAdmin'
    * Notice line 407: Use of undefined constant JUPLOAD_CONFIG_SessionManagement - assumed 'JUPLOAD_CONFIG_SessionManagement'
    * Notice line 434: Use of undefined constant JUPLOAD_CONFIG_SessionManagement_JUpload - assumed 'JUPLOAD_CONFIG_SessionManagement_JUpload'
    * Notice line 434: Use of undefined constant JUPLOAD_CONFIG_SessionManagement_JUploadSimplified - assumed 'JUPLOAD_CONFIG_SessionManagement_JUploadSimplified'

And when I went to the JUpload page I get the following msg:

/plugins/jupload/page/upload_page.php

    * Notice line 127: Undefined variable: specificHeaders
    * Notice line 831: Undefined variable: specificHeaders
    * Notice line 832: Undefined variable: paramUrlToSendErrorTo
Title: Re: The string "^SUCCESS$" was not found in the response body
Post by: jsolenting on October 22, 2008, 10:02:27 AM
After I drag a jpg file into the app. and hit upload I get the follow msg:

USER:
------------------
Array
(
    [ID] => d992137a48b0a48445381e7b1a87a658
    [am] => 1
    [lang] => dutch
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => thuyscafe
    [groups] => Array
        (
           
Title: Re: The string "^SUCCESS$" was not found in the response body
Post by: etienne_sf on October 23, 2008, 08:26:02 AM
Hi,

  I see nothing special here.


A question,though:
Quote from: jsolenting on October 22, 2008, 10:02:27 AM
After I drag a jpg file into the app. and hit upload I get the follow msg:
So the info you've pasted here is about the page, where you can update the properties of the freshly uploaded pictures, correct ?

From the above copy/paste, I guess you don't have access to the main php.log file. Correct or not ?

Can you do an upload, repeat the problem, and go on the Coppermine configuration page:
  Do you then have something in the Coppermine logs ?


Etienne