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 |
Jump to:
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
I should mention that, as a result of the error, the new user fails to be created.
#2
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
Does the picture directory exist and is it 777 or 755 with phpsuexec when you get this error?
#4
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
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
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
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
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.