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.
The plupload interface showed that all was well, but on the next page load I was hit with a barrage of errors like
I tried this module out and kept getting errors like: Warning: fopen(/kitten.jpg) [function.fopen]: failed to open stream: Permission denied
(one for each file I tried to upload (plupload))
Patch coming.
Comment | File | Size | Author |
---|---|---|---|
#1 | plupload-910512-1.patch | 886 bytes | vordude |
Comments
Comment #1
vordude CreditAttribution: vordude commentedSo here was my resolution:
/kittens.jpg didn't look right in my error message.
Early in plupload_pernode() the variable $temp_directory is declared, but then is never used.
I replaced $targetDir (never declared) with $temp_directory, and have success.
I'm guessing this was the way it was intended, but honestly didn't take the time to figure out the module any farther. This patch works for me.
Comment #2
vordude CreditAttribution: vordude commentedFor clarity to the issue-- The Nodes were never created, a warning is displayed for each node creation attempted.
Comment #3
vordude CreditAttribution: vordude commentedComment #4
gregglesThanks, committed - http://drupal.org/cvs?commit=421230
Comment #5
gregglesThe other kind of status seems better ;)