Offline Joined: May 29, 2006 Posts: 467 Location: Australia
Posted: Sun Mar 25, 2012 5:56 am Post subject: Juploader for Coppermine
Found this excellent mod by Klaus the other day. Basically it allows users to upload multiple pics at a time, rather than an admin having to do batch uploads. Pretty cool really and looks the bomb, except it stops after 1 pic with the following error.
1:40:26.103 [INFO] Debug level set to 3
01:40:26.105 [INFO] Current debug output file: C:\Users\Trevor\AppData\Local\Temp\jupload_7857934687955206412_log.txt
01:40:26.107 [DEBUG] maxChunkSize<0 which is invalid. Switched to the default value (Long.MAX_VALUE)
01:40:26.107 [DEBUG] maxFileSize<0 which is invalid. Switched to the default value (Long.MAX_VALUE)
01:40:26.122 [DEBUG] uploadPolicy parameter = DragonflyCMSUploadPolicy
01:40:26.150 [WARN] Invalid int value: , using default value: 0
01:40:26.157 [INFO] JUpload plugin for DragonflyCMS version 0.9.2.1
01:40:30.532 [DEBUG] Action : Browse ...
01:40:56.994 [DEBUG] Action : Upload
01:41:15.725 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.DragonflyCMSUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body (wjhk.jupload2.policies.DragonflyCMSUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body)
01:41:15.726 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.DragonflyCMSUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body
01:41:15.726 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:612)
01:41:15.726 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
01:41:15.726 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:487)
01:41:19.071 [WARN] DragonflyCMSUploadPolicy.afterUpload: No file were uploaded! (0)
I have no idea why its not Returning "Sucess" when the first pic uploads fine unfortunately.
Posted: Sun Mar 25, 2012 10:17 am Post subject: Re: Juploader for Coppermine
It works like - and uses - the current standard browser upload image but lets you select multiple individual images before you do the upload.
Also on my site I have a instructions on how to make this available to members. Modding the new code for members too is easy, but you'll also have to allow members' access to Batch Upload and patch 1 bit of code. I don't know and therefore cannot advise on the merits and/or risks of making Batch Upload available to users, particularly as it relates to security, so you do so at your own risk, YMMV, etc.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum