• Resolved jameslnewell

    (@jameslnewell)


    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', 		'http://'.$hostname.'/wp');
    define('WP_HOME',    		'http://'.$hostname);
    
    define('WP_CONTENT_DIR', 	$docroot.'/wp-content');
    define('WP_CONTENT_URL', 	'http://'.$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

    https://wordpress.org/plugins/newsletter/

Viewing 1 replies (of 1 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    Yes this blog setup is actually not supported. When the link migration has been completed this problem should be solved.

    Stefano.

Viewing 1 replies (of 1 total)
  • The topic ‘subscribe.php broken when wp-content is moved’ is closed to new replies.