Hi
I have Drupal 4.3.0 installed on a OpenBSD box.
When i try to post an image the page gets blanked but the image i specify gets uploaded and put in the /images directory. However the image does not end up in the thumbs directory.
i have /images /thumbs and /temp specified. all dirs are owned by the user running the Apache server all directories have been chmod:ed to 777
when i try to upload images (directory) with fast mode i get the following error:
warning: rename() failed (No such file or directory) in /htdocs/drupal/modules/image.module on line 704.
Cannot save image.
i am using image.module Revision 1.85 (latest cvs) i have also tried with Revision 1.74.2.3 but then its complaining on another row (same code tho): here are the line in the image.module file where it dies:
Line 703: // Rename Thumbnail
Line 704: if (!rename(_image_tempthumbname($node), $node->thumb_path)) { die(t("Cannot save image."));
the drupal log says this:
Type error
Date Friday, 28 November, 2003 - 12:59
User *removed*
Location /?q=admin/image/dir_upload/fast
Message warning: rename() failed (No such file or directory) in /htdocs/drupal/modules/image.module on line 704.
Hostname *removed*
http://my.server.domain/?q=admin/image results in this:
Setting Status
Default image path
OK
Default thumb path
OK
Temporary image path
OK
ImageMagick convert
OK