Hi!
Great plugin!!!! I've got a problem anyways...
The Plugin only works when "Allow unlogged users (guest or anonymous) access" is activated in the coppermine-settings. If I disable guest access, the plugin keeps giving me the "no success string found" error.
I'm using xoops2 bridge... but I'm also getting the error, whith a clean new installation of coppermine and jupload without any settings exept the "guest access-setting" beeing changed. (Have the latest builds of both installed)
thats what I am getting, if anonymous access is disabled. (tried to cut out the less important stuff)
Debug level set to 100
Current debug output file: C:\DOKUME~1\3A3133~1\LOKALE~1\Temp\jupload_42069_log.txt
setLang - language read (no country): de
Invalid int value: true, using default value: 0
maxChunkSize<=0 which is invalid. Switched to the default value (Long.MAX_VALUE)
Using non SSL socket, direct connection
HEAD response: HTTP/1.1 302 Found
14:30:33.226 [INFO] Received 302 (current postURL: http://www.isarloge.de/modules/galerie/index.php?file=jupload/jupload&action=upload_picture&album=0)
Location read: login.php
14:30:33.226 [INFO] postURL switched from http://www.isarloge.de/modules/galerie/index.php?file=jupload/jupload&action=upload_picture&album=0 to http://www.isarloge.de/modules/galerie/index.php?file=jupload/login.php?file=jupload/jupload&action=upload_picture&album=0
cookie: PHPSESSID=99bc52d945f6ed86a6ac169d4a25d0c4; logen_session=99bc52d945f6ed86a6ac169d4a25d0c4; isarloge_de_newbb1_LV=1212581753; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiJjZjQ1NGM1NzNkNjI0OGViYjBiZTUyYWQwMzNlOWQyOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJnZXJtYW4iO3M6MzoibGl2IjthOjA6e319
userAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
uploadPolicy parameter = CoppermineUploadPolicy
uploadPolicy = wjhk.jupload2.policies.CoppermineUploadPolicy
=======================================================================
======= Parameters managed by DefaultUploadPolicy
14:30:33.226 [INFO] JUpload applet, version 3.4.1 [SVN-Rev: 473] (compiled: 06/03/2008 08:38 AM), available at http://jupload.sourceforge.net/
Java version: 1.6.0_02
Cookie: PHPSESSID=99bc52d945f6ed86a6ac169d4a25d0c4; logen_session=99bc52d945f6ed86a6ac169d4a25d0c4; isarloge_de_newbb1_LV=1212581753; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiJjZjQ1NGM1NzNkNjI0OGViYjBiZTUyYWQwMzNlOWQyOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJnZXJtYW4iO3M6MzoibGl2IjthOjA6e319
userAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
List of all applet parameters:
language: de
country:
afterUploadURL: null
allowHttpPersistent: false
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/doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb/
debugLevel: 100 (debugfile: C:\DOKUME~1\3A3133~1\LOKALE~1\Temp\jupload_42069_log.txt)
fileChooserIconFromFileContent: 0
fileChooserIconSize: 50
filenameEncoding: null
lang: de
maxChunkSize: 9223372036854775807
14:30:33.242 [INFO] maxFileSize: 2000000
nbFilesPerRequest: 1
postURL: http://www.isarloge.de/modules/galerie/index.php?file=jupload/login.php?file=jupload/jupload&action=upload_picture&album=0
serverProtocol: HTTP/1.1
showLogWindow: false
showStatusbar: true
specificHeaders: null
stringUploadSuccess: ^SUCCESS$
stringUploadError: ^ERROR: (.*)$
urlToSendErrorTo: http://www.isarloge.de/modules/galerie/index.php?file=jupload/jupload&action=log_error
======= Parameters managed by PictureUploadPolicy
fileChooserImagePreview: true
highQualityPreview : false
pictureCompressionQuality : 0.8
pictureTransmitMetadata : true
maxPicWidth : 2048, maxPicHeight : 2048
realMaxPicWidth : 2048, realMaxPicHeight : 2048
storeBufferedImage : false
targetPictureFormat : null
======= Parameters managed by CoppermineUploadPolicy
albumId : 0
Within componentResized
PicturePanel.paint(): offscreenImage is null
[CoppermineUploadPolicy] Call off setProperty: albumId =>
Invalid int value: , using default value: 0
Post URL (modified in CoppermineUploadPolicy) = http://www.isarloge.de/modules/galerie/index.php?file=jupload/login.php?file=jupload/jupload&action=upload_picture&album=0&album=0
JUpload plugin for coppermine version 3.1.1
PicturePanel.paint(): offscreenImage is null
[CoppermineUploadPolicy] Call off setProperty: albumId =>
Invalid int value: , using default value: 0
Post URL (modified in CoppermineUploadPolicy) = http://www.isarloge.de/modules/galerie/index.php?file=jupload/login.php?file=jupload/jupload&action=upload_picture&album=0&album=0
PicturePanel.paint(): offscreenImage is null
[CoppermineUploadPolicy] Call off setProperty: albumId => 16
Post URL (modified in CoppermineUploadPolicy) = http://www.isarloge.de/modules/galerie/index.php?file=jupload/login.php?file=jupload/jupload&action=upload_picture&album=0&album=16
PicturePanel.paint(): offscreenImage is null
Creation of the DefaultFileData for C:\Dokumente und Einstellungen\3A31339ECFF44BC7\Desktop\scheisse.jpg(root: null)
isPicture=true (scheisse.jpg), extension=jpg
Action : Hochladen
Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
Timer started
Resizing factor (scale): 3.7236363636363636
scheisse.jpg : hasToTransformPicture = false
file 0: content=54755 bytes, getAdditionnalBytesForUpload=1810 bytes
chunkHttpParam: jupart=0&jufinal=1
Cookie: PHPSESSID=99bc52d945f6ed86a6ac169d4a25d0c4; logen_session=99bc52d945fjkljkl6a6ac169d4a25d0c4; isarloge_de_newbb1_LV=1212581753; coppermine_data=YTo0OntzOjI6öiJjZjQ1NGM1NzNkNjI0OGViYjBiZTUyYWQwMzNlOWQyOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJnZXJtYW4iO3M6MzoibGl2IjthOjA6e319
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
Using non SSL socket, direct connection
PicturePanel.paint(): offscreenImage is null
=== main header (len=1225):
POST /modules/galerie/index.php?file=jupload/login.php?file=jupload/jupload&action=upload_picture&album=0&album=16 HTTP/1.1\r\n
Host: www.isarloge.de\r\n
Accept: */*\r\n
Accept-Encoding: identity\r\n
Connection: close\r\n
Content-Type: multipart/form-data; boundary=---------------------------8jxx2503i94\r\n
Content-Length: 57077\r\n
Cookie: PHPSESSID=99bc52d945f6ed86a6ac169d4a25d0c4; logen_session=99bc52d945f6ed86a6ac169d4a25d0c4; isarloge_de_newbb1_LV=1212581753; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiJjZjQ1NGM1NzNkNjI0OGViYjBiZTUyYWQwMzNlOWQyOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJnZXJtYW4iO3M6MzoibGl2IjthOjA6e319\r\n
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8\r\n
\r\n
-----------------------------8jxx2503i94\r\n
Content-Disposition: form-data; name="filemodificationdate[]"\r\n
Content-Transfer-Encoding: 8bit\r\n
Content-Type: text/plain; UTF-8\r\n
\r\n
04/06/2008 14:23:05\r\n
-----------------------------8jxx2503i94\r\n
Content-Disposition: form-data; name="userpicture"; filename="scheisse.jpg"\r\n
Content-Type: image/jpeg\r\n
\r\n
--- fileheader end
in UploadFileData.uploadFile (amount:54755, getUploadLength(): 54755)
--- filetail start (len=239):
\r\n
-----------------------------8jxx2503i94\r\n
Content-Disposition: form-data; name="md5sum[]"\r\n
Content-Transfer-Encoding: 8bit\r\n
Content-Type: text/plain; UTF-8\r\n
\r\n
d677c79f241ea189b0ac1d40071f529a\r\n
-----------------------------8jxx2503i94--\r\n
--- filetail end
-------- Response Headers Start --------
HTTP/1.1 200 OK
Date: Wed, 04 Jun 2008 12:30:43 GMT
Server: Apache/2.2
X-Powered-By: PHP/4.4.7
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Set-Cookie: PHPSESSID=99bc52d945f6ed86ad9d4a25d0c4; path=/
Set-Cookie: logen_session=99bc52d945f6ed86ad9d4a25d0c4; expires=Wed, 11 Jun 2008 12:30:43 GMT; path=/
Set-Cookie: coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiJjdfNGM1NzNkNjI0OGViYjBiZTUyYWQwMzNlOWQyOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJnZXJtYW4iO3M6MzoibGl2IjthOjA6e319; expires=Fri, 04 Jul 2008 12:30:43 GMT; path=/
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8
--------- Response Headers End ---------
Chunk: dbec dec: 56300
Chunk: 0 dec: 0
HTTP status: 200 OK
-------- Response Body Start --------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r\n
\r\n
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">\r\n
<head>\r\n
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\r\n
<meta http-equiv="Pragma" content="no-cache" />\r\n
<title> - Galerie</title>\r\n
\r\n
<link rel="stylesheet" href="themes/classic/style.css" type="text/css" />\r\n
<script type="text/javascript" src="scripts.js"></script>\r\n
<!--\r\n
SVN version info:\r\n
Coppermine version: 1.4.18\r\n
$Revision: 4380 $\r\n
$LastChangedBy: gaugau $\r\n
$Date: 2008-04-12 12:00:19 +0200 (Sa, 12 Apr 2008) $\r\n
-->\r\n
</head>\r\n
<body>\r\n
\r\n
<table width="100%" border="0" cellpadding="20" cellspacing="20">\r\n
<tr>\r\n
<td valign="top" style="border: 1px solid #666666;background-color:#FFFFFF;">\r\n
<table width="100%" border="0" cellspacing="0" cellpadding="0">\r\n
<tr>\r\n
<td>\r\n
<a href="index.php?PHPSESSID=99bc52d945f6ed86a6ac169d4a25d0c4"><img src="themes/classic/images/logo.jpg" border="0" alt="" /></a><br />\r\n
</td>\r\n
<td width="100%" align="center">\r\n
<h1></h1>\r\n
<h3></h3><br />\r\n
<!-- BEGIN home -->\r\n
<a href="/modules/galerie/?PHPSESSID=99bc52d945f6ed86a6ac169d4a25d0c4" title="Gehe zur Startseite">Startseite</a> ::\r\n
<!-- END home --> <!-- BEGIN my_gallery -->\r\n
<a href="index.php?cat=10001&PHPSESSID=99bc52d945f6ed86a6ac169d4a25d0c4" title="Gehe zu meiner persönlichen Galerie">Meine Galerie</a> ::\r\n
(HTML CODE OF THE PAGE CUT OUT, BECAUSE OF THE MAX ALLOWED LENGHT OF POSTS
<img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />\r\n
<div class="footer" align="center" style="padding-top: 10px;">Powered by <a href="http://coppermine-gallery.net/" title="Coppermine Photo Gallery" rel="external">Coppermine Photo Gallery</a></div>\r\n
</td>\r\n
</tr>\r\n
</table>\r\n
</td>\r\n
</tr>\r\n
</table>\r\n
\r\n
<!--Coppermine Photo Gallery 1.4.18 (stable)-->\n
</body>\r\n
</html>\r\n
14:30:44.335 [DEBUG] --------- Response Body End ---------
14:30:46.038 [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:30:46.038 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
14:30:46.038 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:615)
14:30:46.038 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
14:30:46.038 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
14:30:46.038 [DEBUG] FileUploadThread: within run().finally
14:30:46.069 [DEBUG] PicturePanel.paint(): offscreenImage is null
14:30:47.554 [DEBUG] PicturePanel.paint(): offscreenImage is null
14:30:47.647 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
14:30:47.647 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)