Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 16 replies - 1 through 16 (of 16 total)
  • @okso

    Participant

    hi, thanks for response. Here’s my path, unedited from original instal under 1.5.6 and yes I’, on wp3.4 /var/www/vhosts/domain.com/httpdocs/bb-config.php
    I was looking at it last night thinking user root isn’t right, so went in and looked at bb-config.php and sure enough the config was from old MAMP local instal, its now on staging server. Once I’d put in the correct database credentials the ‘cannot connect error’ was fixed.

    *I’m now a bit perplexed as to how it worked before the 1.6 update. Its been up and running on server for a month with old MAMP creds on bp1.5.6

    @okso

    Participant

    bp 1.2.4 alleluia, well done, thank you.

    @okso

    Participant

    When I set the upload path to wp-content/blogs.dir/1/files I can get avatars working but it breaks my old media lib at wp-content/uploads. Is there a fix for this issue? Can I move the old uploads dir into to wp-content/blogs.dir/1/files and with the upload path to wp-content/blogs.dir/1/files get the media to link? Thanks.

    @okso

    Participant

    hi all, I’ve read and re read every post and applied all fixes and I still I can’t get the return url right eg. http://roomontheedge.com/uploads/group-avatars/3/avatar15016.jpg somewhere wp-content is missing from the url thats set up to do the cropping stage. Any help really appreciated. d

    @okso

    Participant

    I’ve just done a brand new installation and got this with the fix to core-avitars.php

    if ( !$path = get_option( ‘upload_path’ ) )

    $path = WP_CONTENT_DIR . ‘/uploads’;

    else

    $path = ABSPATH . $path;

    and removing the upload path and substituting with full upload url

    I’ve set up a main site and a subdomain. Both standard media library uploads work OK. But when I enable BiddyPress and try to create an avatar I get…

    Blog 1

    Upload Failed! Error was: Unable to create directory /var/www/vhosts/powerofthefeminine.com/httpdocs//group-avatars/1. Is its parent directory writable by the server?

    http://powerofthefeminine.com/files/2010/04/okso_big-150×150.jpg

    Blog 2

    Upload Failed! Error was: Unable to create directory /var/www/vhosts/powerofthefeminine.com/httpdocs//group-avatars/2. Is its parent directory writable by the server?

    http://members.powerofthefeminine.com/files/2010/04/okso_big-150×150.jpg

    with upload path set to wp-content/uploads and leaving the full url in place I get a perfect upload but a bad return path with wp-content missing from url…

    Blog 1

    http://powerofthefeminine.com/uploads/group-avatars/1/avatar.jpg

    Blog 2

    http://powerofthefeminine.com/uploads/group-avatars/2/avatar.jpg

    @okso

    Participant

    I’ve just done a brand new installation and got this with the fix to core-avitars.php

    if ( !$path = get_option( ‘upload_path’ ) )

    $path = WP_CONTENT_DIR . ‘/uploads’;

    else

    $path = ABSPATH . $path;

    and removing the upload path and substituting with full upload url

    I’ve set up a main site and a subdomain. Both standard media library uploads work OK. But when I enable BiddyPress and try to create an avatar I get…

    Blog 1

    Upload Failed! Error was: Unable to create directory /var/www/vhosts/powerofthefeminine.com/httpdocs//group-avatars/1. Is its parent directory writable by the server?

    http://powerofthefeminine.com/files/2010/04/okso_big-150×150.jpg

    Blog 2

    Upload Failed! Error was: Unable to create directory /var/www/vhosts/powerofthefeminine.com/httpdocs//group-avatars/2. Is its parent directory writable by the server?

    http://members.powerofthefeminine.com/files/2010/04/okso_big-150×150.jpg

    with upload path set to wp-content/uploads and leaving the full url in place I get a perfect upload but a bad return path with wp-content missing from url…

    Blog 1

    http://powerofthefeminine.com/uploads/group-avatars/1/avatar.jpg

    Blog 2

    http://powerofthefeminine.com/uploads/group-avatars/2/avatar.jpg

    @okso

    Participant

    I’ve just done a brand new installation and got this with the fix to core-avitars.php

    if ( !$path = get_option( ‘upload_path’ ) )

    $path = WP_CONTENT_DIR . ‘/uploads’;

    else

    $path = ABSPATH . $path;

    and removing the upload path and substituting with full upload url

    I’ve set up a main site and a subdomain. Both standard media library uploads work OK. But when I enable BiddyPress and try to create an avatar I get…

    Blog 1

    Upload Failed! Error was: Unable to create directory /var/www/vhosts/powerofthefeminine.com/httpdocs//group-avatars/1. Is its parent directory writable by the server?

    http://powerofthefeminine.com/files/2010/04/okso_big-150×150.jpg

    Blog 2

    Upload Failed! Error was: Unable to create directory /var/www/vhosts/powerofthefeminine.com/httpdocs//group-avatars/2. Is its parent directory writable by the server?

    http://members.powerofthefeminine.com/files/2010/04/okso_big-150×150.jpg

    with upload path set to wp-content/uploads and leaving the full url in place I get a perfect upload but a bad return path with wp-content missing from url…

    Blog 1

    http://powerofthefeminine.com/uploads/group-avatars/1/avatar.jpg

    Blog 2

    http://powerofthefeminine.com/uploads/group-avatars/2/avatar.jpg

    @okso

    Participant

    I’ve just done a brand new installation and got this with the fix to core-avitars.php

    if ( !$path = get_option( ‘upload_path’ ) )

    $path = WP_CONTENT_DIR . ‘/uploads’;

    else

    $path = ABSPATH . $path;

    and removing the upload path and substituting with full upload url

    I’ve set up a main site and a subdomain. Both standard media library uploads work OK. But when I enable BiddyPress and try to create an avatar I get…

    Blog 1

    Upload Failed! Error was: Unable to create directory /var/www/vhosts/powerofthefeminine.com/httpdocs//group-avatars/1. Is its parent directory writable by the server?

    http://powerofthefeminine.com/files/2010/04/okso_big-150×150.jpg

    Blog 2

    Upload Failed! Error was: Unable to create directory /var/www/vhosts/powerofthefeminine.com/httpdocs//group-avatars/2. Is its parent directory writable by the server?

    http://members.powerofthefeminine.com/files/2010/04/okso_big-150×150.jpg

    with upload path set to wp-content/uploads and leaving the full url in place I get a perfect upload but a bad return path with wp-content missing from url…

    Blog 1

    http://powerofthefeminine.com/uploads/group-avatars/1/avatar.jpg

    Blog 2

    http://powerofthefeminine.com/uploads/group-avatars/2/avatar.jpg

    @okso

    Participant

    I have read through every post on this subject and followed all of the advise implicitly but have an url error I just can’t rectify. My upload process works correctly placing an image in dir wp-content/uploads/group-avatars/3/file name.jpg but when it reloads to crop the thumb it returns a bad url with the wp-content/ missing eg

    http://domain.tld/uploads/group-avatars/3/okso_big2.jpg

    If I remove file upload path from options.php and set the full url I get this returned on attempting an upload wp-content/uploads missing and it breaks the path to the standard wp media library

    Upload Failed! Error was: Unable to create directory domain.tld/httpdocs//group-avatars/3. Is its parent directory writable by the server?

    Can anyone please tel me where the path is set in the core files to wp-content/ added to the return url

    @okso

    Participant

    I have read through every post on this subject and followed all of the advise implicitly but have an url error I just can’t rectify. My upload process works correctly placing an image in dir wp-content/uploads/group-avatars/3/file name.jpg but when it reloads to crop the thumb it returns a bad url with the wp-content/ missing eg

    http://domain.tld/uploads/group-avatars/3/okso_big2.jpg

    If I remove file upload path from options.php and set the full url I get this returned on attempting an upload wp-content/uploads missing and it breaks the path to the standard wp media library

    Upload Failed! Error was: Unable to create directory domain.tld/httpdocs//group-avatars/3. Is its parent directory writable by the server?

    Can anyone please tel me where the path is set in the core files to wp-content/ added to the return url

    @okso

    Participant

    I have read through every post on this subject and followed all of the advise implicitly but have an url error I just can’t rectify. My upload process works correctly placing an image in dir wp-content/uploads/group-avatars/3/file name.jpg but when it reloads to crop the thumb it returns a bad url with the wp-content/ missing eg

    http://domain.tld/uploads/group-avatars/3/okso_big2.jpg

    If I remove file upload path from options.php and set the full url I get this returned on attempting an upload wp-content/uploads missing and it breaks the path to the standard wp media library

    Upload Failed! Error was: Unable to create directory domain.tld/httpdocs//group-avatars/3. Is its parent directory writable by the server?

    Can anyone please tel me where the path is set in the core files to wp-content/ added to the return url

    @okso

    Participant

    I have read through every post on this subject and followed all of the advise implicitly but have an url error I just can’t rectify. My upload process works correctly placing an image in dir wp-content/uploads/group-avatars/3/file name.jpg but when it reloads to crop the thumb it returns a bad url with the wp-content/ missing eg

    http://domain.tld/uploads/group-avatars/3/okso_big2.jpg

    If I remove file upload path from options.php and set the full url I get this returned on attempting an upload wp-content/uploads missing and it breaks the path to the standard wp media library

    Upload Failed! Error was: Unable to create directory domain.tld/httpdocs//group-avatars/3. Is its parent directory writable by the server?

    Can anyone please tel me where the path is set in the core files to wp-content/ added to the return url

    @okso

    Participant

    can anyone point me to where I can set the correct config for avatar uploads, I get this error when I try to upload:

    Upload Failed! Error was: Unable to create directory hillguitars.co.uk/httpdocs//group-avatars/3. Is its parent directory writable by the server?

    httpdocs//group-avatars/ the // indicates wp-content/uploads is missing from the url but I can’t see where this is set.

    extra info: wp3 with network site hillguitars.co.uk & students.hillguitars.co.uk

    I’ve added define ( ‘BP_ENABLE_MULTIBLOG’, true ); on wp-config and got buddy press working on network blogs ie.

    http://students.hillguitars.co.uk/activity/

    http://students.hillguitars.co.uk/members/

    http://students.hillguitars.co.uk/groups/

    http://students.hillguitars.co.uk/forums/

    http://students.hillguitars.co.uk/blogs/

    @okso

    Participant

    I hope I’m right in saying the last issue I face, aside the css, is the upload permissions. Apache doesn’t seem to be able to create folders so if I want to upload an avatar or document I get:

    Upload Failed! Error was: Unable to create directory wp-content/uploads/avatars/6. Is its parent directory writable by the server?

    I’ve checked all my folders; buddypress theme pack, uploads etc and all is set to 755. If I set wp content to 777 everything works as it should. I know this should work with 755 though. Any ideas please?

    @okso

    Participant

    apologies ray, I must be asleep! yes, it worked with the correct formatting. d

    @okso

    Participant

    Hi thanks for the quick reply, I followed instructions and as soon as I apply the code in bp-core-avatars.php line 389 I get white screen of death:

    if ( !$path = get_option( ‘upload_path’ ) )


    $path = WP_CONTENT_DIR . ‘/uploads’;
else
$path = ABSPATH . $path;

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