Page 2 of 4
Re: You are not authorized to do this action - Joomla Site!
Posted: 27 Jan 2012, 20:41
by Jan
Hi, will take a look at it.
Jan
Re: You are not authorized to do this action - Joomla Site!
Posted: 01 Feb 2012, 12:58
by Jan
Hmm, tested, set registered, then public and get no such problems

Re: You are not authorized to do this action - Joomla Site!
Posted: 01 Feb 2012, 16:32
by AkeMake
Jan wrote:Hmm, tested, set registered, then public and get no such problems

I downloaded Phoca Gallery 3.1.3 to my test environment and created new category just with name "Test category", Access "Public" Owner "Super User" and Access, Upload and Delete Rights "Super User". Then I created new menu item with type "List of Images (Category View)" and selected my "Test category". Notice that I had no images at all so everything was such simple as possible but still I got message "You are not authorized to do this action". On table #__phocagallery_categories field's "access" value is still 1. This category is not public, although it should be.

Re: You are not authorized to do this action - Joomla Site!
Posted: 03 Feb 2012, 10:14
by sachinjet88
Hello everybody,
I am also getting same problem .I am using joomla1.7.3 and phocagallery_v3.1.3 .
How can we fix this problem?

Re: You are not authorized to do this action - Joomla Site!
Posted: 03 Feb 2012, 15:54
by AkeMake
I think this problem starts because select list's option values are wrong. I checked source and Access's select list seemed like this:
Code: Select all
<option value="1" selected="selected">Public</option>
<option value="2">Registered</option>
<option value="3">Special</option>
<option value="4">Customer Access Level (Example)</option>
I'm pretty sure that option values should be lower:
Code: Select all
<option value="0" selected="selected">Public</option>
<option value="1">Registered</option>
<option value="2">Special</option>
<option value="3">Customer Access Level (Example)</option>
Jan I hope that you know where to fix this.

Re: You are not authorized to do this action - Joomla Site!
Posted: 04 Feb 2012, 21:37
by Jan
Hi, to be sure for yourself, please use some comparison method.
See core article access behaviour in Joomla!:
(administrator/index.php?option=com_content&view=article&layout=edit&id=1)
Access:
Code: Select all
<select size="1" class="inputbox" name="jform[access]" id="jform_access">
<option selected="selected" value="1">Public</option>
<option value="2">Registered</option>
<option value="3">Special</option>
</select>
So the select box seems to be not the problem
Jan
Re: You are not authorized to do this action - Joomla Site!
Posted: 24 Feb 2012, 23:32
by sophiefi
I have quite the same problem with phoca guestbook which I just migrated from 1.5.3 to 2.0.4.
When I want to open it in the frontend I get the same message "You are not authorized to do this action".
Has someone found a solution yet?
(Seems like it could be the similar problem like the one with the gallery which is why i´m posting my question here as well)
Re: You are not authorized to do this action - Joomla Site!
Posted: 25 Feb 2012, 23:28
by Jan
Hmmm, did yuo try to resave the menu link to guestbook

... really no idea what can be wrong after upgrading Joomla!
Jan
Re: You are not authorized to do this action - Joomla Site!
Posted: 26 Feb 2012, 19:18
by sophiefi
thanks for your quick response jan!
I did...and I also changed the access value in the database from 1 to 0 and back - without success

don´t know what else to do :/
Re: You are not authorized to do this action - Joomla Site!
Posted: 24 Jun 2012, 04:06
by abqsue
I am also having this problem. I installed Joomla 2.5.3, Phoca Gallery 3.2.0 and (just for reference) K2 2.5.7. My website is here - troop335.sbabcock.com
I have a group set up that has special permissions to upload photos, but the pages with photo galleries on them are set to public access (as are the menus). However, I had to go into the database (_phocagallery_categories) and manually change each phoca gallery category access from 1 to 0 because when I was not logged in I received the "You are not authorized" message on each of the phoca gallery pages. Changing the access in the database did the trick; however, when I upgraded Joomla to 2.5.6, the pages didn't work again (other things went wrong - not just phoca gallery). I installed my backup copy of the site (so I'm back to Joomla 2.5.3) and once again had to manually change the access values in the database.
Any ideas about why the accesses are giving me issues would be greatly appreciated.