Closed (fixed)
Project:
Avatar Approval
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2008 at 10:21 UTC
Updated:
22 Apr 2009 at 09:38 UTC
Jump to comment: Most recent file
Comments
Comment #1
mikejoconnor commentedThis is on my list of things to do. I believe it will be the first module I convert. I'm glad your requesting it, it gives me some additional motivation to do so.
Comment #2
dalad commentedI wrote the code for the Drupal 6 port. You can try test it, it works nicely for me.
Attached, the package that contains
* upgrade patches
* tar.gz of the module
I'm looking forward to hear if everything works fine for you too. Give it a try!
Comment #3
mikejoconnor commentedThank you. I'll take a look at this and let you know.
Comment #4
victoria_b commenteddalad - Thanks for porting this module to Drupal 6.
I'm currently using the Drupal 6 module (and not the patches) yet when I upload an avatar I get the following error:
"The selected file sites/default/files/pictures/picture-6.jpg could not be uploaded, because the destination is not properly configured."
The image is uploaded to the pictures directory and an issue is stored in the approval queue for moderation however the image is absent.
Any ideas or feedback would be much appreciated!
Thank you.
Comment #5
dalad commentedUppss.. so much time has passed I really forgot about this... I made some little modifies since I posted the version you are using. Would you mind try to see if the version I attach here gives you the same (or any other) problems?
Comment #6
victoria_b commentedHi - thanks for the new code. However it's now causing 2 issues:
When uploading an avatar the following errors occur:
* The selected file sites/default/files/avatar_selection/avatar004.jpg could not be uploaded, because the destination is not properly configured.
* warning: copy(http://localhost/website/avatar_selection/approval_avatar.jpeg) [function.copy]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in F:\wamp\www\website\sites\all\modules\avatarapproval\avatarapproval.module on line 187.
Any advice on what could be causing the above?
Regards
Victoria
Comment #7
dalad commentedHi victoria, sorry for the late response.
The first, is a drupal error. A further investigation revealed it is raised when the files directory (in your case sites/default/files/avatar_selection)
is not writable by apache. Be sure the owner of the directory is apache or an user of the apache group, and that the directory is writable by that user.
Also, if you have a sort of firewall (SELinux for instance), check that it allows the directory to be written. I know this is quite an annoying issue, ask for help if you need.
The second, had to do with my version of the module, and is fixed in this attachment. I have introduced the feature of assigning a temporary avatar for those users which have submitted a picture and are awaiting administrator approval, as this was needed in a project of mine.
I think this version is ready to be tested by the community, and I'd like to hear a word from mikejoconnor about this.
If you are looking for a (co)mainteiner, I'd be happy to apply.
Comment #8
dalad commentedversion 6.x-1.x-dev is out