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

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 13 Guests are viewing this topic.

ceskobassman

Hi, I'm having a problem, JUpload returns this error message: " wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 302 Moved Temporarily
"
Bye, Francesco

etienne_sf

Quote from: ceskobassman on May 03, 2008, 11:53:46 AM
Hi, I'm having a problem, JUpload returns this error message: " wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 302 Moved Temporarily
"
Bye, Francesco

It means that there is some temporary work on your server. The location for your server part has temporarily changed. This HTTP response is currently not managed by the applet. It should 'fall in a working state' as soon as your server is ok again.

Etienne

ceskobassman

What does it means that there is some temporary work on your server? I'm the server admin...is there something that I should do to resolve it?

etienne_sf

Quote from: ceskobassman on May 03, 2008, 03:17:07 PM
What does it means that there is some temporary work on your server? I'm the server admin...is there something that I should do to resolve it?

??

Hum, hum, hum,  ???

  I could paste some other 'hum', but it would not help much....

Can you check again, after a restart for instance.


  If you still have this, can you send me more info:
- Which web server and version ?
- jupload debug output
- anything particular about your server (location, ...)

Etienne

tinorebel

Hy etienne,  ;D congratulations for this great peace of code.

I was really missing a good way to let people upload many files easly to coppermine.

I installes last version and did a test upload, setting the maximum file upload to 5000.


This was the debug output:

18:41:19.344 [INFO] Debug level set to 0
18:41:19.345 [INFO] Current debug output file: /tmp/jupload_59794_log.txt
18:41:19.348 [WARN] Invalid int value: true, using default value: 0
18:41:19.444 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
18:41:19.449 [INFO] maxFileSize: 50000000
18:41:19.858 [WARN] Invalid int value: , using default value: 0
18:41:20.021 [INFO] JUpload plugin for coppermine version 3.0.3c
18:42:41.149 [WARN] Invalid int value: , using default value: 0
18:42:52.929 [WARN] Invalid int value: , using default value: 0
18:43:13.365 [WARN] Invalid int value: , using default value: 0
18:43:34.660 [INFO] Debug level set to 1
18:43:34.661 [INFO] Current debug output file: /tmp/jupload_59794_log.txt
18:43:34.733 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
18:43:34.734 [DEBUG] debugLevel: 1 (debugfile: /tmp/jupload_59794_log.txt)
18:43:34.735 [INFO] maxFileSize: 50000000
18:43:52.029 [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)
18:43:52.030 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
18:43:52.030 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:614)
18:43:52.030 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
18:43:52.030 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
18:43:58.333 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] La respuesta del servidor HTTP no cumple los requisitos. La carga ha fallado. (Ocurrió un error durante la gestión del log (sbHttpResponseBody))
18:43:58.333 wjhk.jupload2.exception.JUploadExceptionUploadFailed: La respuesta del servidor HTTP no cumple los requisitos. La carga ha fallado.
18:43:58.333 at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1103)
18:43:58.333 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
18:43:59.877 [ERROR] [wjhk.jupload2.exception.JUploadIOException] Trying to get the byte array of a on non-closed ByteArrayEncoded (Could not send debug information)
18:43:59.878 wjhk.jupload2.exception.JUploadIOException: Trying to get the byte array of a on non-closed ByteArrayEncoded
18:43:59.878 at wjhk.jupload2.upload.ByteArrayEncoder.getString(ByteArrayEncoder.java:244)
18:43:59.878 at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1135)
18:43:59.878 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
18:44:00.099 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)


TRied again changing the  pictureTransmitMetadata  to false and got:

18:54:03.810 [INFO] Debug level set to 0
18:54:03.811 [INFO] Current debug output file: /tmp/jupload_59801_log.txt
18:54:03.813 [WARN] Invalid int value: true, using default value: 0
18:54:03.814 [WARN] Invalid long value: 2Mb000, using default value: 9223372036854775807
18:54:03.898 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
18:54:03.901 [INFO] maxFileSize: 5000000
18:54:04.309 [WARN] Invalid int value: , using default value: 0
18:54:04.431 [INFO] JUpload plugin for coppermine version 3.0.3c
18:54:35.238 [INFO] Debug level set to 1
18:54:35.238 [INFO] Current debug output file: /tmp/jupload_59801_log.txt
18:54:35.310 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
18:54:35.311 [DEBUG] debugLevel: 1 (debugfile: /tmp/jupload_59801_log.txt)
18:54:35.311 [INFO] maxFileSize: 5000000
18:54:44.747 [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)
18:54:44.747 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
18:54:44.747 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:614)
18:54:44.747 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
18:54:44.747 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
18:54:48.637 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)


Can you give me a hint on what should I test next?
If you need a link to the gallery:
www.tripodart.net/website/gal
Live long and prosper!
www.tripodart.net

tinorebel

Hy, just wanted to add to my last post:
-I used firefox and got the errors.
Tried with safari and upload was succesful, BUT failed to watermarck image (i have stramm modepack installed)
Sound strange?
??? ???
Live long and prosper!
www.tripodart.net

etienne_sf

Quote from: tinorebel on May 03, 2008, 07:08:24 PM
Hy, just wanted to add to my last post:
-I used firefox and got the errors.
Tried with safari and upload was succesful, BUT failed to watermarck image (i have stramm modepack installed)
Sound strange?
??? ???

stramm modpack is not supported by jupload. Hope it will be included in next Coppermine version, so that I can update jupload according to it.

About your trouble: Are your sure of your max upload file ?  Try 2000 instead. Server often autorize up to 2M for post data. Then, you should send me the debug output in order to get help. If this debug output is not enough to understand, I'll give a try to your site.


Etienne

Su8Z3r0

Hi I have same problem as choupette549 in earlier post, With the runtime error. I have Version 1.4.18 coppermine and version 3.0.3c jupload. so i uninstall sun Java 5.12 (the one it tries to install) and install the latest version to date, and this fixes the problem on vista and xp. Is there a way to change the url to download sunjava in the script.?

thx

ceskobassman

Hi, a restart didn't fix the problem
Quote from: etienne_sf on May 03, 2008, 03:31:19 PM...
  If you still have this, can you send me more info:
- Which web server and version ?
- jupload debug output
- anything particular about your server (location, ...)
...
Web server is: Apache 2.2.3
This is what the plugin returns in webpage:
19:20:37.875 [INFO] Debug level set to 0
19:20:37.875 [INFO] Current debug output file: C:\DOCUME~1\FRANCE~1\IMPOST~1\Temp\jupload_47679_log.txt
19:20:37.906 [WARN] Invalid int value: true, using default value: 0
19:20:37.921 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
19:20:37.921 [INFO] maxFileSize: 2048000
19:20:38.562 [WARN] Invalid int value: , using default value: 0
19:20:38.578 [INFO] JUpload plugin for coppermine version 3.0.3c
19:22:09.031 [INFO] Debug level set to 1
19:22:09.031 [INFO] Current debug output file: C:\DOCUME~1\FRANCE~1\IMPOST~1\Temp\jupload_47679_log.txt
19:22:09.031 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
19:22:09.046 [DEBUG] debugLevel: 1 (debugfile: C:\DOCUME~1\FRANCE~1\IMPOST~1\Temp\jupload_47679_log.txt)
19:22:09.046 [INFO] maxFileSize: 2048000
19:22:11.406 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Received HTTP status 302 Moved Temporarily (Received HTTP status 302 Moved Temporarily)
19:22:11.406 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 302 Moved Temporarily
19:22:11.406 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:565)
19:22:11.406 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
19:22:11.406 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
19:22:14.531 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)


and this: http://amp-cs.dyndns.org/juploadlog.txt the log on my temp directory.

The link to the gallery is http://galleriascout.dynds.org/   that is "translated" in http://amp-cs.dyndns.org/galleriascout/
In Coppermine's configuration http://galleriascout.dynds.org/ is set as gallery's URL, if this is what you call "location", scuse me but I'm not english.

Bye, Francesco

Nibbler

Set your gallery URL to your real URL - http://amp-cs.dyndns.org/galleriascout if the applet can't handle the redirect.

etienne_sf

Quote from: Su8Z3r0 on May 04, 2008, 05:56:58 PM
Is there a way to change the url to download sunjava in the script.?

thx

Hum, hum ...  yes, this URL is quite old.

Noted. Added to my todo list.

Etienne

etienne_sf

Quote from: ceskobassman on May 04, 2008, 07:31:48 PM

and this: http://amp-cs.dyndns.org/juploadlog.txt the log on my temp directory.

The link to the gallery is http://galleriascout.dynds.org/   that is "translated" in http://amp-cs.dyndns.org/galleriascout/
In Coppermine's configuration http://galleriascout.dynds.org/ is set as gallery's URL, if this is what you call "location", scuse me but I'm not english.

Bye, Francesco

Hi,

  I think Nibbler comment is the good one.

I guess I should be able to manage the redirect in the applet ... in the future.

Etienne

tinorebel

Quote from: etienne_sf on May 03, 2008, 09:57:51 PM
stramm modpack is not supported by jupload. Hope it will be included in next Coppermine version, so that I can update jupload according to it.
Etienne

Thanks for the answer.
this plug in is wonderful, i'ts a pity cant use it with stramm modepack :( :( :'( :'(
Would it be very complicate to make it compatible? ???

I cant live without jupload till next coppermine version.... :'(
Live long and prosper!
www.tripodart.net

ceskobassman

Thanks!!! All works fine now! Nice plugin, good work!

PS: I'm using it with the modepack...what is the problem?

tinorebel

For my experience, using Jupload with stramm modepack is fine, exept for the fact that the modepack will not watermark images correctly. :-\ This means I'll have to wait until it get's compatibilized!! :-\ :-\
Live long and prosper!
www.tripodart.net

etienne_sf

Quote from: tinorebel on May 04, 2008, 11:42:41 PM
Thanks for the answer.
this plug in is wonderful, i'ts a pity cant use it with stramm modepack :( :( :'( :'(
Would it be very complicate to make it compatible? ???

I cant live without jupload till next coppermine version.... :'(

A lot of people are using stramm modpack.

  I guess I'll have to work on this one sooner or later...

Etienne

tinorebel

 ;) Ill' be glad to invite you to a pizza and a glass of wine if you manage to make jupload - stramm modepack compatible!!! ::)
Live long and prosper!
www.tripodart.net

etienne_sf

Quote from: tinorebel on May 08, 2008, 07:34:17 PM
;) Ill' be glad to invite you to a pizza and a glass of wine if you manage to make jupload - stramm modepack compatible!!! ::)

one glass only ?  Perhaps you've big glasses, in Spain ...   ;)

  I have some details to correct before. I tested it once, and it was not really simple to adapt JUpload to it.

Etienne

tinorebel

In fact we have some glasses like swimming pools in spain... ;D  ;D
Really I can't think of a better way to upload, specially for users who can't use batch upload.
I have heard CPG 1.5 is on the way...
Live long and prosper!
www.tripodart.net

mc0676

#599
I've this problem:

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

Seems that one table was not create, what i need to try ?

I've cpg 1.4.18 bridged with vbulletin 3.7.0.

Thansk.