Joomla 2.5.27 migration to 3.3.6 maps

Phoca Maps - displaying maps in Joomla! CMS
neiljames54
Phoca Member
Phoca Member
Posts: 13
Joined: 22 Nov 2013, 19:19

Joomla 2.5.27 migration to 3.3.6 maps

Post by neiljames54 »

I wrongly thought I had to delete the phoca maps component prior to migration and the maps already set up would be miraculously stored in the db ready to be picked up when I installed phoca 3. This as it turns out was wrong and all my maps have gone 250+ and markers. I am assuming they have gone forever the only bright side is this action was taken on my local host and the live site 2.5.27 is unaffected. If I can access phpmyadmin on the live server can I export the mapping data, if that is the case how do I set about doing this
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Joomla 2.5.27 migration to 3.3.6 maps

Post by Jan »

Hi, yes, with phpMyAdmin, you can export the data to have them for possible import in new version. But if the component is uninstalled, Joomla! extension manager will delete all data from database too :-(

Jan
If you find Phoca extensions useful, please support the project
neiljames54
Phoca Member
Phoca Member
Posts: 13
Joined: 22 Nov 2013, 19:19

Re: Joomla 2.5.27 migration to 3.3.6 maps

Post by neiljames54 »

Hey Jan, deep down I knew you were going to say that.
Can you point me in the direction of procedure to extract the correct database information and how to install in my new 3.3.6 website, I can get the old data from my live site with phpmyadmin but I have very limited experience working with databases
neiljames54
Phoca Member
Phoca Member
Posts: 13
Joined: 22 Nov 2013, 19:19

Re: Joomla 2.5.27 migration to 3.3.6 maps

Post by neiljames54 »

Ok so now I have decided start from scratch and input all my maps again but keep the article plugin id, by starting with new maps I can clean out some unused maps but this is going to mess up the article plugin id's. Is there any way I can manually set the map id's to match the existing article plugin id's
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Joomla 2.5.27 migration to 3.3.6 maps

Post by Jan »

Hi, maps have the autoincrement ID, it means it is added manually by database, so to set some obsolete ID, you need to export - change the IDs - truncate the tables - import the items with new IDs :idea:

mostly, in phpMyAdmin

Jan
If you find Phoca extensions useful, please support the project
Post Reply