Hi,
something strange is happening.
i just upgrade to 4.2.1 from 4.1.2
Now.. if i look at the categorie the column Access is not filled in. (so no public).
But the categorie is showing in the frontend.
When i edit the categorie (backend), and do not change anything, but save and close it. Than the public access is visable in the the list for only the one i just edited.
But no longer visable in the front end.
I am not looged on in the fronentd to check. So the category should be there. All pictures are authorized.
Can someone tell me what is wrong.
i have some screendumps, but i do not know how to add them to this topic.
regards Jan
Gallerys disappear
-
- Phoca Professional
- Posts: 129
- Joined: 04 Jun 2008, 19:05
- Location: Netherlands
-
- Phoca Professional
- Posts: 129
- Joined: 04 Jun 2008, 19:05
- Location: Netherlands
Re: Gallerys disappear
What i did to repair the frontend :
in the datbase table xxxx_phocagallery_categories i change to access level to 0 where it was 1 and now the frontend shows all categories again.
But i do not believe this the real solution.
regards Jan
in the datbase table xxxx_phocagallery_categories i change to access level to 0 where it was 1 and now the frontend shows all categories again.
But i do not believe this the real solution.
regards Jan
- Jan
- Phoca Hero
- Posts: 47870
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Gallerys disappear
Hi, thank you for the info, it is hard to say if it is real solution or not, when upgrading, there is no function to somehow change the database data. So there should not be any change there
After the change, did you check if everything is working OK?
Try to check this parameter: Access Level - Registered Users ( https://www.phoca.cz/documents/2-phoca-g ... e-joomla-3 )
Check if there was not selected public group
Jan
After the change, did you check if everything is working OK?
Try to check this parameter: Access Level - Registered Users ( https://www.phoca.cz/documents/2-phoca-g ... e-joomla-3 )
Check if there was not selected public group
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Professional
- Posts: 129
- Joined: 04 Jun 2008, 19:05
- Location: Netherlands
Re: Gallerys disappear
Hi Jan,
the acces level in the options is set to "Specials" So only special user can do the registered function.s
Changing it to registered did not solved the problem. (there are no other options)
So my problem still exist. Do you have any other ideas.
regards Jan
p.s. i now see that on an other website i manage with version 4.1.2. the problem also exists.
\So maybe the upgrade was noet cause of the problem.
the acces level in the options is set to "Specials" So only special user can do the registered function.s
Changing it to registered did not solved the problem. (there are no other options)
So my problem still exist. Do you have any other ideas.
regards Jan
p.s. i now see that on an other website i manage with version 4.1.2. the problem also exists.
\So maybe the upgrade was noet cause of the problem.
-
- Phoca Professional
- Posts: 129
- Joined: 04 Jun 2008, 19:05
- Location: Netherlands
Re: Gallerys disappear
Hi Jan,
i just found all my website and phoica gallery have the same problem.
Hope you can help me
i just found all my website and phoica gallery have the same problem.
Hope you can help me
-
- Phoca Professional
- Posts: 129
- Joined: 04 Jun 2008, 19:05
- Location: Netherlands
Re: Gallerys disappear
Hi Jan,
in de view : categories /view.html.php
de var $rightDisplay returns 0 if the access is set to public. And when the User id is 0 (zero) it should be displayed.
But that does not happens.
Only those galleries with access 0 and userid 0 are treated as public.
In the example on with the category is not shown :
$rightDisplay = PhocaGalleryAccess::getUserRight('accessuserid', $this->categories[$key]->accessuserid, $this->categories[$key]->access, $user->getAuthorisedViewLevels(), $user->get('id', 0), $display_access_category);
$rightDisplay = PhocaGalleryAccess::getUserRight('accessuserid', 62,0, array 1 1,0,0);
returns 0 and is not shown.
Hope you can help me.
in de view : categories /view.html.php
de var $rightDisplay returns 0 if the access is set to public. And when the User id is 0 (zero) it should be displayed.
But that does not happens.
Only those galleries with access 0 and userid 0 are treated as public.
In the example on with the category is not shown :
$rightDisplay = PhocaGalleryAccess::getUserRight('accessuserid', $this->categories[$key]->accessuserid, $this->categories[$key]->access, $user->getAuthorisedViewLevels(), $user->get('id', 0), $display_access_category);
$rightDisplay = PhocaGalleryAccess::getUserRight('accessuserid', 62,0, array 1 1,0,0);
returns 0 and is not shown.
Hope you can help me.
-
- Phoca Professional
- Posts: 129
- Joined: 04 Jun 2008, 19:05
- Location: Netherlands
Re: Gallerys disappear
Hi Jan,
do you already have an idea what is wrong. On 7 websites the same problem.
regards Jan
do you already have an idea what is wrong. On 7 websites the same problem.
regards Jan
-
- Phoca Professional
- Posts: 129
- Joined: 04 Jun 2008, 19:05
- Location: Netherlands
Re: Gallerys disappear
Hi Jan,
i now have the same problem with Phoca download.
All items are set to public (in the database : field access set tot 1 ) . But in all items the same issue if you trye to download it phocadownload ask for a login.
Can you help me please ?
regards Jan
i now have the same problem with Phoca download.
All items are set to public (in the database : field access set tot 1 ) . But in all items the same issue if you trye to download it phocadownload ask for a login.
Can you help me please ?
regards Jan
- Jan
- Phoca Hero
- Posts: 47870
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Gallerys disappear
Hi, is all set for public:
(categories)
access - not selected
access rights - not selected
(category)
access - not selected
?
Do you run Phoca Gallery 4.3.0?
Jan
(categories)
access - not selected
access rights - not selected
(category)
access - not selected
?
Do you run Phoca Gallery 4.3.0?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 18
- Joined: 18 Apr 2012, 16:26
Re: Gallerys disappear
The same happened to me after an update of PhocaGallery (was 4.2.2)
Joomla 3.5.1 and 3.6.0 / Phocagallery 4.3.0
In the frontend only the gallery with category id=1 was visible for normal site visitors. When a registered user logged in all categories were displayed.
In the database table xxx_phocagallery_categories the accessuserid for that public visible category was set to 0, all the other categories had accessuserid= -1
To set the accessuserid of the invisible categories also to 0, I went to the joomla management (backend) and had to change in each invisble categorie the field "Access rights" from "All registered users" into an EMPTY field.
Hope this helps to determine the origine of the problem.
Kind regards
Johan
Joomla 3.5.1 and 3.6.0 / Phocagallery 4.3.0
In the frontend only the gallery with category id=1 was visible for normal site visitors. When a registered user logged in all categories were displayed.
In the database table xxx_phocagallery_categories the accessuserid for that public visible category was set to 0, all the other categories had accessuserid= -1
To set the accessuserid of the invisible categories also to 0, I went to the joomla management (backend) and had to change in each invisble categorie the field "Access rights" from "All registered users" into an EMPTY field.
Hope this helps to determine the origine of the problem.
Kind regards
Johan