There are several database related changes in the project, so it needs reinstall if possible....
But if not possible....
Before code update, disable map caching on fields.
If you have anything in the smcache dir (files/gmaps/smcache by default):
- first try flush all caches
- if it not works (there are files), run the following snippet:
$files = file_scan_directory(gmaps_get_path('smcache'), '.+', array('.', '..', 'CVS'), 'file_delete');
foreach($files as $path => $file) {
db_query("DELETE FROM {files} WHERE filepath = '%s'", $path);
}
Rename these tables:
cache_gmaps_static_map -> cache_gmaps_smap
cache_gmaps_taxonomy_links -> cache_gt_links
cache_gmaps_taxonomy_page -> cache_gt_page
Create new cache tables:
cache_gc_map, cache_gc_smap, cache_gt_result
On MySQL you can do: "CREATE TABLE cache_gc_map LIKE cache", a.s.o., alternatively you can use the schema module for full CREATE TABLE statements.
Now you can update the code.
Check your gmaps related js files for map ids, because there is a new map id policy.
If you're using GMaps Taxonomy, then refill and re-submit its settings page.
Comments
Comment #1
xmarket commentedFeel free to reopen, if you have any question.