[Loris-dev] Document Repository question

Christine Rogers christine.rogers at mcgill.ca
Fri Jun 30 19:30:20 EDT 2017


(Forwarded on behalf of Bonhwang Koo of the Child Mind Institute)

> Here’s the message, which the console error typed out:
> 
> I followed your suggestion, although I ran the command for a slightly different directory: “sudo chmod 777 /var/www/loris/modules/document_repository/user_uploads”, and I still have the same issue. This isn’t working even though I have a mail server installed via PostFix. I took a look at the console on my browser, and this is the error I’m getting:
> 
> /document_repository/ajax/addCategory.php 500 (Internal Server Error)
> 
> send        @ jquery-1.11.0.min.js:4
> ajax        @ jquery-1.11.0.min:js:4
> postCategory    @ document_repository_helper.js:89
> dispatch        @ jquery-1.11.0.min.js:3
> r.handle        @ jquery-1.11.0.min.js:3
> 
> This is the corresponding code in document_repository_helper.js:89 :
> $.ajax({
>    url: loris.BaseURL + "/document_repository/ajax/addCategory.php",
>    type: "POST",
>    data: $("#addCategoryForm").serialize(),
>    success: function() {
>      $("#addCategoryModal").modal('hide');
>      $("#addCategoryCategory").removeClass("has-error");
>      $("#categoryAddError").hide();
>      $('.add-success').show();
>      setTimeout(function() {
>        $('.add-success').hide();
>      }, 3000);
>      setTimeout(function() {
>        location.reload();
>      }, 3000);
>    },
>    error: function(jqXHR, textStatus, errorThrown) {
>      if (jqXHR.status === 400) {
>        $("#addCategoryCategory").addClass("has-error");
>        $("#categoryAddError").show()
>      }
>    }
>  });
> 
> -- 
> Bonhwang Koo
> Research Assistant, CDB
> Child Mind Institute 
> childmind.org <http://childmind.org/> 
> 445 Park Avenue (entrance on 56th Street) 
> New York, NY 10022 
> E: Bonhwang.Koo at childmind.org
> p: 646.625.4398
> f: 646.625.4348 
> 
> Facebook: facebook.com/ChildMindInstitute <http://facebook.com/ChildMindInstitute> | Follow us on Twitter: twitter.com/ChildMindDotOrg <http://twitter.com/ChildMindDotOrg> 
> 
> --- 
> 
> This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is proprietary, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, disclosure, or distribution is prohibited. If you have received this email in error please notify the sender by return email and delete the original message. Please note, the recipient should check this email and any attachments for the presence of viruses. The organization accepts no liability for any damage caused by any virus transmitted by this email. 
> 
> On 6/30/17, 12:47 PM, "loris-dev-bounces at bic.mni.mcgill.ca on behalf of loris-dev-owner at bic.mni.mcgill.ca" <loris-dev-bounces at bic.mni.mcgill.ca on behalf of loris-dev-owner at bic.mni.mcgill.ca> wrote:
> 
>    Your request to the Loris-dev mailing list
> 
>        Posting of your message titled "Re: [Loris-dev] Fwd: LORIS
>    Document Repository"
> 
>    has been rejected by the list moderator.  The moderator gave the
>    following reason for rejecting your request:
> 
>    "Hi Bonhwang, 
> 
>    Could you please re-send your post?  The email you have sent to the
>    listserv did not come out well with character encoding, I believe. 
> 
>    Thanks! The Loris team "
> 
>    Any questions or comments should be directed to the list administrator
>    at:
> 
>        loris-dev-owner at bic.mni.mcgill.ca
> 
> 


More information about the Loris-dev mailing list