uploading file in DOCUMENTS LIBRARY

tulas
Forums
Hi Guys. I have some problems using Document Library, inside a training. I can create folder but I can' upoad files. http://127.0.0.1/media/add/tft_file when I upload pdf file an error message appears. Opign 2.11 was just installed from scratch using composer (last version). Any suggestions? Best Andrea
axel

Hi tulas,

Hi tulas,

What exact error message do you get ?

tulas

Hi Axel.

Hi Axel. Thank you for reply. If I upload the file on Document library the error message (appears very quickly) it's file field is required. if i upload the file at this link http://127.0.0.1/media/add/tft_file the error message is "The file could not be uploaded."If I go to Thanks for support. Best Andrea
asikuy

Document library

I have Opigno 2.11, digitalocean VPS, ubuntu 18. I can create a folder, and upload to that folder, no issues. Check your permissions on the folder you are trying to write to. Check your logs for errors, and post them here...
ironhead

https://www.opigno.org/en

https://www.opigno.org/en/forum/support/doc-library-wont-upload Requires TinCan? Error Log: Location https://,sitename>/media/add/tft_file?destination=%2Fgroup%2F2%2Ftft&tid=75 Referrer https:///media/add/tft_file?tid=75&destination=/group/2/tft Message Tincan statements can not be send. Tincan PHP library is not installed.
ironhead

Log Report

Type opigno_tincan Location https:///media/add/tft_file?destination=%2Fgroup%2F2%2Ftft&tid=75 Referrer https:///media/add/tft_file?tid=75&destination=/group/2/tft Message Tincan statements can not be send. Tincan PHP library is not installed. Type opigno_tincan Location https:///quickedit/attachments?_wrapper_format=drupal_ajax Referrer https:///group/2 Message Tincan statements can not be send. Tincan PHP library is not installed. Type opigno_tincan Location https:///forum/74 Referrer https:///group/2 Message Tincan statements can not be send. Tincan PHP library is not installed.
tulas

Thank you Asikuy for reply. I

Thank you Asikuy for reply. I don't have any errors in log. I just see now if I try to upload TFT file from http://127.0.0.1/media/add/tft_file (content section -> media -> add TFT file) appears this error messageThe file could not be uploaded because the destination private://2020-05 is invalid.
tulas

Thank you ironhead for reply

Thank you ironhead for reply me! Unfortunately Tincan PHP library is properly installed.
ironhead

FWIW

I'm not using TinCan. Have a default Opigno install. For kicks, I configured TinCan/Watershed and get same result/logs.
tulas

I got it. The problem was

I got it. The problem was that in settings.php was not configured Private file system path Thanks for support Andrea
ironhead

Resolved

Typo (error) in file_private… Still don't know why no error message and flagged as a tincan error, but all's well that ends well. Sorry for any confusion...