Hi,
I'm new in this forum and before opening a new topic I've looked for a resolution for my problem but I could not found it.
So..
The situation is:
I created a new user (Michy1) for my site. Than, in Phoca I created also a new category (michy1), a new file (prova michy1) in which I uploaded a pdf file. I set that the file "prova michy1" refers to category michy1. In this category i set that user Michy1 is the only one who can access to the area. So, when I login with user Michy1 i see correctly the pdf in my download section.
I've made the same with a new user (Michy2), new category (michy2), new file (prova michy2) in which i uploaded another pdf file.
I set that the file prova michy2 refers to category michy2. In this category i set that user Michy2 is the only user who can access to the area but, when i login with user Michy2 and i go to my download section, the system sends me that message:
You have no rights to access this category
In fact, the download section of user Michy2 refers to folder category1 (and it should not!!!)
Any resolution for this strange problem?
Thanks
PS: if you need, i can post you the setting images
User login and category mismatch
- Jan
- Phoca Hero
- Posts: 48568
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: User login and category mismatch
Hi, try to recheck your settings. It is a system so if it works for category A like expected, there is no way the system somehow change something in its own code so the same rule should be used for category B.
- check if the category is not a subcategory, etc.
Jan


Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 18
- Joined: 01 Mar 2014, 21:33
Re: User login and category mismatch
Hi Jan,
and thanks for your answer..
I've checked my setting again and again but it seems to me i did not any mistake (it seems
)
I post you my settings so you can check them and tell if I'm doing some errors:
CATEGORY MICHY1:
parent category: - select category -
Ordering: 1. Categoria Michy1
Access: registered
Acces Rights: Michy1
CATEGORY NUOVA-MICHY2:
parent category: - select category -
Ordering: 2. nuova-michy2
Access: registered
Acces Rights: Michy2
FILES GENERAL SETTINGS:
Prova file michy1
FILENAME: filemichy1.pdf
ACTIVE: active
CATEGORY: Categoria Michy1
ACCESS: Registered
Prova file michy2
FILENAME: logo.png
ACTIVE: active
CATEGORY: nuova-michy2
ACCESS: Registered
"PROVA FILE MICHY1" SPECIFIC SETTINGS:
CATEGORY: Categoria Michy1
ORDERING: Prova file michy1
"PROVA FILE MICHY2" SPECIFIC SETTINGS:
CATEGORY: nuova-michy2
ORDERING: Prova file michy2
I'm sorry to posting you all this, but i do not see any other way to..
Thanks again
and thanks for your answer..
I've checked my setting again and again but it seems to me i did not any mistake (it seems


I post you my settings so you can check them and tell if I'm doing some errors:
CATEGORY MICHY1:
parent category: - select category -
Ordering: 1. Categoria Michy1
Access: registered
Acces Rights: Michy1
CATEGORY NUOVA-MICHY2:
parent category: - select category -
Ordering: 2. nuova-michy2
Access: registered
Acces Rights: Michy2
FILES GENERAL SETTINGS:
Prova file michy1
FILENAME: filemichy1.pdf
ACTIVE: active
CATEGORY: Categoria Michy1
ACCESS: Registered
Prova file michy2
FILENAME: logo.png
ACTIVE: active
CATEGORY: nuova-michy2
ACCESS: Registered
"PROVA FILE MICHY1" SPECIFIC SETTINGS:
CATEGORY: Categoria Michy1
ORDERING: Prova file michy1
"PROVA FILE MICHY2" SPECIFIC SETTINGS:
CATEGORY: nuova-michy2
ORDERING: Prova file michy2
I'm sorry to posting you all this, but i do not see any other way to..
Thanks again
- Jan
- Phoca Hero
- Posts: 48568
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: User login and category mismatch
Hi, testing it now and get everything OK, try to recheck the menu links - if some menu link does not go to other category.
Did you create e.g. one menu link to categories view? Or more menu links?
Jan
Did you create e.g. one menu link to categories view? Or more menu links?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 18
- Joined: 01 Mar 2014, 21:33
Re: User login and category mismatch
hi Jan,
you won't believe this..
i uninstalled and reinstalled phoca download, i created a new category and a new file for one user, all OK.
But when i created a new category and a new file the problem has become the same!
Could you post me your working settings ???
PS: Are there any problems with my joomla version (2.5.19) or with the fact that my site is local?
you won't believe this..
i uninstalled and reinstalled phoca download, i created a new category and a new file for one user, all OK.
But when i created a new category and a new file the problem has become the same!


Could you post me your working settings ???
PS: Are there any problems with my joomla version (2.5.19) or with the fact that my site is local?
- Jan
- Phoca Hero
- Posts: 48568
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: User login and category mismatch
Hi, no, I have tested it in Joomla! 2.5 like many users run Joomla! 2.5. There is no problem with localhost - I test everything on localhost first.
But I cannot understand this because system is system - it means, it applies one rule for all the categories, it is not possible that the system will work for category A and not for B as there is no feature to change the system. It is programmed, it is not live organism to change between two categories
Jan
But I cannot understand this because system is system - it means, it applies one rule for all the categories, it is not possible that the system will work for category A and not for B as there is no feature to change the system. It is programmed, it is not live organism to change between two categories

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 18
- Joined: 01 Mar 2014, 21:33
Re: User login and category mismatch
I know a system works like a system.. otherwise it would not be a system 
could it be a cache problem in my browser??
When i login with user B and try to enter user B's download area, on the browser tab i read "Download + category 1 name"..
it's so strange!
PS: the setting i posted you are correct however?

could it be a cache problem in my browser??
When i login with user B and try to enter user B's download area, on the browser tab i read "Download + category 1 name"..
it's so strange!
PS: the setting i posted you are correct however?
-
- Phoca Member
- Posts: 18
- Joined: 01 Mar 2014, 21:33
Re: User login and category mismatch
The problem seems to be with every second category i create..
in fact, i tried to associate category1 with user B and it's all working..
then i tried to associate file2 with category1 with user B and it worked again..
I'm driving crazy..
in fact, i tried to associate category1 with user B and it's all working..
then i tried to associate file2 with category1 with user B and it worked again..
I'm driving crazy..
- Jan
- Phoca Hero
- Posts: 48568
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: User login and category mismatch
Hi, in past there were some problem in Joomla! with cache but if it is the cache or not, you can discover, when you disable cache and when you clean all the cache items 
Jan

Jan
If you find Phoca extensions useful, please support the project