Some issues after migration from v2.8.1

Phoca Gallery - image gallery extension
Kharlanki
Phoca Member
Phoca Member
Posts: 19
Joined: 02 Aug 2010, 14:48

Some issues after migration from v2.8.1

Post 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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Some issues after migration from v2.8.1

Post 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
If you find Phoca extensions useful, please support the project
Kharlanki
Phoca Member
Phoca Member
Posts: 19
Joined: 02 Aug 2010, 14:48

Re: Some issues after migration from v2.8.1

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Some issues after migration from v2.8.1

Post by Jan »

If you find Phoca extensions useful, please support the project
Kharlanki
Phoca Member
Phoca Member
Posts: 19
Joined: 02 Aug 2010, 14:48

Re: Some issues after migration from v2.8.1

Post 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?
User avatar
hmayer1980
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 19 Oct 2008, 01:05
Contact:

Re: Some issues after migration from v2.8.1

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Some issues after migration from v2.8.1

Post 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
If you find Phoca extensions useful, please support the project
User avatar
hmayer1980
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 19 Oct 2008, 01:05
Contact:

Re: Some issues after migration from v2.8.1

Post 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...
User avatar
hmayer1980
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 19 Oct 2008, 01:05
Contact:

Re: Some issues after migration from v2.8.1

Post by hmayer1980 »

It works to use "update j25_phocagallery_categories set access=access+1;"
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Some issues after migration from v2.8.1

Post by Jan »

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