Opened 15 years ago
Closed 15 years ago
#1243 closed defect (bug) (worksforme)
Upload avatar: getimagesize(Object) [function.getimagesize]: failed to open stream
Reported by: | coto | Owned by: | |
---|---|---|---|
Milestone: | Priority: | minor | |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: | MrMaz |
Description
there is an error uploading an avatar
Warning: getimagesize(Object) [function.getimagesize]: failed to open stream: No such file or directory in /var/www/html/SITE/wp-content/plugins/buddypress/bp-core/bp-core-cssjs.php on line 93
this is the permission
chmod 775 -R /var/www/html/SITE/wp-content/blogs.dir/
Change History (1)
Note: See
TracTickets for help on using
tickets.
This error would only be occurring if the file does not exist. Either the file is not being uploaded, or there is an error occurring sometime before the temp file is moved into the blogs.dir/ tree.
After the upload step and BEFORE CROPPING look in blogs.dir/1/group-avatars/[group id]/
If there is no file in there, then the image was not uploaded correctly and this is not really a bug, although there could be better error handling to avoid it from getting to this point.
Marking as worksforme unless you can explain how to reproduce this error when the file actually exists.