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 TicketTagged: 503, GeoDirectory v2 upgrade failure
-
AuthorPosts
-
May 13, 2019 at 10:21 am #486113
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 backendUpon 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.
May 13, 2019 at 2:51 pm #486158Hi 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.
May 13, 2019 at 3:02 pm #486161This reply has been marked as private.May 14, 2019 at 6:34 am #486276Hi 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.
May 14, 2019 at 12:08 pm #486359This reply has been marked as private.May 15, 2019 at 12:33 pm #486637This reply has been marked as private.May 15, 2019 at 3:12 pm #486679I 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.
May 15, 2019 at 4:52 pm #486706Hi Samuel Tan,
Thanks for your reply. Alright, let us know how it goes.
May 28, 2019 at 12:54 pm #489480This reply has been marked as private.May 28, 2019 at 4:00 pm #489522Hi 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.
May 28, 2019 at 5:08 pm #489558Hi Samuel Tan,
Thanks for letting us know. Let us know if you need anything further.
June 5, 2019 at 12:33 pm #490986Hi 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.
June 5, 2019 at 8:16 pm #491071This reply has been marked as private.June 7, 2019 at 10:29 am #491518Hello 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,
KiranJune 13, 2019 at 10:14 am #492757Hi 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.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket