You are not authorized to do this action

Phoca Gallery - image gallery extension
shaag20001
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Apr 2012, 09:33

You are not authorized to do this action

Post by shaag20001 »

Jan:

Have read everything I could for the past two weeks, if it exists, I have not yet found the answer.

Like so many others running into this issue, I am at a loss.

"You are not authorized to do this action" I can get Phocagallery to work only when logged in, otherwise "You are not authorized to do this action"

I have combed through permission, checked SQL entries of permissions, and the other things you mentioned to look at.

I have a fresh install of joomla 2.5.4 with a fresh install of the latest version of Phocagallery. This is a known Joomla friendly server, with many legacy Joomla sites running with no problem. The issue arises in both 1.7 and 2.5. Just Google "You are not authorized to do this action" + phocagallery, and you'll see what I mean.

I don't have any other time invested in this site YET, so you can completely erase the site and it's no problem... so I am offering for you to use my environment o fix this bug once and for all. I'll give you all access. You can skype me at "smallcapss" I'll send you the logins.

http://www.kimsontravel.com

Fedora RedHat Linux
Unix Server

Sincerely,

Steve Haag
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: You are not authorized to do this action

Post by Jan »

Hi, there was similar problem in 1.6, then I have changed the code to prevent from this and since 2.5 there should not be such problem :idea:

What about cache, did you try to disable/enable/clear it, etc. :idea:

Jan
If you find Phoca extensions useful, please support the project
shaag20001
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Apr 2012, 09:33

Re: You are not authorized to do this action

Post by shaag20001 »

Jan:

I can appreciate the fact things were fixed since 1.6 ( didn't have any problems like this with 1.6 and Phoca Gallery, still running several sites on that version, and I tried to upgrade to 1.7, 2.5, and got BITTEN... New installs are the same, My server has run Joomla for years now.

I must find out the error, even if it's my ID-10T error... lol.

But the reality is, once I upgraded to 1.7 it all started, and 2.5.4 isn't any different... If the fix after 1.6 was successful for THIS issue, I would suspect I wouldn't see so many others over the past two years complaining of the EXACT same issue - did you Google it as suggested above? This is very telling... Again, I have read and tried all the "fixes," and like so many, no luck.

So again, I offer my environment. Are you game? A lot of user who are currently stuck would appreciate your help...

Thanks a bunch for your reply!!!

--Steve
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: You are not authorized to do this action

Post by Jan »

Hi, I know this problem and tried to simulate it many times on my test servers and servers of some different users but didn't get such error any time :-( ... so still didn't find what can be the part which causes it (Mostly, it happens when upgrades were made, fresh installs should't do this, but because of your case, seems this is not the rule :-( )

Jan
If you find Phoca extensions useful, please support the project
User avatar
jobrusche
Phoca Member
Phoca Member
Posts: 37
Joined: 18 Apr 2012, 16:26

Re: You are not authorized to do this action

Post by jobrusche »

I can confirm that it happens on newly installed Joomla 2.5.3 and PhocaGallery 3.2.0
Not upgrading bud reconstructing an old 1.5.10 site from scratch http://www.fotogamma.be where
all works perfectly ( see item "Gallerijen" in main menu)

The new site is at http://fotogammabe.webhosting.be, same template, same layout


:x Johan.
User avatar
jobrusche
Phoca Member
Phoca Member
Posts: 37
Joined: 18 Apr 2012, 16:26

Re: You are not authorized to do this action

Post by jobrusche »

On the old 1.5 site I see that the URL behind the icon is
<a href="/index.php/gallerijen/category/1"> where 1 is the category-ID

On the fresh 2.5.3 site this URL is
<a href="/index.php/galleries/category/1-johan-brusche">
where 1-johan-brusche is a combination of category-ID"-"category alias.

Is that intended ?

Johan.
User avatar
jobrusche
Phoca Member
Phoca Member
Posts: 37
Joined: 18 Apr 2012, 16:26

Re: You are not authorized to do this action

Post by jobrusche »

Found a solution to my problem (don't know if it would solve the original poster's issue)

On the Joomla 1.5.10 with Phoca G 2.2.3 I used to set 'Acces user rights' , 'Upload/add user rights',
'Delete/Pub user rights' to the same as the 'Author'

On Joomla 2.5.3 with Phoca Gallery 3.2.0 I found that setting 'Acces user rights' to "All registered users"
solved my "You are not authorized"-issue for all site visitors.

Hope this helps other webmangers too !!

Johan.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: You are not authorized to do this action

Post by Jan »

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