solved: Kohana_Exception [ kohana/core.errors.403 ]: @todo FORBIDDEN

ds_auch

Joined: 2003-06-29
Posts: 14
Posted: Thu, 2012-01-19 04:04

I found in another thread that I can remove paths via advanced page.

tried to remove a path from server_add module list:

Hey wait, you're an admin! We can tell you stuff.

There's an error message below and you can find more details in gallery3/var/logs (look for the file with the most recent date on it). Stuck? Stop by the Gallery 3 Forums and ask for help. You can also look at our list of open tickets to see if the problem you're seeing has been reported. If you post a request, here's some useful information to include:
remove Platform information

Host name: gator1517.hostgator.com
Operating system: Linux 2.6.38.7
Apache: Unknown
PHP: 5.2.17
MySQL: 5.1.56
Server load: 1.53 1.89 2.39
Graphics toolkit: imagemagick

remove Gallery stats

Version: 3.0.2 (Coollanta)
Albums: 352
Photos: 16685

Kohana_Exception [ kohana/core.errors.403 ]: @todo FORBIDDEN

MODPATH/gallery/helpers/access.php[ 202 ]
197 198 /** 199 * Terminate immediately with an HTTP 403 Forbidden response. 200 */ 201 static function forbidden() { 202 throw new Kohana_Exception("@todo FORBIDDEN", null, 403); 203 } 204 205 /** 206 * Internal method to set a permission 207 *

MODPATH/gallery/helpers/access.php[ 425 ] » access_Core::forbidden()

MODPATH/server_add/controllers/admin_server_add.php[ 60 ] » access_Core::verify_csrf()

{PHP internal call} » Admin_Server_Add_Controller->remove_path()

MODPATH/gallery/controllers/admin.php[ 62 ] » call_user_func_array( arguments )

{PHP internal call} » Admin_Controller->__call( arguments )

SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( arguments )

{PHP internal call} » Kohana_Core::instance( arguments )

SYSPATH/core/Event.php[ 208 ] » call_user_func_array( arguments )

APPPATH/Bootstrap.php[ 67 ] » Event_Core::run( arguments )

DOCROOT/index.php[ 102 ] » require( arguments )

2012-01-18 22:01:01 -06:00 --- error: Kohana_Exception [ 403 ]: @todo FORBIDDEN
/removed/gallery3/modules/gallery/helpers/access.php [ 202 ]
#0 /removed/gallery3/modules/gallery/helpers/access.php(425): access_Core::forbidden()
#1 /removed/gallery3/modules/server_add/controllers/admin_server_add.php(60): access_Core::verify_csrf()
#2 [internal function]: Admin_Server_Add_Controller->remove_path()
#3 /removed/gallery3/modules/gallery/controllers/admin.php(62): call_user_func_array(Array, Array)
#4 [internal function]: Admin_Controller->__call('server_add', Array)
#5 /removed/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Admin_Controller), Array)
#6 [internal function]: Kohana_Core::instance(NULL)
#7 /removed/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#8 /removed/gallery3/application/Bootstrap.php(67): Event_Core::run('system.execute')
#9 /removed/gallery3/index.php(102): require('/home/removed/p...')
#10 {main}
2012-01-18 22:01:01 -06:00 --- error: Missing messages entry kohana/core.errors.403 for message kohana/core