CuteEditor for PHP - file uploader asks for 401 authentication even when it was already done

Last post 06-22-2010, 8:34 AM by nacho66. 3 replies.
Sort Posts: Previous Next
  •  06-15-2010, 4:14 AM 61748

    CuteEditor for PHP - file uploader asks for 401 authentication even when it was already done

    Hi
     
    We have a problem with CuteEditor for PHP
     
    We use CuteEditor in our Content Management System. The whole CMS is behind the http authentication layer so to access it you have to provide correct credentials. If I want to upload a file through insert image or document tool, it displays an authentication popup when uploader progress bar reaches 100%. So it's not recognizing that authentication for the given server/url was already done. If I provide correct login and password into popup, and submit it, progress bar starts from 0 and throws the popup again after it reaches 100%. And so on, and so on... If I click cancel, it displays 401 unauthorized alert
     
    I wonder what is an easy fix for this. From some reason uploader is not recognizing the 401 authentication that was done when logging into CMS. How to fix this ?
  •  06-16-2010, 3:19 AM 61770 in reply to 61748

    Re: CuteEditor for PHP - file uploader asks for 401 authentication even when it was already done

    Hi nacho66,
     
    Please try IFrame mode for upload.
     
    steps
     
    1. Open file "\cuteeditor_files\Dialogs\upload.php"
     
    2. Find section below
     
     $uploader->Name="UploadControl";
     
    3. Add section below under the above section
     
    $uploader->UploadType="IFrame";
     
    4. Like
     
    $uploader->Name="UploadControl";
    $uploader->UploadType="IFrame";
     
    Regards,
    ken
  •  06-22-2010, 8:34 AM 61934 in reply to 61770

    Re: CuteEditor for PHP - file uploader asks for 401 authentication even when it was already done

    Hi
     
    Thanks for advice. This worked but it also removed the upload progress bar and ability to upload few files at a time. It's important to keep both these features in place while also have 401 authentication working. Can you advice on that?
     
     
View as RSS news feed in XML