WordPress.org

Ready to get started?Download WordPress

Forums

Buddypress Xprofile Custom Fields Type
mkdir error when registering (3 posts)

  1. rich.or.richard
    Member
    Posted 1 year ago #

    I'm facing an issue here where, when users make an attempt to register for the site it's throwing an error back:

    Warning: mkdir() [function.mkdir]: No such file or directory in /path/wp-content/plugins/buddypress-xprofile-custom-fields-type/bp-xprofile-custom-fields-type.php on line 1072
    
    Warning: copy(/path/wp-content/uploads/profiles/14/grizzly-icon-3514.png) [function.copy]: failed to open stream: No such file or directory in /path/wp-content/plugins/buddypress-xprofile-custom-fields-type/bp-xprofile-custom-fields-type.php on line 1074

    I've tried the usual gammut of checking the plugins etc, but to no avail. Help? It just seems to have trouble writing to the directory, which is weird since the permissions are totally fine.

    It's only happening when I try to use the xprofile image field. The weirdest thing is that it was working totally fine in my local environment - is there something I need to change about my server to fix this?

    I'm hosted on Mediatemple if that makes any difference.

    http://wordpress.org/extend/plugins/buddypress-xprofile-custom-fields-type/

  2. donmik
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    If you have 777 permissions on uploads directory and inside uploads profiles directory needs to be with 777, it should work. The problem ocurrs when the plugin try to create the directory of the user.

    The images are stored in this directory:

    'wp-content/uploads/profiles/USERID'

    Your problem is when I try to create the directory "USERID".

    Is this error happening in edit form profile too?

  3. rich.or.richard
    Member
    Posted 1 year ago #

    You are correct - it isn't able to create the USERID folder. I can't count on a 777 permission as the solution to this problem - it's too unsecure. As for whether or not the profile update works - that does work. No problem there. I don't understand! GAH!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic