This is the first time I haven't been able to find the answer to my question by searching. Argh.

 

I am using Drupal v. 4.2.0 on Linux on a shared hosting service, setting up image.module with GD. I have successfully set this up recently using the same version, same host, different account. It wasn't difficult, and I almost didn't even test it, as I didn't anticipate a problem.

 

When I attempt to create a new image, I get the following errors when I preview:

warning: move_uploaded_file(temp/tmpimg_bizcard_nophone.jpg): failed to open stream: Permission denied in /home/chutney/public_html/modules/image.module on line 462.

<p>warning: move_uploaded_file(): Unable to move '/tmp/phpcwD9uS' to 'temp/tmpimg_bizcard_nophone.jpg' in /home/chutney/public_html/modules/image.module on line 462. 

It looks like a permissions error, but my permissions are set up identical to my other site, and the image management screen doesn't display any errors. I have verified that php is not running in safe mode.

 

Has anyone else seen this?

Comments

blaine-1’s picture

I posted the question, and then figured it out. Not sure why I had to give this site different than my other one, but I won't worry about it. Sorry that viewing this has screwed up the margins, btw.

augustwest’s picture

so what did you do to fix it?

blaine-1’s picture

I changed the permissions on the images, thumbs, and temp directories to 777. No other combo works - odd, since on my other site they are set at 766.