WordPress.org

Ready to get started?Download WordPress

Forums

  1. Big_Birtha
    Member
    Posted 1 year ago #

    Hi, I installed the plugin and want to start using it, but the link to the readme file just returns the sorry nothing found page, which means I'm a bit in the dark!

    Thanks

    http://wordpress.org/extend/plugins/autonav/

  2. Big_Birtha
    Member
    Posted 1 year ago #

    Found the readme file by checking the file manager at my host. It was here: webroot / wp-content / plugins / autonav / readme.txt

    If that helps anyone. Probably would be helpful if the settings page link linked to it, though. Thanks

  3. wlindley
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, that is where the "Readme file for this version" in the settings screen should link. What link do you get instead?

  4. Big_Birtha
    Member
    Posted 1 year ago #

    Hi William, thanks for getting back to me - my link is directing here:

    http://bigbirthas.co.uk/plugins/autonav/readme.txt

    Thanks

  5. wlindley
    Member
    Plugin Author

    Posted 1 year ago #

    Curious. Is that on Linux or Windows hosting?

    The code tests correct on Linux. Specifically in autonav-wl-options.php there are the two lines:

    $realpath = realpath(__DIR__."/readme.txt");
      $path = 'http://' . $_SERVER['HTTP_HOST'] . substr($realpath, strlen($_SERVER['DOCUMENT_ROOT']));

    which should take the local (from the server's perspective) path of the readme.txt file in wp-content/plugins/autonav and then remove the prefix part of that local path which coincide with the webserver's document root. That might break on Windows if your document root were on drive C: but the plugin was on drive D: ... or something else equally bizarre.

    Perhaps you could find those two lines, and in the WordPress editor, temporarily insert between them the line:

    print "ROOT: " . $_SERVER['DOCUMENT_ROOT'] . " -- README: " . $realpath . "<br>\n";

    save the file, and report back please with what that prints.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic