Title: Problem with basedir
Last modified: February 12, 2025

---

# Problem with basedir

 *  [dezmondzz](https://wordpress.org/support/users/dezmondzz/)
 * (@dezmondzz)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/problem-with-basedir/)
 * Hi,
   when I created staging I have problem with:
 * Warning: file_exists(): open_basedir restriction in effect. File(/home/platne/[
   serwer_name]/public_html/**[oryginal**_domain_name]/wp-content/plugins/woocommerce/
   patterns/content-right-image-left.php) is not within the allowed path(s): (/home/
   platne/[serwer_name]/public_html/**[staging_domain_name]**/WPvivid/:/home/platne/[
   serwer_name]/tmp/:/home/virtuals/**[staging_domain_name]**/:/usr/local/php56-
   fpm/lib/php/:/tmp:/home/tmp:/var/lib/php5) in /home/platne/[serwer_name]/public_html/**[
   staging_domain_name]**/WPvivid/wp-content/plugins/woocommerce/src/Blocks/Patterns/
   PatternRegistry.php on line 155
 * how to fix it?
 * I have problem with:
    - banner.php
    - coming-soon-entire-site.php
    - coming-soon-store-only.php)
    - coming-soon.php
 * and other in catalog wp-content/plugins/woocommerce/patterns/

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

 *  Plugin Support [tonyrobins](https://wordpress.org/support/users/tonyrobins/)
 * (@tonyrobins)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/problem-with-basedir/#post-18302058)
 * Hello [@dezmondzz](https://wordpress.org/support/users/dezmondzz/)
 * We are going to look into the issue and get back to you as soon as we can.
 * In the meantime, would you send us a debug zip from the Debug tab of the plugin
   to help identify the issue?
 * All the best,
 *  Plugin Support [tonyrobins](https://wordpress.org/support/users/tonyrobins/)
 * (@tonyrobins)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/problem-with-basedir/#post-18303607)
 * Hello [@dezmondzz](https://wordpress.org/support/users/dezmondzz/)
 * The error ‘file_exists(): open_basedir restriction in effect’ suggests that PHP
   open_basedir function is enabled on the site server. The function can limit the
   scope of website directories that can be accessed.
 * You can try to disable the function and see if that helps.
 * All the best,
 *  Thread Starter [dezmondzz](https://wordpress.org/support/users/dezmondzz/)
 * (@dezmondzz)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/problem-with-basedir/#post-18307782)
 * Could I copy manual some files in others catalogs?
   Because I read about basedir,
   and this function is very important for safety my website.
 * I do not change anything in my website, befeore this coumnicat. I used youe tools
   a lot of time before this.
 *  Plugin Support [tonyrobins](https://wordpress.org/support/users/tonyrobins/)
 * (@tonyrobins)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/problem-with-basedir/#post-18307971)
 * Hello [@dezmondzz](https://wordpress.org/support/users/dezmondzz/)
 * Manually copying should be fine.
 * In our experience, the error usually appears when installing a staging site to
   a subdomin. So are you using the pro version of the plugin? If so, would you 
   [submit a ticket](https://wpvivid.com/submit-ticket) to us because we are not
   permitted to support for premium version in the forum.
 * All the best,

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

The topic ‘Problem with basedir’ is closed to new replies.

 * ![](https://ps.w.org/wpvivid-backuprestore/assets/icon-256x256.png?rev=2899202)
 * [WPvivid — Backup, Migration & Staging](https://wordpress.org/plugins/wpvivid-backuprestore/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpvivid-backuprestore/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpvivid-backuprestore/)
 * [Active Topics](https://wordpress.org/support/plugin/wpvivid-backuprestore/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpvivid-backuprestore/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpvivid-backuprestore/reviews/)

## Tags

 * [basedir](https://wordpress.org/support/topic-tag/basedir/)

 * 4 replies
 * 2 participants
 * Last reply from: [tonyrobins](https://wordpress.org/support/users/tonyrobins/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/problem-with-basedir/#post-18307971)
 * Status: not resolved