Page 1 of 1

Some issues after migration from v2.8.1

Posted: 09 Jul 2012, 11:15
by Kharlanki
Hi,

after migrating to Joomla!2.5 I have some problems setting up phoca gallery as it was under my old Joomla!1.5 site.

1. A category with only subcategories shows a folder image and not a random image from its subcategories.
2. There is only a back button when a subcategorie has a parent. Not shown in toplevel categories and not in categories with only subcategories.

Thanks for your help!

Re: Some issues after migration from v2.8.1

Posted: 12 Jul 2012, 18:00
by Jan
Hi,

1) Hi, yes, because of security reasons, the parent category is not able to check if subcategory can be accessed by users - so this was added in 2.5
2) Testing subcategory and see no problem there - it can be listed in Categories View (if set in parameters) and if it is displayed then you can click to "up" button to go to its parent category :idea:

Jan

Re: Some issues after migration from v2.8.1

Posted: 14 Jul 2012, 22:15
by Kharlanki
Jan wrote:Hi,

1) Hi, yes, because of security reasons, the parent category is not able to check if subcategory can be accessed by users - so this was added in 2.5
Ok, then where can I assign an individual Image for categories with only subcategories?

Re: Some issues after migration from v2.8.1

Posted: 14 Jul 2012, 23:07
by Jan

Re: Some issues after migration from v2.8.1

Posted: 15 Jul 2012, 10:33
by Kharlanki
Tricky. ;)

But... How can I remove the (1) after the category name in categories view? Or how can I remove number of images of all categories?

Re: Some issues after migration from v2.8.1

Posted: 15 Jul 2012, 19:23
by hmayer1980
Jan wrote: 2) Testing subcategory and see no problem there - it can be listed in Categories View (if set in parameters) and if it is displayed then you can click to "up" button to go to its parent category :idea:
I have had this issue too, but was just related to the menue entry after the migration. I have created a new menue entry and there it worked - I just emptied my couple of menue entries by sql and reset the properties to default....
Kharlanki wrote:
Tricky. ;)

But... How can I remove the (1) after the category name in categories view? Or how can I remove number of images of all categories?
Do you have an SQL Query or something simmilar to do this for 1200 Categories?

3) Issue after Migration - Category Security like "Registered Access" is gone after migration - a quick look - not really sure - let me say the ids for the builtin groups / All registred useres or something has changed? How could I transfer security settings on categories?

Hannes

Re: Some issues after migration from v2.8.1

Posted: 17 Jul 2012, 21:50
by Jan
Hi, see:
https://www.phoca.cz/documents/50-phoca/ ... -joomla-25


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

UPDATE `jos_phocaguestbook_items` SET `access` = '1';
UPDATE `jos_phocaguestbook_books` SET `access` = '1';


The similar code should be done for Phoca Gallery

Re: Some issues after migration from v2.8.1

Posted: 22 Jul 2012, 10:16
by hmayer1980
Jan wrote:
UPDATE `jos_phocaguestbook_items` SET `access` = '1';
UPDATE `jos_phocaguestbook_books` SET `access` = '1';
I do have values of 0,1 befor the migration. It looks like, that after the migration the values for 0 should be 1 and for 1 should be 2 - which would be public oder registered users access...
update j25_phocagallery_categories set access=access+1;

accessuserid should be -1 if there is no specific user of the group select? (thats what I guess I have set), but finde values of 0, -1 and NULL in the column...

I give it a try like this...

Re: Some issues after migration from v2.8.1

Posted: 27 Jul 2012, 10:09
by hmayer1980
It works to use "update j25_phocagallery_categories set access=access+1;"

Re: Some issues after migration from v2.8.1

Posted: 03 Aug 2012, 10:54
by Jan
Ok