subscribe.php broken when wp-content is moved
-
Dir structure:
/www/index.php
/www/wp (wordpress)
/www/wp-content (plugins, themes, uploads etc)Config:
$docroot = $_SERVER['DOCUMENT_ROOT']; $hostname = $_SERVER['SERVER_NAME']; define('WP_SITEURL', 'https://'.$hostname.'/wp'); define('WP_HOME', 'https://'.$hostname); define('WP_CONTENT_DIR', $docroot.'/wp-content'); define('WP_CONTENT_URL', 'https://'.$hostname.'/wp-content');
Error:
Warning: require_once(../../../../wp-load.php): failed to open stream: No such file or directory in /Users/james/Work/Projects/Kathy's Creative Flowers/WebsiteTest/www/wp-content/plugins/newsletter/do/subscribe.php on line 16
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘subscribe.php broken when wp-content is moved’ is closed to new replies.