• I created a new domain and installed wordpress in that. Then added a theme and activated it, immediatly its stopped working with following errors. I am new to wordpress/php so don’t know how to resolve this.

    here is the output,

    PHP Warning: file_exists(): open_basedir restriction in effect. File(D:\INETPUB\VHOSTS\xxx\yyy.com\wordpress/wp-content/themes/D:\INETPUB\VHOSTS\xxx.com\yyy.com\wordpress/wp-content/themes/mynd/style.css/style.css) is not within the allowed path(s): (D:/INETPUB/VHOSTS/insessor.com\;C:\Windows\Temp\) in D:\INETPUB\VHOSTS\xxx.com\yyyy.com\wordpress\wp-includes\class-wp-theme.php on line 240
    PHP Warning: file_exists(): open_basedir restriction in effect. File(D:\INETPUB\VHOSTS\xxx.com\yyy.com\wordpress/wp-content/themes/D:\INETPUB\VHOSTS\xxx.com\yyy.com\wordpress/wp-content/themes/mynd/style.css) is not within the allowed path(s): (D:/INETPUB/VHOSTS/xxx.com\;C:\Windows\Temp\) in D:\INETPUB\VHOSTS\xxx.com\yyy.com\wordpress\wp-includes\class-wp-theme.php on line 242

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    Access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the /mynd/ directory to something else, like /mynd-broken/

    This will force the default theme to activate so you can use your site again.

    Where did you purchase this theme?

Viewing 1 replies (of 1 total)
  • The topic ‘After adding a theme and activate the theme, wordpress stopped working’ is closed to new replies.