Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I try to upload a document from my computer (browse), the node is created successfully but the file is not actually uploaded and I get the following error messages:
File upload error. Could not move uploaded file.
Please select a document to upload
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'url' cannot be null
I can create a node without a problem if I use an external URL. And I have this module installed on another site on the same server and it works fine there.
Comments
Comment #1
r_honey CreditAttribution: r_honey commentedCan you please check your file-system permissions and ensure Drupal has write access to the "files" directory.
Comment #2
Lloyd CreditAttribution: Lloyd commentedWell, the File directory did of course. But the docs subfolder didn't inherit the permission for some reason. Thanks for reminding me.