i got a strange problem while using ac in our company.
at the moment in the owner company we are about 12 employees.
two of them are able to upload and change their avatar pictures. all the other people can try to upload, but without any error the pop up windows closes and no avatar image appears.
we tested different browsers without any success.
i thought that maybe my computer is the problem, so i switched to the computer of the guy that was able to uplaod and change his avatar image. After logging in to my account i tried to start the upload and the same shit appeared.
I guess my user profile has to be some kind of damaged.
Not necessarily. There are situations when this is not true. For example, if you migrated your setup in the past, users who had avatars uploaded in that moment may change them, while new avatars can't be uploaded because permissions are not updated after migration.
Code itself does not partially work - it either runs or throws an error. Something else is the problem, and first thing that I would check would be folder permissions for /public/avatars.
i guess i know the problem. after i upload a avatar image the uploaded file gets the permission 600. when i set the permission manually to 644 then everything seems to be quite ok.
what could be the reason that uploaded file became the 600 file permission?
activeCollab resizes avatars and writes the stream to /public/avatars folder using imagejpeg() function. Exact code that does this is resize_image() defined in /activecollab/angie/functions/general.php.
No changes to permissions are done by activeCollab at that point. Permissions are preserved the same way your PHP (using GD extension) sets them when it creates the file.
i got a strange problem while using ac in our company.
at the moment in the owner company we are about 12 employees.
two of them are able to upload and change their avatar pictures. all the other people can try to upload, but without any error the pop up windows closes and no avatar image appears.
we tested different browsers without any success.
i thought that maybe my computer is the problem, so i switched to the computer of the guy that was able to uplaod and change his avatar image. After logging in to my account i tried to start the upload and the same shit appeared.
I guess my user profile has to be some kind of damaged.
hope some one can help
thanks