You are not authorized to do this action - Joomla Site!

Phoca Gallery - image gallery extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49125
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: You are not authorized to do this action - Joomla Site!

Post by Jan »

Hi, will take a look at it.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49125
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: You are not authorized to do this action - Joomla Site!

Post by Jan »

Hmm, tested, set registered, then public and get no such problems :-( :-(
If you find Phoca extensions useful, please support the project
AkeMake
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 07 Jan 2012, 00:57

Re: You are not authorized to do this action - Joomla Site!

Post 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. :x
sachinjet88
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 03 Feb 2012, 09:51
Location: Mumbai,India.

Re: You are not authorized to do this action - Joomla Site!

Post 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? :?:
AkeMake
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 07 Jan 2012, 00:57

Re: You are not authorized to do this action - Joomla Site!

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

Re: You are not authorized to do this action - Joomla Site!

Post 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 :idea:

Jan
If you find Phoca extensions useful, please support the project
sophiefi
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Feb 2012, 23:26

Re: You are not authorized to do this action - Joomla Site!

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

Re: You are not authorized to do this action - Joomla Site!

Post by Jan »

Hmmm, did yuo try to resave the menu link to guestbook :idea: ... really no idea what can be wrong after upgrading Joomla! :idea:

Jan
If you find Phoca extensions useful, please support the project
sophiefi
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Feb 2012, 23:26

Re: You are not authorized to do this action - Joomla Site!

Post 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 :cry:
don´t know what else to do :/
abqsue
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 24 Jun 2012, 03:49

Re: You are not authorized to do this action - Joomla Site!

Post 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.
Post Reply