File library (pdf, jpg, gif, png etc) to the Editor server-side datatables?

File library (pdf, jpg, gif, png etc) to the Editor server-side datatables?

BoomthaboxBoomthabox Posts: 19Questions: 3Answers: 0

Is there any file library/management pluging or extension you can implement to the Editor server-side datatables?

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,125Questions: 26Answers: 4,916
    Answer ✓

    Not sure I understand the question but is this what you are looking for?
    https://editor.datatables.net/examples/advanced/upload.html

    Kevin

  • BoomthaboxBoomthabox Posts: 19Questions: 3Answers: 0

    Yes thanks! I tryed to use the example but I get "A server error occurred while uploading the file" and can not find what error it is.

    This is the link:
    http://www.deltor.se/Editor-PHP/examples/advanced/upload-many.html

    Hope someone can help me to fix this problem :smile:
    Thanks in advance!

    /Alex

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    This error is in the network tab:

    Warning: move_uploaded_file(/customers/4/b/0/deltor.se/httpd.www/uploads/16.jpg): failed to open stream: No such file or directory in /customers/4/b/0/deltor.se/httpd.www/Editor-PHP/lib/Editor/Upload.php on line 488 Warning: move_uploaded_file(): Unable to move '/run/tmp/phpa5Djhf' to '/customers/4/b/0/deltor.se/httpd.www/uploads/16.jpg' in /customers/4/b/0/deltor.se/httpd.www/Editor-PHP/lib/Editor/Upload.php on line 488 {"fieldErrors":[{"name":"files[].id","status":"An error occurred while moving the uploaded file."}],"data":[]}
    

    But I see you're discussing this on another thread. Please don't duplicate questions,

    Colin

This discussion has been closed.