Security Violation -Error (ERROR_PERMISSION_DENIED)

bollywoodnews
bollywoodnews's picture

Joined: 2007-05-11
Posts: 1
Posted: Fri, 2007-05-11 09:59

hi i,am trying to make gallery sef links with album names.my server supports Mod_rewrite and i use it for joomla on root server now in subfolder i have installed gallery and every thing works , but only sef links giving probe it is not even asking for .htaccess file when i tryed to activate perm link module it said i have to activate URL_Rewrite module also and when i tryed i got this error.I,am noob and using gallery for first time and i need to rewrite my gallery badly plz help me.
http://bollywoodpoint.com/gallery is my url

if u need admin logins also i,am ready to provide.Thanks or help in advance.

Quote:
Security Violation

The action you attempted is not permitted.

Back to the Gallery
Error Detail -
Error (ERROR_PERMISSION_DENIED)

* in modules/core/classes/GalleryView.class at line 180 (gallerycoreapi::error)
* in modules/core/SiteAdmin.inc at line 145 (galleryview::loadview)
* in modules/core/classes/GalleryView.class at line 317 (siteadminview::loadtemplate)
* in main.php at line 386 (siteadminview::doloadtemplate)
* in main.php at line 87
* in main.php at line 80

System Information
Gallery version 2.1.2
PHP version 4.4.3 apache
Webserver Apache
Database mysql 4.1.21-standard
Toolkits SquareThumb, ImageMagick, NetPBM, Gd
Operating system Linux server2.hostcats.com 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25 17:28:02 EDT 2006 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-05-11 14:10

not sure why it's not working for you. the error basically means that it doesn't recognize you as administrator anymore.

maybe try another browser to see if that works.

and if nothing helps, please upgrade to g2.2.1 and try again.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
naaman
naaman's picture

Joined: 2007-06-01
Posts: 3
Posted: Fri, 2007-06-01 23:26

I have received the exact same error and fixed it by changing Gallery2Flickr/module.inc according to a post on the Gallery2Flickr thread.

Full details of the fix are at http://errorsiget.meard.org/index.php?title=Gallery2-CantLoginAnymore

-----------------
The Meard Network
-----------------
http://www.meard.org
http://woodcutters.meard.org
http://errorsiget.meard.org
http://tech.meard.org

 
toastmaster

Joined: 2003-05-01
Posts: 219
Posted: Thu, 2008-01-31 17:33

My problem is not with flickr, but this bug continues through to the current builds - the sequence is as shown:

Permalink post activation

Now that you have activated the Permalinks module, you have to activate Permalinks rule in the URL Rewrite Module .

There is a link which leads to
http://www.mysite.co.uk/wpg2?g2_view=core.SiteAdmin&g2_subView=rewrite.AdminRewrite

When you click the above link, it takes you to

http://www.mysite.co.uk/wpg2?g2_view=core.SiteAdmin&g2_subView=permalinks.ActivationWarning

Which has the following error:

Security Violation

The action you attempted is not permitted.

Back to the Gallery
Error Detail -
Error (ERROR_PERMISSION_DENIED)

    * in modules/core/classes/GalleryView.class at line 168 (GalleryCoreApi::error)
    * in modules/core/SiteAdmin.inc at line 200 (GalleryView::loadView)
    * in modules/core/classes/GalleryView.class at line 278 (SiteAdminView::loadTemplate)
    * in main.php at line 449 (GalleryView::doLoadTemplate)
    * in main.php at line 103
    * in modules/core/classes/GalleryEmbed.class at line 189
    * in /mydirectory/public_html/blog/wp-content/plugins/wpg2/wpg2template.inc at line 71 (GalleryEmbed::handleRequest)
    * in ??? at line 0
    * in /mydirectory/public_html/blog/wp-includes/plugin.php at line 164
    * in /mydirectory/public_html/blog/wp-includes/template-loader.php at line 3
    * in /mydirectory/public_html/blog/wp-blog-header.php at line 21
    * in /mydirectory/public_html/index.php at line 4

System Information
Gallery version 	2.3-svn
PHP version 	5.2.0 cgi
Webserver 	Apache/1.3.37 (Unix) mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
Database 	mysql 4.1.22-standard-log
Toolkits 	SquareThumb, ImageMagick, Thumbnail, NetPBM, Gd
Operating system 	Linux leto.site5.com 2.6.9-55.0.12.ELsmp #1 SMP Fri Nov 2 11:19:08 EDT 2007 i686
Browser 	Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

I can confirm that I spent some time going through the permissions of each album manually, removing all permissions, then removing and re-adding all permissions from the root of the gallery (as noted in some posts)

In addition, I have done all the maintenance tasks, cleared the cached pages and cleared the cache and reset all file permissions to full on this page: http://www.mysite.co.uk/gallery/lib/support/index.php?cache

I'm not sure I can think of anything else to do.