Advanced search  

News:

cpg1.5.24 maintenance release - upgrade recommended
The Coppermine development team is releasing an update for Coppermine in order to fix several minor issues. All fixes are not security critical, so if your gallery is running fine with cpg1.5.20 or cpg1.5.22 you don't need to upgrade. If you are running an older version than cpg1.5.20, you must update to this latest version as soon as possible because of the security impact!
[more]

Pages: [1]   Go Down

Author Topic: 401 error  (Read 1292 times)

0 Members and 1 Guest are viewing this topic.

enriqueman

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
401 error
« on: July 28, 2012, 07:44:17 pm »

I've installed coppermine and when I attempt to upload to an album, I gat a 401 error. I suspect it has to do with the fact the gallery is in a login protected directory (using a CCBill script)

Here is the debug output:


SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.*
SWF DEBUG: Select Handler: Received the files selected from the dialog. Processing the file list...
SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_0
SWF DEBUG: Event: fileDialogComplete : Finished processing selected files. Files selected: 1. Files Queued: 1
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
SWF DEBUG: Global Post Item: album=3
SWF DEBUG: Global Post Item: user=YToyOntzOjc6InVzZXJfaWQiO3M6MToiMSI7czo5OiJwYXNzX2hhc2giO3M6MzI6ImJkN2ZjZDY5MjA2YWFiNTY4NDEyNTBlZTE5ZjdlZDI4Ijt9
SWF DEBUG: Global Post Item: process=1
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload.  Starting upload to /members/cpg/upload.php for File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 401.
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Error Code: HTTP Error, File name: IMG_9433.jpg, Message: 401
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 5986
Re: 401 error
« Reply #1 on: July 28, 2012, 08:33:20 pm »

Please try using http upload instead. It's not as comfortable but should work without problems with htpasswd auth.
Logged
my CPG sandbox: Version 1.4.18 with modpack running my Tentacle theme:
http://stramm.st.funpic.org/
Pages: [1]   Go Up
 

Page created in 0.138 seconds with 19 queries.