• Hello,
    First, i want to thank you for this amazing plugin.
    I have just finished my website in localhost. However, Geo Mashup doesn’t work anymore with my online version.

    I use custum_field “geo_adress” which take the user adress (in usermeta table) in order to put the user on the map.
    With my online version, the “geo_adress” field is completed in usermeta table but “wp_geo_mashup_locations” and “wp_geo_mashup_location_relationships” tables stay empties.

    Do you know where could the problem come from ?

    Thank you very much for your futur answer.

    https://wordpress.org/plugins/geo-mashup/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Dylan Kuhn

    (@cyberhobo)

    Geo Mashup only geocodes the field when it is saved. Bulk geocoding of existing fields has been requested but not yet implemented:

    https://code.google.com/p/wordpress-geo-mashup/issues/detail?id=597

    Thread Starter bertrand-spartiad

    (@bertrand-spartiad)

    Thank you for your anwser. I have worked on this issue for 2 days, I am progressing. I know where does issue come from: on geo-mashup-db.php, this doesn’t work.

    $results = $google_geocoder->geocode( $query );
    $results = $nominatim_geocoder->geocode( $query );
    $results = $geonames_geocoder->geocode( $query );

    I am testing on three website version: two online and one local.
    On local version, there is no problem.
    One of online versions works with OpenLayer
    The last one, nothing works:
    I catch errors for all geocoder solutions: (the map in using is OpenLayer)
    google_geocoder
    WP_Error Object ( [errors:WP_Error:private] => Array ( [geocoder_request_failed] => Array ( [0] => The geocoding request failed with status 200. ) ) [error_data:WP_Error:private] => Array ( [geocoder_request_failed] => stdClass Object ( [error_message] => You have exceeded your daily request quota for this API. [results] => Array ( ) [status] => OVER_QUERY_LIMIT ) ) )
    nominatim_geocoder
    WP_Error Object ( [errors:WP_Error:private] => Array ( [http_request_failed] => Array ( [0] => connect() timed out! ) ) [error_data:WP_Error:private] => Array ( ) )
    geonames_geocoder
    Array ( )

    Do you know why I have this error? Could you explain me. Thank you very much.

    Thread Starter bertrand-spartiad

    (@bertrand-spartiad)

    Edit: It seems, with OpenLayers, the problem comes from:
    $response = $this->http->get( $geocode_url, $this->request_params ); (412), file: geo-mashup-geocoder

    Var_dump of response:
    object(WP_Error)#2308 (2) {
    [“errors”:”WP_Error”:private]=>
    array(1) {
    [“http_request_failed”]=>
    array(1) {
    [0]=>
    string(20) “connect() timed out!”
    }
    }
    [“error_data”:”WP_Error”:private]=>
    array(0) {
    }
    }
    Thank you.

    Plugin Author Dylan Kuhn

    (@cyberhobo)

    It looks like you might have connectivity issues with the nominatim server, or possibly could be blocked. Make sure to comply with their usage policy:

    http://wiki.openstreetmap.org/wiki/Nominatim_usage_policy

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Geo mashup problem local -> online’ is closed to new replies.