Page 1 of 1

loss photos and categories after upgrade

Posted: 29 Dec 2014, 12:30
by salvo72
hi

i upgrade my website j 1.5.26 to .2.5 version

using com_jupgrade

i reinstall com_pochagallery (3.2.8) in " upgrade" mode , but i dont see any photos and any categories

how fix this problem.. how replace a database fields to it!!!

thanks

Re: loss photos and categories after upgrade

Posted: 29 Dec 2014, 12:34
by Benno

Re: loss photos and categories after upgrade

Posted: 29 Dec 2014, 17:35
by salvo72
hi

hello
thanks for the speed response

the link is useful and clear. but, since I have to use both tables jos_ notjos_ and I need to create the tables notjos_ to make imports

how do I?

Re: loss photos and categories after upgrade

Posted: 29 Dec 2014, 18:22
by Benno
Hi,
not sure if I understand correct.
Migration in short for Phoca Extensions:
1. Export all datas, as described in the guide.
2. Uninstall all Phoca extensions
3. Make migration of joomla v1.5 to v2.5 with an extern migration program.
or install a fresh Joomla! v2.5 (If you make a fresh install of joomla you need to copy the files also) As described in the guide.
4.) Install all Phoca Components you need (The versions made for J v2.5)
If you use a different prefix open the exported data files with an editor like notepad++ is, and change the old prefix to the new one (search & replace)
5.) Import all datas, as described in the guide.

Kind regards,
Benno

Re: loss photos and categories after upgrade

Posted: 29 Dec 2014, 19:39
by salvo72
ok

i install a release for j 2.5 and create a copy of table to jos_pochagallery , jos_categories_phocagallery...... to notjos_pochagallery, and notjos_categories_phocagallery

but i do not have any categories and image to the 2.5 site !!

Re: loss photos and categories after upgrade

Posted: 29 Dec 2014, 19:56
by Benno
Hi,
ok, you exported and imported component data as described in the guide,
you copied and pasted the files (eg. /images/phocagallery/..) as described in the guide.
Did you run the update queries as described in the guide?

Code: Select all


    UPDATE `jos_phocagallery` SET `language` = '*';
     
    UPDATE `jos_phocagallery_categories` SET `language` = '*';
     
    UPDATE `jos_phocagallery_comments` SET `language` = '*';
     
    UPDATE `jos_phocagallery_fb_users` SET `language` = '*';
     
    UPDATE `jos_phocagallery_img_comments` SET `language` = '*';
     
    UPDATE `jos_phocagallery_img_votes` SET `language` = '*';
     
    UPDATE `jos_phocagallery_img_votes_statistics` SET `language` = '*';
     
    UPDATE `jos_phocagallery_tags` SET `language` = '*';

If access was not set in Phoca Gallery in Joomla! 1.5 and all categories are public, likely, you need to run the following queries:

Code: Select all

UPDATE `jos_phocagallery_categories` SET `access` = '1';
Kind regards,
Benno