Title: open_basedir restriction Error
Last modified: December 27, 2023

---

# open_basedir restriction Error

 *  [Vulcain](https://wordpress.org/support/users/guaranis/)
 * (@guaranis)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/open_basedir-restriction-error-3/)
 * Warning: file_exists(): open_basedir restriction in effect. File(/style.css) 
   is not within the allowed path(s): (/tmp:/home/mysite.com/) in /home/mysite.com/
   public_html/wp-content/plugins/amazon-auto-links/include/core/_common/utility/
   AmazonAutoLinks_Utility_FileSystem.php on line 25
 * Even if I remove the open base dir restriction I have a conflict with the mainwp
   install plugin. I just have to disable the plugin in all my sites to be able 
   to use mainwp.

Viewing 1 replies (of 1 total)

 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/open_basedir-restriction-error-3/#post-17305008)
 * Hi,
 * I’m not familiar with mainwp. 
   Sounds like the template options are broken. Perhaps,
   when you moved/cloned a site, the plugin options were not completely copied.
 * Try re-activating plugin templates via Dashboard -> Auto Amazon Links -> Templates.
   Do this for all the activated templates. After that, the plugin template options
   should be updated and the broken values will be fixed so that such a PHP warning
   should be gone.

Viewing 1 replies (of 1 total)

The topic ‘open_basedir restriction Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-auto-links_eeeeee.svg)
 * [Auto Amazon Links - Amazon Associates Affiliate Plugin](https://wordpress.org/plugins/amazon-auto-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-auto-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-auto-links/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-auto-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-auto-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-auto-links/reviews/)

## Tags

 * [amazon](https://wordpress.org/support/topic-tag/amazon/)
 * [amazon affiliates](https://wordpress.org/support/topic-tag/amazon-affiliates/)
 * [amazon associates](https://wordpress.org/support/topic-tag/amazon-associates/)
 * [open_basedir](https://wordpress.org/support/topic-tag/open_basedir/)

 * 1 reply
 * 2 participants
 * Last reply from: [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/open_basedir-restriction-error-3/#post-17305008)
 * Status: not resolved