Advanced search  

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]

Pages: [1]   Go Down

Author Topic: The string "^SUCCESS$" was not found in the response body  (Read 12662 times)

0 Members and 1 Guest are viewing this topic.

jsolenting

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
The string "^SUCCESS$" was not found in the response body
« 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)
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: The string "^SUCCESS$" was not found in the response body
« Reply #1 on: October 21, 2008, 02:28:04 pm »

Can you post the debug output of a non-successful upload ?
Logged

jsolenting

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: The string "^SUCCESS$" was not found in the response body
« Reply #2 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

Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: The string "^SUCCESS$" was not found in the response body
« Reply #3 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:
Code: [Select]
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
Logged

jsolenting

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: The string "^SUCCESS$" was not found in the response body
« Reply #4 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
Logged

jsolenting

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: The string "^SUCCESS$" was not found in the response body
« Reply #5 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
        (
           
  • => 1

        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM fotoalbum_filetypes; (0s)
  • [1] => select * from fotoalbum_plugins order by priority asc; (0s)
        [2] => delete from `thuys`.fotoalbum_sessions where time<1224658798 and remember=0; (0.001s)
        [3] => delete from `thuys`.fotoalbum_sessions where time<1223452798; (0.001s)
        [4] => select user_id from `thuys`.fotoalbum_sessions where session_id=md5("3239c75ad251cd4dcc1ca0a2a67dbf8eb11c9a3a84946786c067ccdf023fe0fa"); (0s)
        [5] => select user_id as id, user_password as password from `thuys`.fotoalbum_users where user_id=1 (0s)
        [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `thuys`.fotoalbum_users AS u INNER JOIN `thuys`.fotoalbum_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `thuys`.fotoalbum_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
        [8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM fotoalbum_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  fotoalbum_usergroups WHERE group_id= 1 (0s)
        [10] => update `thuys`.fotoalbum_sessions set time='1224662398' where session_id=md5('3239c75ad251cd4dcc1ca0a2a67dbf8eb11c9a3a84946786c067ccdf023fe0fa'); (0s)
        [11] => SELECT user_favpics FROM fotoalbum_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM fotoalbum_banned WHERE expiry < '2008-10-22 07:59:58' (0s)
        [13] => SELECT * FROM fotoalbum_banned WHERE (ip_addr='62.195.45.69' OR ip_addr='62.195.45.69' OR user_id=1) AND brute_force=0 (0s)
        [14] =>  SELECT category, count(1) nb  FROM fotoalbum_albums  WHERE category < 10000 OR category = 10001 GROUP BY category  (0.026s)
        [15] =>  SELECT aid, title, description   FROM fotoalbum_albums  WHERE category < 10000 ORDER BY UPPER(title) (0s)
        [16] =>  SELECT aid, title, description  FROM fotoalbum_albums  WHERE category='10001'  ORDER BY UPPER(title) (0s)
        [17] => SELECT COUNT(*) FROM fotoalbum_pictures WHERE approved = 'NO' (0s)
        [18] =>  SELECT cid, name, description, pos  FROM fotoalbum_categories  WHERE parent = '0'  ORDER BY pos (0s)
        [19] =>  SELECT cid, name, description, pos  FROM fotoalbum_categories  WHERE parent = '4'  ORDER BY pos (0s)
        [20] =>  SELECT cid, name, description, pos  FROM fotoalbum_categories  WHERE parent = '1'  ORDER BY pos (0s)
        [21] =>
                SELECT aid, title, description
                FROM fotoalbum_albums
                WHERE category = 10001
                ORDER BY UPPER(title)
                 (0s)
        [22] => SELECT sum(total_filesize) FROM fotoalbum_pictures WHERE owner_id = 1 (0.001s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
       
[file] => jupload/jupload
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.9 - OK
------------------
mySQL version: 4.1.20-log
------------------
Coppermine version: 1.4.3(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.20
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1.2
Linked Version 1.2.1.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | On
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:.: | .:.:
open_basedir | /var/www/vhosts/thuyscafe.nl/httpdocs:/tmp | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 20M | 20M
post_max_size | 8M | 8M
==========================
Page generated in 0.095 seconds - 23 queries in 0.029 seconds - Album set : ; Meta set: ;
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: The string "^SUCCESS$" was not found in the response body
« Reply #6 on: October 23, 2008, 08:26:02 am »

Hi,

  I see nothing special here.


A question,though:
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
Logged
Pages: [1]   Go Up
 

Page created in 0.041 seconds with 19 queries.