Error creating users

Darren Oh - March 6, 2006 - 01:08
Project:Image Exact Sizes
Version:4.7.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

When exact size for avatars is enabled, the following error occurs when creating a new user:

Failed to upload the picture image; the pictures directory doesn't exist.

This make the exact avatar size feature unusable.

#1

Darren Oh - March 6, 2006 - 01:10

I should mention that, as a result of the error, the new user fails to be created.

#2

joshk - March 6, 2006 - 05:45

When exact size for avatars is enabled, the following error occurs when
creating a new user:

"Failed to upload the picture image; the pictures directory doesn't
exist
."

Sounds like an error deeper down in your system, as the bolded text above doesn't exists in this module's code.

Do you currently have working user pictures? Is your filesystem correctly configured? Do you see an error when you go to admin > users > configure?

#3

sami_k - March 9, 2006 - 15:19

Does the picture directory exist and is it 777 or 755 with phpsuexec when you get this error?

#4

Darren Oh - March 20, 2006 - 04:22

Yes, the pictures directory exists, and its permissions are 777. This should be irrelevant, since the form for creating a new user doesn't even have the option for uploading a picture. The Image Exact Sizes module seems to be attempting to resize a non-existent picture. The module works fine when uploading a picture for an existing user.

#5

Apstar - April 6, 2006 - 14:28
Component:Code» User interface

I can confirm this as a 'bug'.

After reading this report and deselecting the resize avatar option within Image Exact, I am finally able to create users again. Please fix, i'm using Drupal 4.6.x

#6

joshk - April 6, 2006 - 17:11

Ok. I've rolled a new 4.6 install and will test/patch this later today. Thanks for everyone for posting bugs and having some interest in the module!

#7

maki124 - May 1, 2006 - 08:43

I have this problem also, although in my case if I upload an image the error does not occur. If I try to edit/update a user page without uploading an image, I get

Failed to upload the picture image; the avatars directory doesn't exist.

Which is obviously incorrect since I can upload to that avatars directory... but forcing the user to re-upload their avatar image every time they need to edit their page is not workable, of course. Disabling avatar exact sizing is the only option so far, unfortunately. Would really like to see this issue resolved somehow.

#8

Darren Oh - July 12, 2006 - 15:51
Version:4.6.x-1.x-dev» 4.7.x-1.x-dev
Priority:critical» normal

In the latest version for 4.7, this module no longer prevents new users from being created. It simply displays "File does not exist."

I still can't get avatar resizing to work, however. Nothing happens when an image is added to a users account, so I'm assuming this module only tries to resize the avatar when the user is initially created. The problem is similar the image resizing problem in issue 61338.

The practical effect is that no avatars are resized, because there is no option to choose an image when creating a user.

 
 

Drupal is a registered trademark of Dries Buytaert.