Support » Plugin: Bug Library » Remove all filters link causes error.

  • Resolved kingsunwukong

    (@kingsunwukong)


    The error is:

    Not Found
    
    The requested URL /myapp-bug-reports was not found on this server.
    
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    The url is http://www.mysite.com/myapp-bug-reports, but as my wordpress is running from a subdirectory at http://www.mysite.com/myapp/myapp-bug-reports it seems it can’t find it.

    https://wordpress.org/plugins/bug-library/

Viewing 1 replies (of 1 total)
  • The following edit in bug-library.php fixed the problem. Changing the hard coded forward slash to the home_url() function. This problem arose because my WP is installed in a subdirectory rather than in /public_html.

    Find line with search string ‘Remove all filters’.

    [Original]
    $output .= "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='/" . $parentslug . "'>Remove all filters</a>";

    [After Change]
    $output .= "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='" . home_url() . "/" . $parentslug . "'>Remove all filters</a>";

Viewing 1 replies (of 1 total)
  • The topic ‘Remove all filters link causes error.’ is closed to new replies.