Skip to:
Content
Pages
Categories
Search
Top
Bottom

Group ImageUpload Problem


  • Sean Wing
    Participant

    @seanwing

    When I try to upload an image to a new group I create, after I try to crop the second ‘full size’ image and save it, it takes a few minutes to load, then when I click the ‘crop and save image’ button for a second time, I am taken to a page that says the following:

    Warning: getimagesize(/home/aristech/public_html/Verivex.com/wp-content/blogs.dir/1/files/avatars/1/0528091906a.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/aristech/public_html/Verivex.com/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 370

    Warning: getimagesize(/home/aristech/public_html/Verivex.com/wp-content/blogs.dir/1/files/avatars/1/0528091906a-450×360.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/aristech/public_html/Verivex.com/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 371

    Warning: Division by zero in /home/aristech/public_html/Verivex.com/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 374

    Warning: Cannot modify header information – headers already sent by (output started at /home/aristech/public_html/Verivex.com/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php:370) in /home/aristech/public_html/Verivex.com/wp-content/plugins/buddypress/bp-core.php on line 928

    Warning: Cannot modify header information – headers already sent by (output started at /home/aristech/public_html/Verivex.com/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php:370) in /home/aristech/public_html/Verivex.com/wp-content/plugins/buddypress/bp-core.php on line 929

    Warning: Cannot modify header information – headers already sent by (output started at /home/aristech/public_html/Verivex.com/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php:370) in /home/aristech/public_html/Verivex.com/wp-includes/pluggable.php on line 856

    Any and all help will be greatly appreciated. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

  • Jeff Sayre
    Participant

    @jeffsayre

    Sean-

    First things first:

    Warning: Cannot modify header information – headers already sent by (output started at /home/aristech/public_html/Verivex.com/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php:370) in …

    The “Cannot modify header” error almost always indicates that there is some extra stuff (whitespace, extra text) before the opening php or closing php tag. It could be in one or both places. There must not be anything before or after the opening and closing PHP tags–not a single space, not any extra characters, not a single carriage return.

    Did you open up bp-core-avatars.php? If so, you may have inadvertently added this error to the file.

    Did you install BuddyPress yourself?

    Open up bp-core-avatars.php and look for the whitespace or extra stuff. It should be removed and the file saved.

    Report back on what you found and if that helps.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    If I try to navigate directly to “www.verivex.com/wp-content/blogs.dir/1/files/avatars/1/0528091906a.jpg” it says the file doesn’t exist. That’s going to be your first problem. If the file doesn’t get uploaded, it doesn’t exist, and the rest of the functions will fail in order just like you see there as a result.

    Can you upload user avatars? Is it just this group, or any group?


    Jeff Sayre
    Participant

    @jeffsayre

    John is correct. If the avatar file fails to upload, you will have additional problems. The uploading could very well be caused by the issue I referenced above. Fix that, and the upload process may function properly and the other errors go away.

    Of course, this is not guaranteed. Let’s just look into this possibility first and see what happens.

    Here’s more information of the “Cannot modify header” error: https://codex.wordpress.org/Answers-Troubleshooting#Headers_already_sent

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Group ImageUpload Problem’ is closed to new replies.
Skip to toolbar