• Hey UM Team,

    Thanks for a great plugin, I love working with it.

    Running into an issue with the latest version 2.5.1 of UM Core and I’ll try and give you as much info as I can. Site is a MULTISITE. Issue occurs on all subsites and not the main site. WordPress is at version 6.1.

    Here are the errors:

    Warning: file_exists(): open_basedir restriction in effect. File(/home/storm/ultimatemember/) is not within the allowed path(s): (/home/storm/sites/dev-cso-group/:/home/storm/tmp/dev-cso-group:/tmp) in /home/storm/sites/dev-cso-group/public/wp-content/plugins/ultimate-member/includes/core/class-files.php on line 700
    
    Warning: file_exists(): open_basedir restriction in effect. File(/home/storm/ultimatemember/temp/) is not within the allowed path(s): (/home/storm/sites/dev-cso-group/:/home/storm/tmp/dev-cso-group:/tmp) in /home/storm/sites/dev-cso-group/public/wp-content/plugins/ultimate-member/includes/core/class-files.php on line 706
    
    Warning: file_exists(): open_basedir restriction in effect. File(/home/storm/ultimatemember/languages/plugins/) is not within the allowed path(s): (/home/storm/sites/dev-cso-group/:/home/storm/tmp/dev-cso-group:/tmp) in /home/storm/sites/dev-cso-group/public/wp-content/plugins/ultimate-member/includes/admin/core/class-admin-notices.php on line 252
    

    I have used the um_upload_basedir_filter filter to print_r the $basedir variable that it gets passed and it is being generated correctly:

    /home/storm/sites/dev-cso-group/public/wp-content/uploads/sites/3/ultimatemember/'

    But then it seems to be getting changed to:

    /home/storm/ultimatemember

    Some things I’ve tried to resolve it:

    Launched a ticket with our hosting company
    Tried running PHP 7.4 and 8.0
    Tried Network activate and also subsite activate.

    The issue is breaking the media library on subsites.

    IMPORTANT: The issue doesn’t occur on another multisite running UM 2.4.1 which is on an identical server config and sitting on WP version 5.9.3

    Hopefully you can help identify the issue.

    Thanks,
    Hayhow

    • This topic was modified 3 years, 6 months ago by hayhow.
    • This topic was modified 3 years, 6 months ago by hayhow.
    • This topic was modified 3 years, 6 months ago by hayhow.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter hayhow

    (@hayhow)

    Hi,

    Can you take a look at this please ?

    Thanks.

    Plugin Support andrewshu

    (@andrewshu)

    Hello @hayhow

    Have you this issue with new versions of UM and WP?

    Thank you.

    Plugin Support andrewshu

    (@andrewshu)

    Hi @hayhow

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. 🙂

    Regards

    Thread Starter hayhow

    (@hayhow)

    Hi Andrewshu,

    I’ve just upgraded to WP 6.1.1 and UM 2.5.4 and I’m still getting the same errors.

    Thanks,

    Hayhow

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

The topic ‘PHP open_basedir path errors’ is closed to new replies.