• Hi All,

    When I upload a GPX map ( /wp-admin/options-general.php?page=WP-GPX-Maps ) , I have the following error :

    Not Found

    The requested URL /wp-admin/options-general.php was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Does anyone know how to fix it ?

    Jean-Luc

    • This topic was modified 6 years, 11 months ago by jlvdab.
    • This topic was modified 6 years, 11 months ago by jlvdab.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,
    I am having the same issue – by any chance is your wordpress instance under a directory rather than at / on your website ? (eg. mine is at ADDRESS/words ).

    I think it is related to the Javascript form submit method used for the file upload. That form does not have a target address and it seems the browser is not redirecting properly as a result.

    Thread Starter jlvdab

    (@jlvdab)

    Hi,

    Thanks for your input, you are exact, my wordpress instance is on address/journal.
    It was working well before, you noticed a change ?

    Regards,

    This is definitely the problem, this is the code

    action=”/wp-admin/options-general.php?page=WP-GPX-Maps”>

    Unfortunately the GitHub version of the code does not appear to be the same as the latest version on the WP site. As soon as I can locate the correct version I will send a fix to the authors.

    I fixed the error locally (version 1.5.05):

    1. Open wp-gpx-maps_admin_tracks.php
    2. Search for the string action=. There should be two instances (lines #32 and #58)
    3. Replace /wp-admin/options-general.php?page=WP-GPX-Maps with /FOLDER_NAME/wp-admin/options-general.php?page=WP-GPX-Maps
    4. FOLDER_NAME is where you have installed WordPress (e.g., wordpress)
    5. Save and close the file
    • This reply was modified 6 years, 8 months ago by Gowtham.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unable to upload GPX map’ is closed to new replies.