Title: Error when activating theme
Last modified: August 22, 2016

---

# Error when activating theme

 *  [Swyncro](https://wordpress.org/support/users/swyncro/)
 * (@swyncro)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-when-activating-theme/)
 * It gives me this errors when I try to activate the theme.
 * > Warning: file_exists() [function.file-exists]: open_basedir restriction in 
   > effect. File(C:\inetpub\vhosts\conexus.pt\httpdocs\farmaciaferreira/wp-content/
   > themes/C:\inetpub\vhosts\conexus.pt\httpdocs\farmaciaferreira/wp-content/themes/
   > discover/style.css/style.css) is not within the allowed path(s): (C:/inetpub/
   > vhosts/conexus.pt\;C:\Windows\Temp\) in C:\inetpub\vhosts\conexus.pt\httpdocs\
   > farmaciaferreira\wp-includes\class-wp-theme.php on line 217
   > Warning: file_exists() [function.file-exists]: open_basedir restriction in 
   > effect. File(C:\inetpub\vhosts\conexus.pt\httpdocs\farmaciaferreira/wp-content/
   > themes/C:\inetpub\vhosts\conexus.pt\httpdocs\farmaciaferreira/wp-content/themes/
   > discover/style.css) is not within the allowed path(s): (C:/inetpub/vhosts/conexus.
   > pt\;C:\Windows\Temp\) in C:\inetpub\vhosts\conexus.pt\httpdocs\farmaciaferreira\
   > wp-includes\class-wp-theme.php on line 219

The topic ‘Error when activating theme’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/discover/1.7.33/screenshot.png)
 * discover
 * [Support Threads](https://wordpress.org/support/theme/discover/)
 * [Active Topics](https://wordpress.org/support/theme/discover/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/discover/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/discover/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Swyncro](https://wordpress.org/support/users/swyncro/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/error-when-activating-theme/)
 * Status: not resolved