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

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 1 Guest are viewing this topic.

Tjnashster

#620
OK well the problem is with the registered group. attached is a pic of it.

Here is the debug info of when you click on jupload.

20:57:56.656 [INFO] Debug level set to 100
20:57:56.656 [INFO] Current debug output file: E:\DOCUME~1\tom\LOCALS~1\Temp\jupload_19812_log.txt
20:57:56.656 [DEBUG] setLang - language read (no country): en
20:57:56.656 [WARN] Invalid int value: true, using default value: 0
20:57:56.656 [DEBUG] maxChunkSize<=0 which is invalid. Switched to the default value (Long.MAX_VALUE)
20:57:56.671 [DEBUG] Using non SSL socket, direct connection
20:57:57.828 [ERROR] EMPTY HEAD response
20:57:58.296 [ERROR] [java.lang.NullPointerException] null (Unable to access to the postURL: 'http://www.hastingscanoeclub.org.uk/tom/index.php?file=jupload/jupload&action=upload_picture&album=0')
20:57:58.296 java.lang.NullPointerException
20:57:58.296 at wjhk.jupload2.upload.HttpConnect.getProtocol(HttpConnect.java:325)
20:57:58.296 at wjhk.jupload2.policies.DefaultUploadPolicy.setServerProtocol(DefaultUploadPolicy.java:1688)
20:57:58.296 at wjhk.jupload2.policies.DefaultUploadPolicy.<init>(DefaultUploadPolicy.java:440)
20:57:58.296 at wjhk.jupload2.policies.PictureUploadPolicy.<init>(PictureUploadPolicy.java:220)
20:57:58.296 at wjhk.jupload2.policies.CoppermineUploadPolicy.<init>(CoppermineUploadPolicy.java:103)
20:57:58.296 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
20:57:58.296 at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
20:57:58.296 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
20:57:58.296 at java.lang.reflect.Constructor.newInstance(Unknown Source)
20:57:58.296 at wjhk.jupload2.policies.UploadPolicyFactory.getUploadPolicy(UploadPolicyFactory.java:106)
20:57:58.296 at wjhk.jupload2.JUploadApplet.init(JUploadApplet.java:152)
20:57:58.296 at sun.applet.AppletPanel.run(Unknown Source)
20:57:58.296 at java.lang.Thread.run(Unknown Source)
20:57:58.296 [DEBUG] cookie: 8ab089a3dfc40a1d74023809106df144=f7f6aafb6821d151e73675ee69b916fa; __utma=1.990461120.1209059818.1212170923.1212177018.30; __utmz=1.1212177018.30.26.utmccn=(organic)|utmcsr=google|utmctr=hastings+canoe+club|utmcmd=organic; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiI5ZjE5MTYwNWNkYTM0MmNiMzYzNTQxYzdjODAzZGY1NSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czoxMDoiZW5nbGlzaF9nYiI7czozOiJsaXYiO2E6MDp7fX0%3D; __utmb=1; __utmc=1
20:57:58.437 [DEBUG] userAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
20:57:58.437 [DEBUG] uploadPolicy parameter = CoppermineUploadPolicy
20:57:58.437 [DEBUG] uploadPolicy = wjhk.jupload2.policies.CoppermineUploadPolicy
20:57:58.437 [DEBUG] =======================================================================
20:57:58.437 [DEBUG] ======= Parameters managed by DefaultUploadPolicy
20:57:58.437 [INFO] JUpload applet, version 3.4.1 [SVN-Rev: 469] (compiled: 05/14/2008 08:27 PM), available at http://jupload.sourceforge.net/
20:57:58.437 [DEBUG] Java version: 1.6.0_03
20:57:58.437 [DEBUG] Cookie: 8ab089a3dfc40a1d74023809106df144=f7f6aafb6821d151e73675ee69b916fa; __utma=1.990461120.1209059818.1212170923.1212177018.30; __utmz=1.1212177018.30.26.utmccn=(organic)|utmcsr=google|utmctr=hastings+canoe+club|utmcmd=organic; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiI5ZjE5MTYwNWNkYTM0MmNiMzYzNTQxYzdjODAzZGY1NSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czoxMDoiZW5nbGlzaF9nYiI7czozOiJsaXYiO2E6MDp7fX0%3D; __utmb=1; __utmc=1
20:57:58.453 [DEBUG] userAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
20:57:58.453 [DEBUG] List of all applet parameters:
20:57:58.453 [DEBUG]   language: en
20:57:58.453 [DEBUG]   country:
20:57:58.453 [DEBUG] afterUploadURL: null
20:57:58.453 [DEBUG] allowHttpPersistent: false
20:57:58.453 [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/doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb/
20:57:58.453 [DEBUG] debugLevel: 100 (debugfile: E:\DOCUME~1\tom\LOCALS~1\Temp\jupload_19812_log.txt)
20:57:58.468 [DEBUG] fileChooserIconFromFileContent: 0
20:57:58.468 [DEBUG] fileChooserIconSize: 50
20:57:58.468 [DEBUG] filenameEncoding: null
20:57:58.468 [DEBUG] lang: en
20:57:58.468 [DEBUG] maxChunkSize: 9223372036854775807
20:57:58.468 [INFO] maxFileSize: 1000000000000
20:57:58.468 [DEBUG] nbFilesPerRequest: 1
20:57:58.468 [DEBUG] postURL: http://www.hastingscanoeclub.org.uk/tom/index.php?file=jupload/jupload&action=upload_picture
20:57:58.468 [DEBUG] serverProtocol: HTTP/1.1
20:57:58.468 [DEBUG] showLogWindow: false
20:57:58.468 [DEBUG] showStatusbar: true
20:57:58.468 [DEBUG] specificHeaders: null
20:57:58.468 [DEBUG] stringUploadSuccess: ^SUCCESS$
20:57:58.468 [DEBUG] stringUploadError: ^ERROR: (.*)$
20:57:58.468 [DEBUG] urlToSendErrorTo: http://www.hastingscanoeclub.org.uk/tom/index.php?file=jupload/jupload&action=log_error
20:57:58.468 [DEBUG]
20:57:58.484 [DEBUG] ======= Parameters managed by PictureUploadPolicy
20:57:58.484 [DEBUG] fileChooserImagePreview: true
20:57:58.484 [DEBUG] highQualityPreview : false
20:57:58.484 [DEBUG] pictureCompressionQuality : 0.8
20:57:58.484 [DEBUG] pictureTransmitMetadata : false
20:57:58.484 [DEBUG] maxPicWidth : 2048, maxPicHeight : 2048
20:57:58.484 [DEBUG] realMaxPicWidth : 2048, realMaxPicHeight : 2048
20:57:58.484 [DEBUG] storeBufferedImage : false
20:57:58.484 [DEBUG] targetPictureFormat : null
20:57:58.484 [DEBUG]
20:57:58.484 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
20:57:58.484 [DEBUG] albumId : 0
20:57:58.484 [DEBUG]
20:58:00.671 [DEBUG] Within componentResized
20:58:00.687 [DEBUG] [CoppermineUploadPolicy] Call off setProperty: albumId =>
20:58:00.687 [WARN] Invalid int value: , using default value: 0
20:58:00.687 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://www.hastingscanoeclub.org.uk/tom/index.php?file=jupload/jupload&action=upload_picture&album=0
20:58:00.687 [INFO] JUpload plugin for coppermine version 3.1.0
20:58:00.718 [DEBUG] PicturePanel.paint(): offscreenImage is null
20:58:04.968 [DEBUG] PicturePanel.paint(): offscreenImage is null
20:58:05.187 [DEBUG] PicturePanel.paint(): offscreenImage is null

ma_tt23

hmm.. the session management didn't help me. So I switched back to version 3.0.0rc4 and it works fine.
I think i'll stay with this version

Tjnashster

and so i will have install the old version yes??

etienne_sf

Quote from: Tjnashster on June 02, 2008, 04:52:56 PM
and so i will have install the old version yes??

Hi,

  ma_tt23 answer was relative to a previous question of mine.

About your trouble: the only difference that I see, with my test case is the fact the quota is set to 0.  I'll test that.

Etienne

etienne_sf

Quote from: ma_tt23 on June 01, 2008, 02:34:44 PM
hmm.. the session management didn't help me. So I switched back to version 3.0.0rc4 and it works fine.
I think i'll stay with this version

Can you precise your Coppermine configuration: version, bridge, other plugin or hack ... ?

  I'd prefer to understand what's happening.

Perhaps you could provide me an admin account somewhere, on a Coppermine test server with the same trouble ?

Etienne

etienne_sf

#625
Quote from: tinorebel on May 30, 2008, 07:24:49 PM
Hallo, I'm using this great plug in with pleasure.
I knowed obout the problem with firefox on mac, but yesterday one friend using PC sent me this error message he got.

12:38:15.140 [INFO] Debug level set to 0
12:38:15.156 [INFO] Current debug output file: C:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\jupload_53254_log.txt
12:38:15.171 [WARN] Invalid int value: true, using default value: 0
12:38:15.171 [WARN] Invalid long value: 2Mb000, using default value: 9223372036854775807
12:38:15.187 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
12:38:15.203 [INFO] maxFileSize: 5000000


Test was made on Explorer 7.0 with java plug in actualized, He was trying to upload 3 pictures.
JUpload plugin for Coppermine v 3.0.3c, 

Can someone tell me if it's some known compatibilty problem? ???

  Your problem is not compatibility trouble: you would have other troubles.

I think the maxFileSize is bigger than your server configuration. So files are refused by the server. To correct that, you can lower your maxFileSize in the coppermine configuration page, or use the maxChunkSize, in the JUpload configuration page.

Update: oops ! I didn't see Invalid long value: 2Mb000, using default value: 9223372036854775807 message. You have put somewhere in the conf 2Mb, where JUpload expects a number. Probably in maxChunkSize. If yes, just put 2000 in maxChunkSize. It will work with most server configurations.

Etienne

etienne_sf

Hi,

  Here is the announce for the 3.1.1 official Release.

The release is available here :
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=12248
and on my wiki:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb


Release notes for 3.1.1:
Fixes:
- [Major?] Corrected a bug in right management. This will probably correct the problems recently identified on the plugin ... but I can insure that, as I can't repeat them.
- [Minor] Removed an annoying warning, when using when Kaspersky antivirus (EMPTY HEAD response)


Etienne

ma_tt23

Quote from: etienne_sf on June 02, 2008, 09:48:13 PM
Can you precise your Coppermine configuration: version, bridge, other plugin or hack ... ?

  I'd prefer to understand what's happening.

At first I was using version 1.4.14 I think, maybe 1.4.16 and while it wasn't working i upgraded to version 1.4.18. Using the original core application. No other plugins are installed. But in the new ver I got the same Error

moby5532

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)


Tjnashster

#629

:) can some one give me a step by step guide to make it possible for the registered to upload to public gallery's. as it still won't work!!!!!!!!!!!!!!!!


tinorebel

Thank you very much for your suport etienne. Your answer was very complete. I have changed the value of the max chunk size to 2000 and now the problem is solved.

I hope you will not get upset if I post another debug I got today with safari on mac (usually works fine, but a fyew times I got some error.)
19:08:21.861 [INFO] Debug level set to 0
19:08:21.902 [INFO] Current debug output file: /tmp/jupload_55414_log.txt
19:08:21.920 [WARN] Invalid int value: true, using default value: 0
19:08:21.930 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
19:08:21.935 [INFO] maxFileSize: 5000000
19:08:22.171 [WARN] Invalid int value: , using default value: 0
19:08:22.177 [INFO] JUpload plugin for coppermine version 3.0.3c
19:08:25.419 [WARN] Invalid int value: , using default value: 0
19:15:11.521 [INFO] Debug level set to 1
19:15:11.527 [INFO] Current debug output file: /tmp/jupload_55414_log.txt
19:15:11.698 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
19:15:11.761 [DEBUG] debugLevel: 1 (debugfile: /tmp/jupload_55414_log.txt)
19:15:11.958 [INFO] maxFileSize: 5000000
19:15:26.061 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Received HTTP status 502 Proxy Error (Received HTTP status 502 Proxy Error)
19:15:26.062 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 502 Proxy Error
19:15:26.062 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:565)
19:15:26.062 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
19:15:26.062 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
19:15:36.365 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Upload failed: unexpected HTTP response (An error occured during log management (sbHttpResponseBody))
19:15:36.370 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Upload failed: unexpected HTTP response
19:15:36.370 at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1103)
19:15:36.370 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
19:15:37.807 [ERROR] [wjhk.jupload2.exception.JUploadIOException] Trying to get the byte array of a on non-closed ByteArrayEncoded (Could not send debug information)
19:15:37.808 wjhk.jupload2.exception.JUploadIOException: Trying to get the byte array of a on non-closed ByteArrayEncoded
19:15:37.808 at wjhk.jupload2.upload.ByteArrayEncoder.getString(ByteArrayEncoder.java:244)
19:15:37.808 at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1135)
19:15:37.808 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)



I noticed there is a debug telling

19:08:25.419 [WARN] Invalid int value: , using default value: 0

But I cant guess what it referres to.

A hand would be enormusly apreciated ;D

Greetings for the great Job. Keep people JUPLOADING!!!
Live long and prosper!
www.tripodart.net

Super Noodles

Hi etienne

I get this error when I click Apply Modifacations, the strange thing is the edits still work ???

Script called without the required parameter(s). (title22103)
File: /home/cdcoverh/public_html/covers/plugins/jupload/page/edit_uploaded_pics.php - Line: 198

etienne_sf

Quote from: moby5532 on June 04, 2008, 02:44:13 PM
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)


Hi, you should try the sessionManagement JUpload configuration parameter, to jupload. It should correct management trouble, when in bridge mode.

Etienne

etienne_sf

Quote from: Tjnashster on June 05, 2008, 09:00:06 AM
:) can some one give me a step by step guide to make it possible for the registered to upload to public gallery's. as it still won't work!!!!!!!!!!!!!!!!

Works for me. I've posted my group configuration page here.

Perhaps your admin just need to aprove upload ?

Tjnashster

is there any thing i have to do with the coppermine config or jupload config for it to work??

etienne_sf

Quote from: tinorebel on June 05, 2008, 07:20:35 PM
Thank you very much for your suport etienne. Your answer was very complete. I have changed the value of the max chunk size to 2000 and now the problem is solved.

I hope you will not get upset if I post another debug I got today with safari on mac (usually works fine, but a fyew times I got some error.)

Greetings for the great Job. Keep people JUPLOADING!!!

You got this error: Received HTTP status 502 Proxy Error (Received HTTP status 502 Proxy Error)

It's from time to time, I guess the problem is more with your proxy. Perhaps when you upload too big file. You can play with the maxChunkSize, and put a not too big value, for instance 500 (means file will be uploaded by split of 500k max).

Etienne

etienne_sf

Quote from: Tjnashster on June 06, 2008, 10:34:16 PM
is there any thing i have to do with the coppermine config or jupload config for it to work??

Did check my screen copy ?

  Can you attach yours ?

Tjnashster


etienne_sf

Quote from: Super Noodles on June 05, 2008, 10:00:58 PM
Hi etienne

I get this error when I click Apply Modifacations, the strange thing is the edits still work ???

Script called without the required parameter(s). (title22103)
File: /home/cdcoverh/public_html/covers/plugins/jupload/page/edit_uploaded_pics.php - Line: 198


Did you update the field associated to the picture ?

  It looks like the applet is looking for these fields in the data sent to the server, and one is missing: aid, title, caption, keywords, user1, user2, user3, user4.

Etienne

etienne_sf

Quote from: Tjnashster on June 06, 2008, 10:38:28 PM
I have!!!!!!!!!! check top of page 32 ! :D :D :D :D :D :D

You're right,
There are too many posts here, I'm lost !

Here is an update of my group configuration (see attached picture). It should now be exactly the same as yours: guest and banned are deactivated.

Some questions:
- You've posted a debut output, but it did not contain the log for the upload itself. Can you do it again ?
- Do you have anything special, like Stramm modpack installed ?
- Is it possible to have an admin access on your gallery, or on a test gallery seomwhere, so that I can understand what is happening, and test possible corrections ?

Etienne