Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 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)

#1 @MrMaz
12 years ago

  • Cc MrMaz added
  • Priority changed from major to minor
  • Resolution set to worksforme
  • Status changed from new to closed

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.

Note: See TracTickets for help on using tickets.