Support Forums - Classified Ads Script Osclass

General osclass questions => General discussion => Topic started by: vbarnes1972 on June 20, 2021, 12:52:16 AM

Title: Location - Regions Problem
Post by: vbarnes1972 on June 20, 2021, 12:52:16 AM
Hi,

I've updated to 4.4 of the Osclass, but when I updated it deleted all my locations.

When I install the United Kingdom, I can't see any of the regions, it won't let me delete it to import United Kingdom again.

I've even tried adding a new region, it successfully adds it, but I can't see the region to add Cities.

I don't really want to uninstall the app to install it, because I've just done a lot of categories.

Any help would be grateful.

Thanks

Vince
Title: Re: Location - Regions Problem
Post by: MB Themes on October 18, 2021, 08:03:20 AM
@vbarnes1972
Your theory about removing locations does not seems to be correct, upgrade functions does not include any such command.
Easiest way is to export data from backup, from tables t_country, t_region and t_city, then insert these data into updated installation.
You should not export/import table definitions as these were changed in some versions of osclass 4.x