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!
Some issues after migration from v2.8.1
-
Kharlanki
- Phoca Member

- Posts: 19
- Joined: 02 Aug 2010, 14:48
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Some issues after migration from v2.8.1
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
Jan
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
Jan
If you find Phoca extensions useful, please support the project
-
Kharlanki
- Phoca Member

- Posts: 19
- Joined: 02 Aug 2010, 14:48
Re: Some issues after migration from v2.8.1
Ok, then where can I assign an individual Image for categories with only subcategories?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
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Some issues after migration from v2.8.1
If you find Phoca extensions useful, please support the project
-
Kharlanki
- Phoca Member

- Posts: 19
- Joined: 02 Aug 2010, 14:48
Re: Some issues after migration from v2.8.1
Tricky.Jan wrote:Hi, see:
https://www.phoca.cz/documents/2-phoca-g ... t/511-tips (1)
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?
- hmayer1980
- Phoca Enthusiast

- Posts: 63
- Joined: 19 Oct 2008, 01:05
- Contact:
Re: Some issues after migration from v2.8.1
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....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![]()
Do you have an SQL Query or something simmilar to do this for 1200 Categories?Kharlanki wrote:Tricky.Jan wrote:Hi, see:
https://www.phoca.cz/documents/2-phoca-g ... t/511-tips (1)
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?
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
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Some issues after migration from v2.8.1
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
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
If you find Phoca extensions useful, please support the project
- hmayer1980
- Phoca Enthusiast

- Posts: 63
- Joined: 19 Oct 2008, 01:05
- Contact:
Re: Some issues after migration from v2.8.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...Jan wrote:
UPDATE `jos_phocaguestbook_items` SET `access` = '1';
UPDATE `jos_phocaguestbook_books` SET `access` = '1';
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...
- hmayer1980
- Phoca Enthusiast

- Posts: 63
- Joined: 19 Oct 2008, 01:05
- Contact:
Re: Some issues after migration from v2.8.1
It works to use "update j25_phocagallery_categories set access=access+1;"
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Some issues after migration from v2.8.1
Ok
If you find Phoca extensions useful, please support the project