Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Matt
    Participant

    @mattmct

    *bump* Anyone? :)


    Matt
    Participant

    @mattmct

    Yeah I am lol. Plesk.

    It does sound like it yeah, very strange though as I’ve never had any problems with my other sites.

    Going to give this a try: http://www.bigsoft.co.uk/blog/index.php/2007/12/30/fixing-php-s-require-open_basedir-restri


    Matt
    Participant

    @mattmct

    Iv’e just looked through my error log files, which show:

    [Fri Mar 25 16:54:37 2011] [error] [client 86.129.189.123] PHP Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/group-avatars/11) is not within the allowed path(s): (/var/www/vhosts/paintballpimp.co.uk/httpdocs:/tmp) in /var/www/vhosts/paintballpimp.co.uk/httpdocs/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 150
    [Fri Mar 25 16:54:37 2011] [error] [client 86.129.189.123] PHP Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/avatars/23) is not within the allowed path(s): (/var/www/vhosts/paintballpimp.co.uk/httpdocs:/tmp) in /var/www/vhosts/paintballpimp.co.uk/httpdocs/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 150
    [Fri Mar 25 16:54:37 2011] [error] [client 86.129.189.123] PHP Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/avatars/27) is not within the allowed path(s): (/var/www/vhosts/paintballpimp.co.uk/httpdocs:/tmp) in /var/www/vhosts/paintballpimp.co.uk/httpdocs/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 150
    [Fri Mar 25 16:54:37 2011] [error] [client 86.129.189.123] PHP Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/avatars/3) is not within the allowed path(s): (/var/www/vhosts/paintballpimp.co.uk/httpdocs:/tmp) in /var/www/vhosts/paintballpimp.co.uk/httpdocs/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 150

    Pretty sure this is the problem, I just don’t know what it means.


    Matt
    Participant

    @mattmct

    Thanks for the replies guys.

    It’s my own dedicated server, and I run 10+ wordpress sites from it, so I’m sure it’s not a problem with the GD library (images a generated no problem). I also checked to make sure that php safe mode wasn’t enabled.

    All current avatars fail to show, indicating that buddypress is looking in the wrong location (they have been uploaded). It fails at the upload, not the generation stage.

    I’m sure it’s something to do with the transfer, as I’m sure buddypress would run fine on my server from a standard installation.

    My new DOCUMENT_ROOT is /var/www/vhosts/paintballpimp.co.uk/httpdocs .. which is different from the other server, and I suspect this might be causing the problem. This value must be stored somewhere in the database or settings?

    Thanks again guys


    Matt
    Participant

    @mattmct

    *bump*


    Matt
    Participant

    @mattmct

    *bump*

    Anyone have any ideas?

    Thanks!


    Matt
    Participant

    @mattmct

    Fix / found it.

    The index.php files I needed to change was located in.

    /wp-content/plugins/buddypress/bp-themes/bp-default/activity/

    Thanks for the help!


    Matt
    Participant

    @mattmct

    Thanks for the reply, I must be doing something wrong as I can’t seem to get it working, or even pick up any of my changes.

    The admin area says, Unplugged uses templates from BuddyPress Default..

    I assume I need to edit index.php in /wp-content/plugins/buddypress/bp-themes/bp-default/ ?

    Any tips?

    Many thanks!


    Matt
    Participant

    @mattmct

    Cheers for the replies guys, I think the conditional statements option would work well.

    Thanks for the example as well!

    Edit: Ah, what file do I edit? Index.php or my theme?


    Matt
    Participant

    @mattmct

    Hey Rich,

    This sounds promising, thanks a lot for your reply. If we can use this to limit access to group members / non-group members it should work well.

    Could you expand / give me an example of how this might be done?

    Thanks a lot for your help rich! @ etiviti!

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