Fail to Upgrade from GeoDirectory Version 1.6.38 to Version 2.0.0.57

This topic contains 14 replies, has 4 voices, and was last updated by  Samuel Tan 5 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #486113

    Samuel Tan
    Expired Member
    Post count: 28

    Hi Support,

    RE: Fail to Upgrade from GeoDirectory Version 1.6.38 to Version 2.0.0.57

    We ran test updates following steps from your website on https://cisc.catholicindependentschools.com

    We disabled all other plugins except GeoDirectory prior to the steps below.

    Route Taken to Update
    1. Uploaded the GDv2 folder calling this ‘geodirectory2’
    2. Deactivated GDv1 in Plugins on the backend, pages on the front end only loads partically.
    3. Renamed the folder containing GDv1 to ‘geodirectory1’ and the folder containing GDv2 to ‘geodirector2’.
    4. Activated GDv2 in Plugins on the backend

    Upon activation we lost access to the front and backend with a 503 error (Service Temporarily Unavailable).

    Changed the name of the folders and was able to return to GDv1 with access to both front and backend.

    The site works normally with GDv1 but we just couldn’t upgrade to GDv2.

    Please help.

    #486158

    Kor
    Moderator
    Post count: 16516

    Hi Samuel,

    Thanks for your reply. Kindly share your Website WP admin and FTP access here in private reply and we’ll check this out for you.

    #486161

    Samuel Tan
    Expired Member
    Post count: 28
    This reply has been marked as private.
    #486276

    Kor
    Moderator
    Post count: 16516

    Hi Samuel,

    Thanks for your reply. I can’t seem to update/remove the GDv2 core plugin manually. Could you share your FTP host so that I could check your server files? In the meantime, please make sure that you’ve backup everything.

    #486359

    Samuel Tan
    Expired Member
    Post count: 28
    This reply has been marked as private.
    #486637

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #486679

    Samuel Tan
    Expired Member
    Post count: 28

    I will restore the test site with files and database from the live site and try again. I will let you know when it is ready.

    #486706

    Kor
    Moderator
    Post count: 16516

    Hi Samuel Tan,

    Thanks for your reply. Alright, let us know how it goes.

    #489480

    Samuel Tan
    Expired Member
    Post count: 28
    This reply has been marked as private.
    #489522

    Samuel Tan
    Expired Member
    Post count: 28

    Hi Kor,

    We found the problem.

    We used a wp admin login page redirect to gd login.

    
    add_filter( 'login_url', 'my_login_page', 10, 2 );
    function my_login_page( $login_url, $redirect ) {
        return geodir_login_url();
    }
    

    in functions.php

    This caused the backend to break when we upgrade and the front end to behave differently.

    #489558

    Kor
    Moderator
    Post count: 16516

    Hi Samuel Tan,

    Thanks for letting us know. Let us know if you need anything further.

    #490986

    Samuel Tan
    Expired Member
    Post count: 28

    Hi Kor,

    We have successfully upgrade to GeoDirectory 2.0.0.59 on our test site here https://cisc.catholicindependentschools.com/

    But, the Search and Advance Search Function is again broken. We re-activated the Snippet added by Stiofan to fix the GD Search but that didn’t help.

    I have left the Snippet in so you can review it.

    The GD menu options are found in the footer navigation/below:

    SEARCH: https://cisc.catholicindependentschools.com/search/
    LOCATION: https://cisc.catholicindependentschools.com/membership/members-area/location/
    PLACES: https://cisc.catholicindependentschools.com/places/

    Pls let us know if there is anything else you need.

    #491071

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #491518

    Kiran
    Moderator
    Post count: 7069

    Hello Samuel,

    Please check now search page is working fine.

    There was conflict with field names. You have custom field with name “type” which is conflicting during search. In search CPT is searched by stype=gd_place and custom field searched by stype=xxx.

    I have renamed field name “type” to “custom_type” to fix this conflicts.

    Let us know.

    Regards,
    Kiran

    #492757

    Samuel Tan
    Expired Member
    Post count: 28

    Hi Kiran,

    Thank you for this.

    We have tested the “custom_type” field in the search but it did not show any result.

    It works on the live site which is still running GD v1 https://www.catholicindependentschools.com/find-a-school/https://www.catholicindependentschools.com/find-a-school/

    For the TEST site (link below) I have updated GeoDirectory to 2.0.0.62 and GD Location Manager to 2.0.0.18 but still cannot filter search by Nursery, Pre-Prep, Prep, Secondary, Sixth or Special which use to work in GD v1.

    https://cisc.catholicindependentschools.com/search

    When using Advanced Search and choosing one of the checkboxes: Nursery, Pre-Prep, Prep, Secondary, Sixth or Special, no search results were shown.

Viewing 15 posts - 1 through 15 (of 15 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount