• Hi!
    Still getting a ‘500’ error.
    I’m setting the plugins path thus:

    define('WP_PLUGIN_DIR',$_SERVER['DOCUMENT_ROOT'].'/wp-content/plugins');
    define('WP_PLUGIN_URL','https://'.$_SERVER['SERVER_NAME'].'/wp-content/plugins');
    

    I have a WordPress installation at:

    http://www.example.com/

    and others at:

    http://www.example.com/second/
    http://www.example.com/third/
    etc.

    To save disk space (I’m limited by the web host), I have a common path for the plugins at:

    http://www.example.com/wp-content/plugins/

    Also, the Freemius css seems to be broken (throwing a ‘404’; it is also is trying to find the file in the wrong place):

    https://www.domain.com/second/wp-content/home/user/public_html/www.domain.com/wp-content/plugins/magic-post-thumbnail/freemius/assets/css/admin/common.css?ver=4.9.8

    This is copied directly from the DOM inspector/console debugger in Firefox (with domain.com changed).

    This is an absolute server directory path plus the correct path and should be only a public-facing directory path (note the ‘/home/user/public_html/www.domain.com/’ part).
    Even on a standard WordPress installation, that path should be:

    https://www.domain.com/wp-content/plugins/magic-post-thumbnail/freemius/assets/css/admin/common.css?ver=4.9.8

    I haven’t noticed this issue with other Freemius-enabed plugins.

    Thanks for your continued efforts!
    -Brian

Viewing 1 replies (of 1 total)
  • Plugin Author Alexandre Gaboriau

    (@mcurly)

    Hi,
    ok I see,

    I have changed the way to include wp-load.php but I guess your WP install http://www.example.com/second/ try to access the wp-load.php on the first install http://www.example.com/, that’s maybe why there is a 500 error.
    I don’t see an easy way to tell to an external script (generate.php) to access to the right wp-load.php but I will replicate your setup and try to find a solution.

    About freemius, this is weird. I don’t see this error and I have followed the official way to integrate the script. I will try to check that also.

Viewing 1 replies (of 1 total)
  • The topic ‘Still not working!’ is closed to new replies.