Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Only admin can upload pics - not guests  (Read 8799 times)

0 Members and 1 Guest are viewing this topic.

Icmesa3000

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Only admin can upload pics - not guests
« on: June 22, 2008, 06:10:15 pm »

Hi  Etienne,

first of all thank you very, very much for your great work.

I have a little problem. Only the admin (me) can upload pics, I gave the permission for some folder also guests but when I try to upload pictures as guest I get the massage that the album dosen't exist or I don't have the permission to upload pics into that album. When I start the uploadmanger as guest, only the albums with guest upload permission will be shown - thats all right.
But I can't upload pics into the album. I get every time this error code:


In the box at the Uploadscript:
17:54:05.421 [INFO] Debug level set to 0
17:54:05.437 [INFO] Current debug output file: C:\DOKUME~1\Ben\LOKALE~1\Temp\jupload_41470_log.txt
17:54:05.468 [WARN] Invalid int value: true, using default value: 0
17:54:09.203 [INFO] JUpload applet, version 3.4.1 [SVN-Rev: 465] (compiled: 05/09/2008 10:00 AM), available at http://jupload.sourceforge.net/
17:54:09.203 [INFO] maxFileSize: 1024000
17:54:09.375 [WARN] Invalid int value: , using default value: 0
17:54:09.390 [INFO] JUpload plugin for coppermine version 3.1.3
17:54:12.593 [WARN] Invalid int value: , using default value: 0
17:54:57.718 [INFO] Debug level set to 1
17:54:57.718 [INFO] Current debug output file: C:\DOKUME~1\Ben\LOKALE~1\Temp\jupload_41470_log.txt
17:54:57.718 [INFO] JUpload applet, version 3.4.1 [SVN-Rev: 465] (compiled: 05/09/2008 10:00 AM), available at http://jupload.sourceforge.net/
17:54:57.718 [DEBUG] debugLevel: 1 (debugfile: C:\DOKUME~1\Ben\LOKALE~1\Temp\jupload_41470_log.txt)
17:54:57.718 [INFO] maxFileSize: 1024000
17:59:21.812 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] (2) Selected album does not exist or you don't have permission to upload in this album ((2) Selected album does not exist or you don't have permission to upload in this album)
17:59:21.859 wjhk.jupload2.exception.JUploadExceptionUploadFailed: (2) Selected album does not exist or you don't have permission to upload in this album
17:59:21.859    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:597)
17:59:21.859    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
17:59:21.859    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
17:59:25.171 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)



jupload_41470_log.txt:

17:54:09.203 [DEBUG]   language: us
17:54:09.203 [DEBUG]   country:
17:54:09.203 [DEBUG] afterUploadURL: null
17:54:09.203 [DEBUG] allowHttpPersistent: false
17:54:09.203 [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/
17:54:09.203 [DEBUG] debugLevel: 0 (debugfile: C:\DOKUME~1\Ben\LOKALE~1\Temp\jupload_41470_log.txt)
17:54:09.203 [DEBUG] fileChooserIconFromFileContent: 0
17:54:09.203 [DEBUG] fileChooserIconSize: 50
17:54:09.203 [DEBUG] filenameEncoding: null
17:54:09.203 [DEBUG] lang: us
17:54:09.203 [DEBUG] maxChunkSize: 9223372036854775807
17:54:09.203 [INFO] maxFileSize: 1024000
17:54:09.203 [DEBUG] nbFilesPerRequest: 1
17:54:09.203 [DEBUG] postURL: http://HOMEPAGE/index.php?file=jupload/jupload&action=upload_picture
17:54:09.203 [DEBUG] serverProtocol: HTTP/1.1
17:54:09.203 [DEBUG] showLogWindow: false
17:54:09.203 [DEBUG] showStatusbar: true
17:54:09.203 [DEBUG] specificHeaders: null
17:54:09.203 [DEBUG] stringUploadSuccess: ^SUCCESS$
17:54:09.203 [DEBUG] stringUploadError: ^ERROR: (.*)$
17:54:09.203 [DEBUG] urlToSendErrorTo: http://HOMEPAGE/index.php?file=jupload/jupload&action=log_error
17:54:09.203 [DEBUG]
17:54:09.203 [DEBUG] ======= Parameters managed by PictureUploadPolicy
17:54:09.203 [DEBUG] fileChooserImagePreview: true
17:54:09.203 [DEBUG] highQualityPreview : false
17:54:09.203 [DEBUG] pictureCompressionQuality : 0.8
17:54:09.203 [DEBUG] pictureTransmitMetadata : false
17:54:09.203 [DEBUG] maxPicWidth : 2048, maxPicHeight : 2048
17:54:09.203 [DEBUG] realMaxPicWidth : 2048, realMaxPicHeight : 2048
17:54:09.203 [DEBUG] storeBufferedImage : false
17:54:09.203 [DEBUG] targetPictureFormat : null
17:54:09.203 [DEBUG]
17:54:09.203 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
17:54:09.203 [DEBUG] albumId : 0
17:54:09.203 [DEBUG]
17:54:09.359 [DEBUG] Within componentResized
17:54:09.359 [DEBUG] PicturePanel.paint(): offscreenImage is null
17:54:09.375 [DEBUG] [CoppermineUploadPolicy] Call off setProperty: albumId =>
17:54:09.375 [WARN] Invalid int value: , using default value: 0
17:54:09.390 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://HOMEPAGE/index.php?file=jupload/jupload&action=upload_picture&album=0
17:54:09.390 [INFO] JUpload plugin for coppermine version 3.1.3
17:54:12.593 [DEBUG] [CoppermineUploadPolicy] Call off setProperty: albumId =>
17:54:12.593 [WARN] Invalid int value: , using default value: 0
17:54:12.593 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://HOMEPAGE/index.php?file=jupload/jupload&action=upload_picture&album=0
17:54:13.828 [DEBUG] [CoppermineUploadPolicy] Call off setProperty: albumId => 2072
17:54:13.828 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://HOMEPAGE/index.php?file=jupload/jupload&action=upload_picture&album=2072
17:54:14.734 [DEBUG] PicturePanel.paint(): offscreenImage is null
17:54:14.765 [DEBUG] PicturePanel.paint(): offscreenImage is null
17:54:14.796 [DEBUG] PicturePanel.paint(): offscreenImage is null
17:54:17.062 [DEBUG] PicturePanel.paint(): offscreenImage is null
17:54:18.218 [DEBUG] Action : Browse ...
17:54:18.250 [DEBUG] [JUploadFileView.execute] Adding C:\Dokumente und Einstellungen\Ben\Eigene Dateien\1-ef19889060cbe7b6136adf0489c2451a.jpg
17:54:18.250 [DEBUG] JUploadFileView.execute: creating the executorService
17:54:18.250 [DEBUG] In IconWorker.loadIcon(1-ef19889060cbe7b6136adf0489c2451a.jpg)
17:54:21.359 [DEBUG] [JUploadFileView] Directory changed
17:54:21.359 [DEBUG] Shutting down all IconWorker running jobs
17:54:21.359 [DEBUG] All IconWorker running jobs are now marked as stopped.
17:54:29.296 [DEBUG] [JUploadFileView.execute] Adding C:\Dokumente und Einstellungen\Ben\Eigene Dateien\Autopixx\060505_L_Musa_gr_rossini.zip
17:54:29.296 [DEBUG] In IconWorker.loadIcon(060505_L_Musa_gr_rossini.zip)
[...]FILE LIST[...]
17:54:41.953 [DEBUG] [JUploadFileView] Directory changed
17:54:41.953 [DEBUG] Shutting down all IconWorker running jobs
17:54:41.953 [DEBUG]    Shutting down [FILENAMES]
17:54:41.968 [DEBUG] All IconWorker running jobs are now marked as stopped.
17:54:42.546 [DEBUG] [JUploadFileView.execute] Adding C:\1-3-292.jpg
17:54:42.546 [DEBUG] [JUploadFileView.execute] Adding C:\1-3-294.jpg
17:54:46.390 [DEBUG] LoadImageThread.start (start)
17:54:46.640 [DEBUG] JUploadImagePreview.paintComponent, after paintIcon
17:54:46.640 [DEBUG] LoadImageThread.start (end)
17:54:47.734 [DEBUG] LoadImageThread.start (start)
17:54:47.906 [DEBUG] LoadImageThread.start (end)
17:54:47.953 [DEBUG] JUploadImagePreview.paintComponent, after paintIcon
17:54:49.453 [DEBUG] Creation of the DefaultFileData for C:\D1-3-292.jpg(root: C:\)
17:54:49.453 [DEBUG] isPicture=true (1-3-292.jpg), extension=jpg
17:54:49.453 [DEBUG] Creation of the DefaultFileData for C:\1-3-294.jpg(root: C:\)
17:54:49.453 [DEBUG] isPicture=true (1-3-294.jpg), extension=jpg
17:54:49.468 [DEBUG] Shutting down all IconWorker running jobs
17:54:49.468 [DEBUG] All IconWorker running jobs are now marked as stopped.
17:54:49.484 [DEBUG] PicturePanel.paint(): offscreenImage is null
17:54:52.843 [DEBUG] PicturePanel.paint(): offscreenImage is null
17:54:54.203 [DEBUG] Action : Upload
17:54:54.218 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
17:54:54.218 [DEBUG] Resizing factor (scale): 2.2755555555555556
17:54:54.218 [DEBUG] Timer started
17:54:54.234 [DEBUG] PicturePanel.paint(): offscreenImage is null
17:54:54.234 [DEBUG] Using transformed temp file C:\DOKUME~1\Ben\LOKALE~1\Temp\jupload_41471.tmp for 1-3-292.jpg
17:54:54.234 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
17:54:54.234 [DEBUG] Reading image with imageWriterHelper.readImage(i)
17:54:54.234 [DEBUG] [getWorkingSourceFile] Creating a copy of 1-3-292.jpg as a source working target.
17:54:54.234 [DEBUG] Using working copy temp file C:\DOKUME~1\Ben\LOKALE~1\Temp\jupload_41472.tmp.jpg for 1-3-292.jpg
17:54:54.234 [DEBUG] Foud one reader for jpg extension
17:54:54.234 [DEBUG] ImageReaderWriterHelper: reading picture number 0 of file 1-3-292.jpg
17:54:54.500 [DEBUG] getBufferedImage: start
17:54:54.500 [DEBUG] getBufferedImage: Picture is now rescaled
17:54:54.500 [DEBUG] getBufferedImage: was 0 ms long
17:54:54.656 [DEBUG] freeMemory (after ImageHelper.getBufferedImage()) : 46537200
17:54:54.703 [DEBUG] Resizing factor (scale): 2.2755555555555556
17:54:54.703 [DEBUG] Using transformed temp file C:\DOKUME~1\Ben\LOKALE~1\Temp\jupload_41473.tmp for 1-3-294.jpg
17:54:54.703 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
17:54:54.703 [DEBUG] Reading image with imageWriterHelper.readImage(i)
17:54:54.703 [DEBUG] [getWorkingSourceFile] Creating a copy of 1-3-294.jpg as a source working target.
17:54:54.718 [DEBUG] Using working copy temp file C:\DOKUME~1\Ben\LOKALE~1\Temp\jupload_41474.tmp.jpg for 1-3-294.jpg
17:54:54.734 [DEBUG] Foud one reader for jpg extension
17:54:54.734 [DEBUG] ImageReaderWriterHelper: reading picture number 0 of file 1-3-294.jpg
17:54:55.062 [DEBUG] getBufferedImage: start
17:54:55.062 [DEBUG] getBufferedImage: Picture is now rescaled
17:54:55.062 [DEBUG] getBufferedImage: was 0 ms long
17:54:55.203 [DEBUG] freeMemory (after ImageHelper.getBufferedImage()) : 44672600
17:54:55.265 [DEBUG] file 0: content=69076 bytes, getAdditionnalBytesForUpload=1944 bytes
17:54:55.265 [DEBUG] chunkHttpParam: jupart=0&jufinal=1
17:54:55.265 [DEBUG] Cookie: mediafickiUserID=2; mediafickiUserName=Peter; a92e828f1ed279c2df39fd3570f9cbeb=7fd667b49bab1244a7305d056a674ba9; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiJhOGNmY2M2NzMyYmUzYzRkMjU0ZWNlZGRmMWQ1MTU5MSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YToxOntpOjA7czoyOiIxOSI7fX0%3D; bb2_screener_=1214150044+62.104.113.113
17:54:55.265 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
17:54:55.265 [DEBUG] Using non SSL socket, direct connection
17:54:55.484 [DEBUG] === main header (len=1222):
17:54:55.484 [DEBUG] POST /index.php?file=jupload/jupload&action=upload_picture&album=2072 HTTP/1.1\r\n
17:54:55.484 [DEBUG] Host: HOMEPAGE.net\r\n
17:54:55.484 [DEBUG] Accept: */*\r\n
17:54:55.484 [DEBUG] Accept-Encoding: identity\r\n
17:54:55.484 [DEBUG] Connection: close\r\n
17:54:55.484 [DEBUG] Content-Type: multipart/form-data; boundary=---------------------------lcgipi56a7y\r\n
17:54:55.484 [DEBUG] Content-Length: 71527\r\n
17:54:55.484 [DEBUG] Cookie: mediafickiUserID=2; mediafickiUserName=Peter; a92e828f1ed279c2df39fd3570f9cbeb=7fd667b49bab1244a7305d056a674ba9; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiJhOGNmY2M2NzMyYmUzYzRkMjU0ZWNlZGRmMWQ1MTU5MSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YToxOntpOjA7czoyOiIxOSI7fX0%3D; bb2_screener_=1214150044+62.104.113.113\r\n
17:54:55.484 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14\r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] -----------------------------lcgipi56a7y\r\n
17:54:55.484 [DEBUG] Content-Disposition: form-data; name="file"\r\n
17:54:55.484 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
17:54:55.484 [DEBUG] Content-Type: text/plain; UTF-8\r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] jupload/jupload\r\n
17:54:55.484 [DEBUG] -----------------------------lcgipi56a7y\r\n
17:54:55.484 [DEBUG] Content-Disposition: form-data; name="album"\r\n
17:54:55.484 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
17:54:55.484 [DEBUG] Content-Type: text/plain; UTF-8\r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] 2072\r\n
17:54:55.484 [DEBUG] -----------------------------lcgipi56a7y\r\n
17:54:55.484 [DEBUG] Content-Disposition: form-data; name="action"\r\n
17:54:55.484 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
17:54:55.484 [DEBUG] Content-Type: text/plain; UTF-8\r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] upload_picture\r\n
17:54:55.484 [DEBUG] === main header end
17:54:55.484 [DEBUG] --- fileheader start (len=1705):
17:54:55.484 [DEBUG] -----------------------------lcgipi56a7y\r\n
17:54:55.484 [DEBUG] Content-Disposition: form-data; name="title"\r\n
17:54:55.484 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
17:54:55.484 [DEBUG] Content-Type: text/plain; UTF-8\r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] -----------------------------lcgipi56a7y\r\n
17:54:55.484 [DEBUG] Content-Disposition: form-data; name="caption"\r\n
17:54:55.484 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
17:54:55.484 [DEBUG] Content-Type: text/plain; UTF-8\r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] -----------------------------lcgipi56a7y\r\n
17:54:55.484 [DEBUG] Content-Disposition: form-data; name="keywords"\r\n
17:54:55.484 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
17:54:55.484 [DEBUG] Content-Type: text/plain; UTF-8\r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] -----------------------------lcgipi56a7y\r\n
17:54:55.484 [DEBUG] Content-Disposition: form-data; name="user1"\r\n
17:54:55.484 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
17:54:55.484 [DEBUG] Content-Type: text/plain; UTF-8\r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] -----------------------------lcgipi56a7y\r\n
17:54:55.484 [DEBUG] Content-Disposition: form-data; name="user2"\r\n
17:54:55.484 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
17:54:55.484 [DEBUG] Content-Type: text/plain; UTF-8\r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] -----------------------------lcgipi56a7y\r\n
17:54:55.484 [DEBUG] Content-Disposition: form-data; name="mimetype[]"\r\n
17:54:55.484 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
17:54:55.484 [DEBUG] Content-Type: text/plain; UTF-8\r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] image/jpeg\r\n
17:54:55.484 [DEBUG] -----------------------------lcgipi56a7y\r\n
17:54:55.484 [DEBUG] Content-Disposition: form-data; name="pathinfo[]"\r\n
17:54:55.484 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
17:54:55.484 [DEBUG] Content-Type: text/plain; UTF-8\r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] C:\Dokumente und Einstellungen\Ben\Eigene Dateien\Autopixx\Fiat 1400\r\n
17:54:55.484 [DEBUG] -----------------------------lcgipi56a7y\r\n
17:54:55.484 [DEBUG] Content-Disposition: form-data; name="relpathinfo[]"\r\n
17:54:55.484 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
17:54:55.484 [DEBUG] Content-Type: text/plain; UTF-8\r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] -----------------------------lcgipi56a7y\r\n
17:54:55.484 [DEBUG] Content-Disposition: form-data; name="filemodificationdate[]"\r\n
17:54:55.484 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
17:54:55.484 [DEBUG] Content-Type: text/plain; UTF-8\r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] 16/06/2008 20:43:11\r\n
17:54:55.484 [DEBUG] -----------------------------lcgipi56a7y\r\n
17:54:55.484 [DEBUG] Content-Disposition: form-data; name="userpicture"; filename="1-3-292.jpg"\r\n
17:54:55.484 [DEBUG] Content-Type: image/jpeg\r\n
17:54:55.484 [DEBUG] \r\n
17:54:55.484 [DEBUG] --- fileheader end
17:54:55.484 [DEBUG] in UploadFileData.uploadFile (amount:69076, getUploadLength(): 69076)
17:54:56.781 [DEBUG] --- filetail start (len=239):
17:54:56.781 [DEBUG] \r\n
17:54:56.781 [DEBUG] -----------------------------lcgipi56a7y\r\n
17:54:56.781 [DEBUG] Content-Disposition: form-data; name="md5sum[]"\r\n
17:54:56.781 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
17:54:56.781 [DEBUG] Content-Type: text/plain; UTF-8\r\n
17:54:56.781 [DEBUG] \r\n
17:54:56.781 [DEBUG] 1fb911f5b3792546f4f847f6e71e170e\r\n
17:54:56.781 [DEBUG] -----------------------------lcgipi56a7y--\r\n
17:54:56.781 [DEBUG] --- filetail end
17:54:57.718 [DEBUG] -------- Response Headers Start --------
17:54:57.718 [DEBUG] HTTP/1.1 200 OK
17:54:57.718 [DEBUG] Date: Sun, 22 Jun 2008 15:54:56 GMT
17:54:57.718 [DEBUG] Server: Apache/2.0.61 (Unix) PHP/4.4.7 mod_ssl/2.0.61 OpenSSL/0.9.7e mod_fastcgi/2.4.2 Phusion_Passenger/1.9.0 DAV/2 SVN/1.4.2
17:54:57.718 [DEBUG] X-Powered-By: PHP/5.2.6
17:54:57.718 [DEBUG] Set-Cookie: bb2_screener_=1214150098+62.104.113.113; path=/
17:54:57.718 [DEBUG] Vary: Accept-Encoding
17:54:57.718 [DEBUG] Connection: close
17:54:57.718 [DEBUG] Transfer-Encoding: chunked
17:54:57.718 [DEBUG] Content-Type: text/plain; charset=UTF-8
17:54:57.718 [DEBUG]
17:54:57.718 [DEBUG] --------- Response Headers End ---------
17:54:57.718 [DEBUG] Chunk: 373 dec: 883
17:54:57.718 [DEBUG] Chunk: 0 dec: 0
17:54:57.718 [DEBUG] HTTP status: 200 OK
17:54:57.718 [DEBUG] -------- Response Body Start --------
17:54:57.718 [DEBUG] Entering loadJuploadInternalSessionIfConfiguredTo\n
17:54:57.718 [DEBUG] loadJuploadInternalSessionIfConfiguredTo: Before connection\n
17:54:57.718 [DEBUG] loadJuploadInternalSessionIfConfiguredTo: connection result=1\n
17:54:57.718 [DEBUG] loadJuploadInternalSessionIfConfiguredTo: before select from config\n
17:54:57.718 [DEBUG] End of loadJuploadInternalSessionIfConfiguredTo (1)\n
17:54:57.718 [DEBUG] [DEBUG] upload_picture.php: Entering upload_picture.php\n
17:54:57.718 [DEBUG] [DEBUG] upload_picture.php: j_picmgmt.inc.php included\n
17:54:57.718 [DEBUG] [DEBUG] upload_picture.php: Before saveJuploadInternalSessionIfConfiguredTo\n
17:54:57.718 [DEBUG] [DEBUG] upload_picture.php: After saveJuploadInternalSessionIfConfiguredTo\n
17:54:57.718 [DEBUG] [DEBUG] upload_picture.php: Before handle_uploaded_files\n
17:54:57.718 [DEBUG] [DEBUG] j_picmgmt.inc.php: receiving the '1-3-292.jpg' file.\n
17:54:57.718 [DEBUG] [DEBUG] upload_picture.php: After handle_uploaded_files\n
17:54:57.718 [DEBUG] [DEBUG] upload_picture.php: Before jupload_add_physical_file\n
17:54:57.718 [DEBUG] ERROR: (2) Selected album does not exist or you don't have permission to upload in this album\n
17:54:57.718 [DEBUG] --------- Response Body End ---------
17:54:57.718 [INFO] Debug level set to 1
17:54:57.718 [INFO] Current debug output file: C:\DOKUME~1\Ben\LOKALE~1\Temp\jupload_41470_log.txt
17:54:57.718 [DEBUG] =======================================================================
17:54:57.718 [DEBUG] ======= Parameters managed by DefaultUploadPolicy
17:54:57.718 [INFO] JUpload applet, version 3.4.1 [SVN-Rev: 465] (compiled: 05/09/2008 10:00 AM), available at http://jupload.sourceforge.net/
17:54:57.718 [DEBUG] Java version: 1.6.0_06
17:54:57.718 [DEBUG] Cookie: mediafickiUserID=2; mediafickiUserName=Peter; a92e828f1ed279c2df39fd3570f9cbeb=7fd667b49bab1244a7305d056a674ba9; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiJhOGNmY2M2NzMyYmUzYzRkMjU0ZWNlZGRmMWQ1MTU5MSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YToxOntpOjA7czoyOiIxOSI7fX0%3D; bb2_screener_=1214150044+62.104.113.113
17:54:57.718 [DEBUG] userAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
17:54:57.718 [DEBUG] List of all applet parameters:
17:54:57.718 [DEBUG]   language: us
17:54:57.718 [DEBUG]   country:
17:54:57.718 [DEBUG] afterUploadURL: null
17:54:57.718 [DEBUG] allowHttpPersistent: false
17:54:57.718 [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/
17:54:57.718 [DEBUG] debugLevel: 1 (debugfile: C:\DOKUME~1\Ben\LOKALE~1\Temp\jupload_41470_log.txt)
17:54:57.718 [DEBUG] fileChooserIconFromFileContent: 0
17:54:57.718 [DEBUG] fileChooserIconSize: 50
17:54:57.718 [DEBUG] filenameEncoding: null
17:54:57.718 [DEBUG] lang: us
17:54:57.718 [DEBUG] maxChunkSize: 9223372036854775807
17:54:57.718 [INFO] maxFileSize: 1024000
17:54:57.718 [DEBUG] nbFilesPerRequest: 1
17:54:57.718 [DEBUG] postURL: http://HOMEPAGE/index.php?file=jupload/jupload&action=upload_picture
17:54:57.718 [DEBUG] serverProtocol: HTTP/1.1
17:54:57.718 [DEBUG] showLogWindow: false
17:54:57.718 [DEBUG] showStatusbar: true
17:54:57.718 [DEBUG] specificHeaders: null
17:54:57.718 [DEBUG] stringUploadSuccess: ^SUCCESS$
17:54:57.718 [DEBUG] stringUploadError: ^ERROR: (.*)$
17:54:57.718 [DEBUG] urlToSendErrorTo: http://HOMEPAGE/index.php?file=jupload/jupload&action=log_error
17:54:57.718 [DEBUG]
17:54:57.718 [DEBUG] ======= Parameters managed by PictureUploadPolicy
17:54:57.734 [DEBUG] fileChooserImagePreview: true
17:54:57.734 [DEBUG] highQualityPreview : false
17:54:57.734 [DEBUG] pictureCompressionQuality : 0.8
17:54:57.734 [DEBUG] pictureTransmitMetadata : false
17:54:57.734 [DEBUG] maxPicWidth : 2048, maxPicHeight : 2048
17:54:57.734 [DEBUG] realMaxPicWidth : 2048, realMaxPicHeight : 2048
17:54:57.734 [DEBUG] storeBufferedImage : false
17:54:57.734 [DEBUG] targetPictureFormat : null
17:54:57.734 [DEBUG]
17:54:57.734 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
17:54:57.734 [DEBUG] albumId : 2072
17:54:57.734 [DEBUG]
17:59:15.406 [DEBUG] PicturePanel.paint(): offscreenImage is null
17:59:21.796 [DEBUG] PicturePanel.paint(): offscreenImage is null
17:59:21.812 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] (2) Selected album does not exist or you don't have permission to upload in this album ((2) Selected album does not exist or you don't have permission to upload in this album)
17:59:21.859 wjhk.jupload2.exception.JUploadExceptionUploadFailed: (2) Selected album does not exist or you don't have permission to upload in this album

17:59:21.859    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:597)

17:59:21.859    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)

17:59:21.859    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)

17:59:21.859 [DEBUG] FileUploadThread: within run().finally
17:59:25.078 [DEBUG] PicturePanel.paint(): offscreenImage is null
17:59:25.171 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
17:59:25.171 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)
18:00:41.296 [DEBUG] PicturePanel.paint(): offscreenImage is null
« Last Edit: June 22, 2008, 06:23:38 pm by Icmesa3000 »
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Only admin can upload pics - not guests
« Reply #1 on: June 23, 2008, 10:40:51 pm »

Hi,

  Yes I found such a bug, after fighting to repeat a bug identified by Tjnashster : the current version doesn't allow upload of a user that may not create albums to a public album !
  It's now corrected. But I also have a bug to correct in the applet.


  I'll release a version soon to correct these points. I want to correct the album first.

Etienne
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Only admin can upload pics - not guests
« Reply #2 on: June 23, 2008, 11:28:41 pm »

Hi,

  Yes I found such a bug, after fighting to repeat a bug identified by Tjnashster : the current version doesn't allow upload of a user that may not create albums to a public album !
  It's now corrected. But I also have a bug to correct in the applet.


  I'll release a version soon to correct these points. I want to correct the album first.

Etienne

Before I release a 'real' version, can you check the release candidate version on my site:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb

Etienne
Logged

Icmesa3000

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Only admin can upload pics - not guests
« Reply #3 on: June 24, 2008, 12:32:04 am »

Thank you very very much again!!!  :o  jupload-3.2.0rc1 is working fine! Now guests can upload pics too (in the albums which have the "guest upload permission"). You did a great job again!  ;) :D
Logged

anjelo

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Only admin can upload pics - not guests
« Reply #4 on: February 08, 2009, 02:47:53 pm »

Thank you everybody for participating in this topic. I had so many tired evening trying to fix this problem. I wouldn't without your help.  :)
It is about time to take my pills :) and go to bed. Good night!

Regards,
Anjelo
Logged
Pages: [1]   Go Up
 

Page created in 0.042 seconds with 19 queries.