I have a standard form page set up, everything works except File Field upload. I can see the drag and drop box on the front end, but when I chose the file I get:
Unable to create directory: error on a red alert tooltip.
In console I have a 500 (Internal Server Error) and in XHR I get the following:
{
"error": {
"type": "RuntimeException",
"message": "Unable to create directory: ",
"code": 0,
"file": "/home/grav/www/site/html/system/src/Grav/Common/Filesystem/Folder.php",
"line": 468
}
}
This happens both on local dev (Windows 10 with WSL and apache2) but also on the remove DigitalOcean droplet with Ubuntu and Nginx.
Is there a know issue or an I doing something wrong? I've tested with a very simple form as an example of the docs, everything works, emails are send, but the file is not uploaded in the directory and also not send as an attachment like I would like.