Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Chad Holden
    Participant

    @chadmaifithcom

    WIERD! I took out the file upload URL and media directory and it all started to work. Magically. Now … I’ve been messing with numerous files for the past week as you can see from my activity, but it all came together this morning when I cleared those fields.


    Chad Holden
    Participant

    @chadmaifithcom

    I would have loved if this worked for me as well, but alas, no such luck. I am using non MU wp3 beta 2 and bp 1.2.3.


    Chad Holden
    Participant

    @chadmaifithcom

    Oddly enough, when I go to view my Avatars at their respective URLs, nothing shows and the document returns 0 bytes — HOWEVER when I look using FTP and download the file, it is there and shows properly.

    For instance, if no file was found, this URL would return a 404 error and all I get is a blank page. But the image is there in the directory and the file is 33.2Kb.

    http://utwebdev.utoronto.ca/files/avatars/1/chad-bpfull.jpg

    Crazy huh!?


    Chad Holden
    Participant

    @chadmaifithcom

    Still nada. All changes made to my site in all places. I also had to change this :

    $bp->avatar_admin->image->url = str_replace( “/home/utwebdev/public_html/”, “http://utwebdev.utoronto.ca/”, $bp->avatar_admin->image->dir );

    or the thumbnails didn’t work. But that shouldn’t affect the uploads.


    Chad Holden
    Participant

    @chadmaifithcom

    This still didn’t work for me @Phlux0r. But thanks for the code. I’ve added it to my file anyways.


    Chad Holden
    Participant

    @chadmaifithcom

    @Mike Henderson

    Did you comment out those two lines like I said?


    Chad Holden
    Participant

    @chadmaifithcom

    I’ve tried the installation a few times on WAMP, MAMP and multiple installations on the same server … It should be important to note that THIS site bp.org has the same avatar uploading issues with this new template/release.

    This is my htaccess file, which makes the avatar cropper work, but I still get the upload error after :
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ – [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule . index.php [L]
    # BEGIN WordPress

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress


    Chad Holden
    Participant

    @chadmaifithcom

    OK, so it’s not just me. Try uploading an avatar to THIS SITE. You get the same issues I had! Jesus, hallelujah!


    Chad Holden
    Participant

    @chadmaifithcom

    Unfortunately not. I assume you also commented out the lines ->
    if ( getimagesize( $bp->avatar_admin->original ) > BP_AVATAR_ORIGINAL_MAX_WIDTH )
    $bp->avatar_admin->resized = wp_create_thumbnail( $bp->avatar_admin->original, BP_AVATAR_ORIGINAL_MAX_WIDTH );


    Chad Holden
    Participant

    @chadmaifithcom

    Call to undefined function ms_file_constants() in /home/utwebdev/public_html/wp-includes/ms-files.php on line 14

    I am seeing this in the error logs. Going to look into it.


    Chad Holden
    Participant

    @chadmaifithcom

    ipstenu, it doesn’t seem to matter whether or not I upload square images, I just cant get past that one part where it needs to actually crop and upload the two sizes.


    Chad Holden
    Participant

    @chadmaifithcom

    Mike, do you get the images to display at all in the cropper? I can get to the cropper now then it conks out I hit the crop this image then it says that the image cannot be uploaded.

    This is getting very frustrating!


    Chad Holden
    Participant

    @chadmaifithcom

    I’ve made it so that my assets get put into a folder called files and it has the 777 permissions.

    PHP Version 5.1.6


    Chad Holden
    Participant

    @chadmaifithcom

    Hi ipstenu, I’ve upgraded to the latest nightly, haven’t noticed much difference, and the avatars still don’t work.

    I do have GD library 2.0.28 installed and >>

    array(12) {

    [“GD Version”]=>

    string(27) “bundled (2.0.28 compatible)”

    [“FreeType Support”]=>

    bool(true)

    [“FreeType Linkage”]=>

    string(13) “with freetype”

    [“T1Lib Support”]=>

    bool(false)

    [“GIF Read Support”]=>

    bool(true)

    [“GIF Create Support”]=>

    bool(true)

    [“JPG Support”]=>

    bool(true)

    [“PNG Support”]=>

    bool(true)

    [“WBMP Support”]=>

    bool(true)

    [“XPM Support”]=>

    bool(false)

    [“XBM Support”]=>

    bool(true)

    [“JIS-mapped Japanese Font Support”]=>

    bool(false)

    }

    So that’s not the issue either. It doesn’t look like it’s getting to the actual thumbnail creation.


    Chad Holden
    Participant

    @chadmaifithcom

    That got me one step further, but then i got the RSOD -> There was a problem cropping your avatar, please try uploading it again


    Chad Holden
    Participant

    @chadmaifithcom

    That got me one step further, but then i got the RSOD -> There was a problem cropping your avatar, please try uploading it again


    Chad Holden
    Participant

    @chadmaifithcom

    I am running WP3 B1 with Buddypress 1.2.3, no 1.3 that I’ve seen yet. Works well besides Avatar issues.


    Chad Holden
    Participant

    @chadmaifithcom

    I think I am having the EXACT same issue as ajohnson.

    I upload the avatars just fine. I am not using the network enabled code in WP3 and my avatars are not showing to crop. they begin at the custom directory files/avatars/1 … etc.

    It was a fresh WP3-b1 install

    Fresh Buddypress 1.2.3 install on top of it.


    Chad Holden
    Participant

    @chadmaifithcom

    It seems prudent to post that in WP3, the get_blog_option(BP_ROOT_BLOG, ‘upload_path’) has changed to ‘upload_url_path’ -> this solved a lot of my issues. Fix is needed on line 387 of the bp-core-avatar.php file.

Viewing 19 replies - 1 through 19 (of 19 total)
Skip to toolbar