Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to login into admin panel of Gallery 3.1.5 on PHP 7.0 #16

Open
jameswill opened this issue Nov 15, 2021 · 5 comments
Open

Unable to login into admin panel of Gallery 3.1.5 on PHP 7.0 #16

jameswill opened this issue Nov 15, 2021 · 5 comments

Comments

@jameswill
Copy link

Hi,

I am unable to login into the admin panel of Gallery 3.1.5. Getting following error on PHP 7.0 and Mysql 5.5

2021-11-15 08:00:28 +00:00 --- error: Kohana_Exception [ 403 ]: @todo FORBIDDEN
[[path]]/gallery315/modules/gallery/helpers/access.php [ 202 ]
#0 [[path]]/gallery315/modules/gallery/helpers/access.php(425): access_Core::forbidden()
#1 [[path]]/gallery315/modules/gallery/controllers/login.php(31): access_Core::verify_csrf()
#2 [internal function]: Login_Controller->auth_ajax()
#3 [[path]]/gallery315/system/core/Kohana.php(302): ReflectionMethod->invokeArgs(Object(Login_Controller), Array)
#4 [[path]]/gallery315/system/core/Event.php(208): Kohana_Core::instance(NULL)
#5 [[path]]/gallery315/application/Bootstrap.php(67): Event_Core::run('system.execute')
#6 [[path]]/gallery315/index.php(124): require('/home/soft/publ...')
#7 {main}
2021-11-15 08:00:28 +00:00 --- error: Missing messages entry kohana/core.errors.403 for message kohana/core

However I can successfully login when I update my PHP to 7.1 The README.md file states the script requires 7.0 version. Is the requirement of PHP defined in README.md file is wrong ? OR am I doing something wrong ?

@GaneshKandu
Copy link

@bwdutton
Any update on this ?

@bwdutton
Copy link
Owner

I installed a fresh Ubuntu Xenial system which runs PHP 7.0.33, I was able to install and upload a photo. What OS are you using? Are there any other changes between the PHP versions you are installing?

@jameswill
Copy link
Author

Hi @bwdutton

I am using CentOS Linux release 7.9.2009 (Core) version and PHP 7.0.33

@jameswill
Copy link
Author

Hi,

Just wanted to follow up on this ?

@jameswill
Copy link
Author

Hi,

Also I wanted to add it shows module update in the following modules when we access admin panel.

Comment
Info

Because it has updated wrong values in database [[prefix]]modules table. i.e Comment --> 7 and Info --> 2 whereas the values should be 8 and 3 respectively.

Version number stated is also wrong. i.e it shows 3.0+ whereas version is 3.1.5 as defined on github release page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants