+ Reply to Thread
Results 1 to 7 of 7

Thread: Wrong URL in Geo Filtering plugin if option {Any} is selected

  1. #1
    Senior Member
    Join Date
    Aug 2010
    Posts
    174

    Wrong URL in Geo Filtering plugin if option {Any} is selected

    When you select an option with “Any” for the second field in Geo Filter; the page returns incorrect URL, as shown below:
    http://www.mysite.com/0/


    Please see the snapshot in attachment to follow this step.
    Attached Images Attached Images

  2. #2
    Hello Kirill,

    I found this error.

    You should go to ftp:>>plugins>>multiField>>rlMultiField.class.php
    find method: ajaxGetGeoNext

    and find code in at line~1783:

    Code:
    Only registered members can view the code.
    and replace to:

    Code:
    Only registered members can view the code.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Senior Member
    Join Date
    Aug 2010
    Posts
    174
    I replaced this line of code, but it does not help resolve the problem. So I change it everything back to default.

    In order to reproduce this problem, please follow these steps:
    1. Select both locations
    2. Click “Go” button
    3. Change second location to “Any”
    4. Click “Go” button
    5. Here is the problem will show up.

  4. #4
    Hello Kirill,

    You should implement this fix and 1 more: in this file in method ajaxGeoBuild at line ~1827

    find:
    Code:
    Only registered members can view the code.
    and replace to:

    Code:
    Only registered members can view the code.
    check it and let me know about results.
    Last edited by Viktor; December 19, 2012 at 11:12 AM.
    Viktor,
    Flynax technical department,
    Best wishes.

  5. #5
    Senior Member
    Join Date
    Aug 2010
    Posts
    174
    The second option you provided is Working! Thank you.

    The problem was resolved.

  6. #6
    Senior Member
    Join Date
    Aug 2010
    Posts
    174
    Viktor,

    I have noticed the same problem when selecting both options {Select location} in dropdown fields.

    The URL path shows (0) after I click GO button.
    Attached Images Attached Images

  7. #7
    Hello Kirill,

    Yes I found it and fix it.

    Go to ftp://plugins>>multiField>>geo_block.tpl

    find this code at line ~ 271

    Code:
    Only registered members can view the code.
    and replace to:

    Code:
    Only registered members can view the code.
    save and check again.
    Viktor,
    Flynax technical department,
    Best wishes.

+ Reply to Thread