I'm just starting to test your module, and can't seem to get past the first upload of an image. Drupal returns this error just after submitting the image:
The selected file C:\WINDOWS\TEMP\tmp1DA0.tmp could not be uploaded, because the destination could not be found, or because its permissions do not allow the file to be written.
There does appear to be a /files/pictures/temp directory. Which I'm assuming is where the image file should be copied until the form is submitted, and the various scaling actions take place. On submitting an image for upload, I'll receive this error, so the image doesn't even make it to /pictures/temp. Is there particular reason why your submit function would be looking in my system temp directory (which Drupal wouldn't have access permissions to) rather than the /pictures/temp folder? (I'm a bit of php noob, so looking at your code wouldn't help me just yet)
Maybe I'm missing some step in the setup? This looks like a promising module...
Thanks in advance.
Brandon
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | pictures_import.patch | 1.4 KB | rhys |
Comments
Comment #1
rhys commentedI had a few problems with that before - I think it has something to do with the PHP temporary directory settings, but I'll look into it. Some of the code for uploading was taken directly from the upload module, and then modified. There is also a problem with uploading multiple images, one after the other, the previous image shows, rather than the one which has been uploaded. I am working on a solution.
Comment #2
gopher commentedSame problem here
PHP version PHP/4.4.6
MySQL version 4.1.21-standard
Really great module so far though. An integrated full featured image/gallery solution has been lacking for a while now. This looks to be it!
Comment #3
rhys commentedI'm having trouble trying to get the error to show up on my machine. However, I remember that this error occurred, but I'm unfamiliar on how to solve it. I coded a change, but if people could test it out to see if it solves the problem, I would be much appreciated.
Comment #4
rhys commentedComment #5
(not verified) commented