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

r_honey’s picture

Can you please check your file-system permissions and ensure Drupal has write access to the "files" directory.

Lloyd’s picture

Category: bug » support
Status: Active » Closed (works as designed)

Well, the File directory did of course. But the docs subfolder didn't inherit the permission for some reason. Thanks for reminding me.