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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.

etienne_sf

Hi,

  Here is the announce for the 3.0.1 Release.

The release is available here :
[http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=10604]
or on my web site, with all other releases:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb


Release notes for 3.0.1:


Fix:
  * [Major] Animated gif are now correctly transmitted (not modified at all). Was broken since 3.0.0rc1.


Etienne

eka

Hi eitenne_sf,

Jupload is absolutely wonderful - superquick in uploading a batch of photos.
Thank you so much.

I'm now using Jupload and have taken off the cpg Upload button from the menu.

Just wonder - how do you change "Jupload" in the menu to "Upload" - which file and which line do I amend?

Also, after clicking the Jupload in the menu, the dialogue box that comes up practically stretches across the entire screen. Can the length of this dialogue box be reduced in length to say, half or 3/4 of the screen. Thought it may look better.

Pse help.

Thank you again.




etienne_sf

Quote from: eka on February 26, 2008, 02:01:39 AM
Hi eitenne_sf,

Jupload is absolutely wonderful - superquick in uploading a batch of photos.
Thank you so much.

I'm now using Jupload and have taken off the cpg Upload button from the menu.

Just wonder - how do you change "Jupload" in the menu to "Upload" - which file and which line do I amend?

Also, after clicking the Jupload in the menu, the dialogue box that comes up practically stretches across the entire screen. Can the length of this dialogue box be reduced in length to say, half or 3/4 of the screen. Thought it may look better.

Pse help.

Thank you again.

1) About the title: take a look at the configuration parameters (linkXXX parameters)
2) About the dialog box. A dialog box after clicking JUpload in the menu ?
You mean the file chooser ? the message after upoad ?   If other, which dialog box are you talking about ?

Etienne

eka

Thank you etienne_sf for the quick reply.

I talking about the dialogue box that lets you choose the files.


etienne_sf

Quote from: eka on February 27, 2008, 02:27:26 AM
Thank you etienne_sf for the quick reply.

I talking about the dialogue box that lets you choose the files.

I don't control its size. In our case, it depends mainly on the number of file extension in the filter.

The other option would be to hide them. But I don't like this either, as the user may not know the current filter. He will then wonder why he doesn't see some files.

Other people already made this comment.  But I guess it will stay the way it is now.

Etienne


socalboy

Is there a way to preserve the original file size and dimensions? I would like to keep the originals on the server for both backup and display purposes. If the photo is 5mb, I would like to make sure that the original is 5mb, and then the intermediate photo and thumbs can be compressed. Thanks in advance.

Steven

Joachim Müller


etienne_sf

Quote from: socalboy on February 28, 2008, 08:33:37 AM
Is there a way to preserve the original file size and dimensions? I would like to keep the originals on the server for both backup and display purposes. If the photo is 5mb, I would like to make sure that the original is 5mb, and then the intermediate photo and thumbs can be compressed. Thanks in advance.

Steven

Hi,

  As asked by Joachim, JUpload respects Coppermine configuration.

See details for :

  • maxNonTransformedPictureSize: allows a controls whether it's up to the applet or to the server to resize the picture.
  • maxFileSize: Controls the maximum file size, for the applet. Default is the Coppermine configuration.
  • maxChunkSize: Allows you to upload files bigger than your server max file size

LeAnnSmith

Crash on IE 7.0.573 -Fine on FireFox 2.0.0.12
After seeing the crash in my installation,
I tested the jupload site:  tp://etiennegauthier.free.fr/coppermine/
on my XP system with 2 browsers.
on IE 7.0.573, the java console loaded and then all instances of IE closed! (How rude!)
on FireFox 2.0.0.12, all was fine! I saw the upload page and I was able to test the upload as expected.

etienne_sf

Quote from: LeAnnSmith on February 28, 2008, 11:37:04 PM
Crash on IE 7.0.573 -Fine on FireFox 2.0.0.12
After seeing the crash in my installation,
I tested the jupload site:  tp://etiennegauthier.free.fr/coppermine/
on my XP system with 2 browsers.
on IE 7.0.573, the java console loaded and then all instances of IE closed! (How rude!)
on FireFox 2.0.0.12, all was fine! I saw the upload page and I was able to test the upload as expected.

Please don't cross-post. Support on JUpload take enough time without it.

  I've responded to your question on sourceforge forum.
http://sourceforge.net/forum/forum.php?thread_id=1954391&forum_id=199107

Etienne

genti555

I Have a Problem with jupload.

I have 2 galleries in the same host.
In the first gallery the jupload works fine i have jupload v 2.6.4. In the second one i have the newest jupload 3.01 and the newest copermine cpg1.4.16 and i am using the classic theme, but when i try to upload photos i get this message:
Received HTTP status 503 Service Temporarily Unavaible.
An error occured during upload. Do you want to send all relevant information to the webmaster?
i click yes in this case and get this message
An error occured during log management (sbHttpResponseBody
Could not send debug information


than i get this message:

22:04:13.750 [INFO] Debug level set to 0
22:04:13.781 [INFO] Current debug output file: C:\DOCUME~1\Genti\LOCALS~1\Temp\jupload_44211_log.txt
22:04:13.781 [WARN] Invalid int value: true, using default value: 0
22:05:04.359 [WARN] Invalid int value: , using default value: 0
22:05:04.359 [INFO] JUpload plugin for coppermine version 3.0.1
22:05:43.703 [WARN] Invalid int value: , using default value: 0
22:07:37.437 [INFO] Debug level set to 1
22:07:37.437 [INFO] Current debug output file: C:\DOCUME~1\Genti\LOCALS~1\Temp\jupload_44211_log.txt
22:08:20.484 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Received HTTP status 503 Service Temporarily Unavailable (Received HTTP status 503 Service Temporarily Unavailable)
22:08:20.484 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 503 Service Temporarily Unavailable
22:08:20.484    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:563)
22:08:20.484    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:739)
22:08:20.484    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
22:10:03.125 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Upload failed: unexpected HTTP response (An error occured during log management (sbHttpResponseBody))
22:10:03.125 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Upload failed: unexpected HTTP response
22:10:03.125    at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1095)
22:10:03.125    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
22:10:23.984 [ERROR] [wjhk.jupload2.exception.JUploadIOException] Trying to get the byte array of a on non-closed ByteArrayEncoded (Could not send debug information)
22:10:24.000 wjhk.jupload2.exception.JUploadIOException: Trying to get the byte array of a on non-closed ByteArrayEncoded
22:10:24.000    at wjhk.jupload2.upload.ByteArrayEncoder.getString(ByteArrayEncoder.java:244)
22:10:24.000    at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1127)
22:10:24.000    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
22:10:24.062 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)


Please anybody can help me. I dont know what i have done wrong.

etienne_sf

Quote from: genti555 on March 08, 2008, 10:55:50 PM
I Have a Problem with jupload.

I have 2 galleries in the same host.
In the first gallery the jupload works fine i have jupload v 2.6.4. In the second one i have the newest jupload 3.01 and the newest copermine cpg1.4.16 and i am using the classic theme, but when i try to upload photos i get this message:
Received HTTP status 503 Service Temporarily Unavaible.


From the error message, I guess your server had a temporarily problem. Try again...

Etienne

compuryan

I tried to run the applet but when I click output I get the following result (error 400 Bad Request):


12:06:54.881 [INFO] Debug level set to 0
12:06:54.883 [INFO] Current debug output file: C:\Users\Ryan\AppData\Local\Temp\jupload_33512_log.txt
12:06:54.884 [DEBUG] setLang - language read (no country): us
12:06:54.884 [WARN] Invalid int value: true, using default value: 0
12:06:54.886 [DEBUG] cookie: c7efe7749f903bf5b90297dbbd70d9e0=a87f819c25e373696d454c315903606a; cpg140_data=YTo0OntzOjI6IklEIjtzOjMyOiJhYzk0MDJhZGRmYzhjMmNiZmFlNzExMjJjOGQ4OWZkOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTowOnt9fQ%3D%3D; PHPSESSID=5dj7pnqqsmelhmoh3u5ldb7qp4
12:06:54.886 [DEBUG] userAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
12:06:54.886 [DEBUG] uploadPolicy parameter = CoppermineUploadPolicy
12:06:54.886 [DEBUG] uploadPolicy = wjhk.jupload2.policies.CoppermineUploadPolicy
12:06:54.887 [DEBUG] ======= Parameters managed by PictureUploadPolicy
12:06:54.887 [DEBUG] fileChooserImagePreview: true
12:06:54.887 [DEBUG] highQualityPreview : false
12:06:54.887 [DEBUG] pictureCompressionQuality : 0.8
12:06:54.887 [DEBUG] pictureTransmitMetadata : true
12:06:54.887 [DEBUG] maxPicWidth : 1024, maxPicHeight : 1024
12:06:54.888 [DEBUG] realMaxPicWidth : 5000, realMaxPicHeight : 5000
12:06:54.888 [DEBUG] storeBufferedImage : false
12:06:54.888 [DEBUG] targetPictureFormat : null
12:06:54.888 [DEBUG]
12:06:54.888 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
12:06:54.888 [DEBUG] albumId : 0
12:06:54.888 [DEBUG]
12:06:55.053 [DEBUG] Within componentResized
12:06:55.057 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:06:55.057 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:06:55.066 [DEBUG] [CoppermineUploadPolicy] Call off setProperty: albumId =>
12:06:55.066 [WARN] Invalid int value: , using default value: 0
12:06:55.067 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://www.johncurrie.ca:8088/photos/index.php?file=jupload/jupload&action=upload_picture&album=0
12:06:55.068 [INFO] JUpload plugin for coppermine version 3.0.1
12:06:55.121 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:06:59.277 [DEBUG] [CoppermineUploadPolicy] Call off setProperty: albumId =>
12:06:59.277 [WARN] Invalid int value: , using default value: 0
12:06:59.278 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://www.johncurrie.ca:8088/photos/index.php?file=jupload/jupload&action=upload_picture&album=0
12:07:00.705 [DEBUG] [CoppermineUploadPolicy] Call off setProperty: albumId => 42
12:07:00.705 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://www.johncurrie.ca:8088/photos/index.php?file=jupload/jupload&action=upload_picture&album=42
12:07:02.858 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:07:03.703 [DEBUG] Action : Browse ...
12:07:03.727 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Audio Plot Model (1).pdf
12:07:03.727 [DEBUG] JUploadFileView.execute: creating the executorService
12:07:03.728 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\audio signal flow.tif
12:07:03.728 [DEBUG] In IconWorker.loadIcon(Audio Plot Model (1).pdf)
12:07:03.728 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\business card back.zip
12:07:03.729 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Century AV Logo 13line draft 2.pdf
12:07:03.729 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Century AV Logo 13line draft 3 ws.pdf
12:07:03.729 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Century AV Logo 13line draft 4.pdf
12:07:03.792 [DEBUG] In IconWorker.loadIcon(audio signal flow.tif)
12:07:03.793 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Century AV Logo 13line first draft PDF.pdf
12:07:03.793 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Century AV Logo 13line first draft TIFF.tif
12:07:03.793 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Century Map copy.pdf
12:07:03.794 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Colour Project 05.doc
12:07:03.795 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\flyer-girls-fieldhockey-07-08.doc
12:07:03.795 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\grades.jpg
12:07:03.796 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\greece1.tiff
12:07:03.796 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\hotel peccadillo-survey.doc
12:07:03.796 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\hotel peccadillo.doc
12:07:03.797 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\london schedule 2008.doc
12:07:03.797 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\oct 7 - oct 13 revised.xls
12:07:03.797 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\OFSAA DAMAGE CLAUSE.doc
12:07:03.798 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\OFSAA_damage_clause.pdf
12:07:03.798 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Oklahoma!.doc
12:07:03.798 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\PHOTO SCHEDULE-Field Hockey 2007 - 20 Teams.doc
12:07:03.799 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Ryan-archive07.pdf
12:07:03.799 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\seedingform06.pdf
12:07:03.799 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\SonicOS_Standard_3.8_TZ_180_Series_Administrators_Guide.pdf
12:07:03.800 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\team_photos.pdf
12:07:03.800 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Vampire_w_original_bat.jpg
12:07:03.800 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\xbox pass code.txt
12:07:03.873 [DEBUG] In IconWorker.loadIcon(business card back.zip)
12:07:03.919 [DEBUG] In IconWorker.loadIcon(Century AV Logo 13line draft 2.pdf)
12:07:03.963 [DEBUG] In IconWorker.loadIcon(Century AV Logo 13line draft 3 ws.pdf)
12:07:04.005 [DEBUG] In IconWorker.loadIcon(Century AV Logo 13line draft 4.pdf)
12:07:04.048 [DEBUG] In IconWorker.loadIcon(Century AV Logo 13line first draft PDF.pdf)
12:07:04.091 [DEBUG] In IconWorker.loadIcon(Century AV Logo 13line first draft TIFF.tif)
12:07:04.136 [DEBUG] In IconWorker.loadIcon(Century Map copy.pdf)
12:07:04.178 [DEBUG] In IconWorker.loadIcon(Colour Project 05.doc)
12:07:04.222 [DEBUG] In IconWorker.loadIcon(flyer-girls-fieldhockey-07-08.doc)
12:07:04.265 [DEBUG] In IconWorker.loadIcon(grades.jpg)
12:07:04.352 [DEBUG] In IconWorker.loadIcon(greece1.tiff)
12:07:04.395 [DEBUG] In IconWorker.loadIcon(hotel peccadillo-survey.doc)
12:07:04.437 [DEBUG] In IconWorker.loadIcon(hotel peccadillo.doc)
12:07:04.481 [DEBUG] In IconWorker.loadIcon(london schedule 2008.doc)
12:07:04.523 [DEBUG] In IconWorker.loadIcon(oct 7 - oct 13 revised.xls)
12:07:04.565 [DEBUG] In IconWorker.loadIcon(OFSAA DAMAGE CLAUSE.doc)
12:07:04.607 [DEBUG] In IconWorker.loadIcon(OFSAA_damage_clause.pdf)
12:07:04.608 [DEBUG] In IconWorker.loadIcon(Oklahoma!.doc)
12:07:04.610 [DEBUG] In IconWorker.loadIcon(PHOTO SCHEDULE-Field Hockey 2007 - 20 Teams.doc)
12:07:04.655 [DEBUG] In IconWorker.loadIcon(Ryan-archive07.pdf)
12:07:04.656 [DEBUG] In IconWorker.loadIcon(seedingform06.pdf)
12:07:04.698 [DEBUG] In IconWorker.loadIcon(SonicOS_Standard_3.8_TZ_180_Series_Administrators_Guide.pdf)
12:07:04.740 [DEBUG] In IconWorker.loadIcon(team_photos.pdf)
12:07:04.785 [DEBUG] In IconWorker.loadIcon(Vampire_w_original_bat.jpg)
12:07:04.789 [DEBUG] In IconWorker.loadIcon(xbox pass code.txt)
12:07:06.180 [DEBUG] [JUploadFileView] Directory changed
12:07:06.180 [DEBUG] Shutting down all IconWorker running jobs
12:07:06.181 [DEBUG] All IconWorker running jobs are now marked as stopped.
12:07:07.516 [DEBUG] [JUploadFileView] Directory changed
12:07:07.517 [DEBUG] Shutting down all IconWorker running jobs
12:07:07.517 [DEBUG] All IconWorker running jobs are now marked as stopped.
12:07:07.531 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\hollidaynet.jpg
12:07:07.531 [DEBUG] In IconWorker.loadIcon(hollidaynet.jpg)
12:07:07.532 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\Julianna 016.jpg
12:07:07.532 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\Julianna 043.jpg
12:07:07.532 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\Julianna 060.jpg
12:07:07.533 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\Julianna 067.jpg
12:07:07.533 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\Julianna 074.jpg
12:07:07.533 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\n900595270_2247732_9158.jpg
12:07:07.534 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\n900595270_2259972_2755.jpg
12:07:07.534 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\n900595270_2259973_3050.jpg
12:07:07.534 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\n900595270_2271316_3786.jpg
12:07:07.535 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\travelocity - Copy.jpg
12:07:07.632 [DEBUG] In IconWorker.loadIcon(Julianna 016.jpg)
12:07:07.877 [DEBUG] In IconWorker.loadIcon(Julianna 043.jpg)
12:07:08.106 [DEBUG] In IconWorker.loadIcon(Julianna 060.jpg)
12:07:08.316 [DEBUG] In IconWorker.loadIcon(Julianna 067.jpg)
12:07:08.552 [DEBUG] In IconWorker.loadIcon(Julianna 074.jpg)
12:07:08.852 [DEBUG] In IconWorker.loadIcon(n900595270_2247732_9158.jpg)
12:07:08.925 [DEBUG] In IconWorker.loadIcon(n900595270_2259972_2755.jpg)
12:07:08.992 [DEBUG] In IconWorker.loadIcon(n900595270_2259973_3050.jpg)
12:07:09.053 [DEBUG] In IconWorker.loadIcon(n900595270_2271316_3786.jpg)
12:07:09.115 [DEBUG] In IconWorker.loadIcon(travelocity - Copy.jpg)
12:07:10.120 [DEBUG] LoadImageThread.start (start)
12:07:10.191 [DEBUG] JUploadImagePreview.paintComponent, after paintIcon
12:07:10.191 [DEBUG] LoadImageThread.start (end)
12:07:10.290 [DEBUG] Creation of the DefaultFileData for C:\Users\Ryan\Pictures\n900595270_2259972_2755.jpg(root: C:\Users\Ryan\Pictures)
12:07:10.291 [DEBUG] isPicture=true (n900595270_2259972_2755.jpg), extension=jpg
12:07:10.291 [DEBUG] Shutting down all IconWorker running jobs
12:07:10.292 [DEBUG] All IconWorker running jobs are now marked as stopped.
12:07:11.990 [DEBUG] Action : Upload
12:07:11.992 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
12:07:11.992 [DEBUG] Timer started
12:07:11.993 [DEBUG] Resizing factor (scale): 1.695364238410596
12:07:11.993 [DEBUG] n900595270_2259972_2755.jpg : hasToTransformPicture = false
12:07:12.001 [DEBUG] chunkHttpParam: jupart=0&jufinal=1
12:07:12.001 [DEBUG] Cookie: c7efe7749f903bf5b90297dbbd70d9e0=a87f819c25e373696d454c315903606a; cpg140_data=YTo0OntzOjI6IklEIjtzOjMyOiJhYzk0MDJhZGRmYzhjMmNiZmFlNzExMjJjOGQ4OWZkOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTowOnt9fQ%3D%3D; PHPSESSID=5dj7pnqqsmelhmoh3u5ldb7qp4
12:07:12.002 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
12:07:12.002 [DEBUG] Using non SSL socket, direct connection
12:07:12.004 [DEBUG] in UploadFileData.uploadFile (amount:47267, getUploadLength(): 47267)
12:07:12.005 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:07:12.039 [DEBUG] -------- Response Headers Start --------
12:07:12.039 [DEBUG] HTTP/1.1 400 Bad Request
12:07:12.039 [DEBUG] Content-Type: text/html
12:07:12.040 [DEBUG] Date: Sun, 09 Mar 2008 16:07:19 GMT
12:07:12.040 [DEBUG] Connection: close
12:07:12.040 [DEBUG] Content-Length: 42
12:07:12.041 [DEBUG]
12:07:12.041 [DEBUG] --------- Response Headers End ---------
12:07:12.041 [DEBUG] HTTP status: 400 Bad Request
12:07:12.041 [INFO] Debug level set to 1
12:07:12.042 [INFO] Current debug output file: C:\Users\Ryan\AppData\Local\Temp\jupload_33512_log.txt
12:07:12.044 [DEBUG] ======= Parameters managed by PictureUploadPolicy
12:07:12.044 [DEBUG] fileChooserImagePreview: true
12:07:12.045 [DEBUG] highQualityPreview : false
12:07:12.045 [DEBUG] pictureCompressionQuality : 0.8
12:07:12.045 [DEBUG] pictureTransmitMetadata : true
12:07:12.045 [DEBUG] maxPicWidth : 1024, maxPicHeight : 1024
12:07:12.045 [DEBUG] realMaxPicWidth : 5000, realMaxPicHeight : 5000
12:07:12.045 [DEBUG] storeBufferedImage : false
12:07:12.045 [DEBUG] targetPictureFormat : null
12:07:12.046 [DEBUG]
12:07:12.046 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
12:07:12.046 [DEBUG] albumId : 42
12:07:12.046 [DEBUG]
12:07:13.241 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Received HTTP status 400 Bad Request (Received HTTP status 400 Bad Request)
12:07:13.242 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 400 Bad Request

12:07:13.242    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:563)

12:07:13.242    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:739)

12:07:13.242    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)

12:07:13.242 [DEBUG] FileUploadThread: within run().finally
12:07:13.792 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
12:07:13.793 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)
12:07:26.895 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:10:02.431 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:10:07.833 [DEBUG] PicturePanel.paint(): offscreenImage is null


Any idea what could be causing this?

Thanks

Ryan

etienne_sf

Quote from: compuryan on March 09, 2008, 05:12:32 PM
I tried to run the applet but when I click output I get the following result (error 400 Bad Request):

<cut>

Any idea what could be causing this?

Thanks

Ryan

Not really. You apparently cut the debug ouptut: the request sent to the server doesn't appear here, and the global parameters are not there.

From the error message, the problem is in the upload request. Perhaps a bad filename ?  (I've seen an exclamation point somewhere). If it's not that, can you attach here the full debug output ?

Etienne

compuryan

I pasted the entire content of the file specified on this line :

12:07:12.042 [INFO] Current debug output file: C:\Users\Ryan\AppData\Local\Temp\jupload_33512_log.txt

If that is not the correct debug info then would you be able to tell me where to find the correct file?

Thanks,

Ryan

etienne_sf

Quote from: compuryan on March 09, 2008, 08:59:50 PM
I pasted the entire content of the file specified on this line :

12:07:12.042 [INFO] Current debug output file: C:\Users\Ryan\AppData\Local\Temp\jupload_33512_log.txt

If that is not the correct debug info then would you be able to tell me where to find the correct file?

Thanks,

Ryan

Gush! The file content is not complete! I just repeated this problem.

Strange bug.

Can you do this, to give me the full output (like on the given doc):
- Right Click on the applet, while pressing the Control touch: put the debug on.
- Do the erroneous upload
- Copy the full text of the text area.
- Paste it here, or, better, put it in a code area, in this forum (Click on the # button, when entering your text) or attach a text file with this text.

Etienne

compuryan

Alright I got everything this time I think.

The output is now too large to post but I'll link it here: http://johncurrie.ca:8088/jupload_40350_log.txt

Thanks for your help.

-Ryan

etienne_sf

Quote from: compuryan on March 09, 2008, 10:32:15 PM
Alright I got everything this time I think.

The output is now too large to post but I'll link it here: http://johncurrie.ca:8088/jupload_40350_log.txt

Thanks for your help.

-Ryan

Ok, from this log, the error is: Bad Request (Invalid Header Name) !!!

Really, really strange. What is your web server (Apache, IIS, other ?), that refuses something that is used by many many other people ?

Etienne


etienne_sf

Quote from: compuryan on March 10, 2008, 02:07:32 PM
It is IIS

Which version ?
Do you have a way (in the logs, for instance), to know which header is wrong ?