Viewing 4 replies - 1 through 4 (of 4 total)
  • 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

    Plugin Author wlindley

    (@wlindley)

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

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

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

    Thanks

    Plugin Author wlindley

    (@wlindley)

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No readme file!’ is closed to new replies.