+ Reply to Thread
Results 1 to 5 of 5

Thread: Flynax Geodecode/Zip-Webservice trouble

  1. #1

    Flynax Geodecode/Zip-Webservice trouble

    Hello Flynax team,

    I recognized, that the "search by distance"-plugin doesn't work any more if you build the zip code field into a search form.
    The routines and hooks works fine, but the in function modifySqlSelect there is a little bit trouble:
    PHP Code:
    Only registered members can view the code
    The variable $content gets "null". The problem seems the function "getPageContent".

    Any help?


  2. #2
    Compare your "getPageContent" function it should be like in the attached file, or just replace.

    It's likely to fix the problem
    Attached Files Attached Files

  3. #3
    Thank you Mike,

    but this doesn't work.

    It seems that the webservice called from the "search by distance" respond a "null"-value.
    This is your webservice called:
    PHP Code:
    Only registered members can view the code
    (I hide the ip here)

    My country is "de", zip code is a german one (58095). The placeholders and the url are correctly set by the plugin.

    If I call the service entered "manually" in a browser-window I get a valid JSON-response.

    How ever, I build a similar geocoding-service hosted on my machine, and that works now. But maybe other costumers will get same problem.


  4. #4
    Yes there were some problems on server, we have resolved it. Function i provided is correct.

    Sorry for inconveniences and Thank you for participation =)

  5. #5
    No problem :cool:

+ Reply to Thread