Skip to content

gallery2_import fails : Kohana_Exception [ kohana/core.errors.403 ]: @todo FORBIDDEN #34

Description

@JanaUramova

I have an old gallery2 installation (version 2.3.2), but becasue of upgrade of php on my web server, I have setup galley3. I followed official istallation of gallery3. Everything seems to be running properly. I can login as admin and install the gallery2_import module.

However, when I start the import using /gallery2/embed.php I receive the following error:

Platform information
Host name: php84
Operating system: Linux 5.15.0-78-generic
Apache: Apache
PHP: 8.4.1
MySQL: 5.7.39-42-log
Server load: 9.73291015625 10.3657226562 10.6962890625
Graphics toolkit: imagemagick

Gallery stats
Version: 3.0+ (branch master, build 434)
Albums: 0
Photos: 0

Error is here:

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/gallery/libraries/MY_Forge.php[ 42 ] » access_Core::verify_csrf()

MODPATH/forge/libraries/Forge.php[ 164 ] » Forge->validate()

MODPATH/gallery/libraries/MY_Forge.php[ 41 ] » Forge_Core->validate()

MODPATH/g2_import/controllers/admin_g2_import.php[ 80 ] » Forge->validate()

MODPATH/gallery/controllers/admin.php[ 62 ] » Admin_g2_import_Controller->save()

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

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

SYSPATH/core/Event.php[ 208 ] » Kohana_Core::instance( arguments )

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions