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

CommentFileSizeAuthor
#3 pictures_import.patch1.4 KBrhys

Comments

rhys’s picture

I 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.

gopher’s picture

Same 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!

rhys’s picture

Status: Active » Needs review
StatusFileSize
new1.4 KB

I'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.

rhys’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Project: » Lost & found issues

This issue’s project has disappeared. Most likely, it was a sandbox project, which can be deleted by its maintainer. See the Lost & found issues project page for more details. (The missing project ID was 157661)