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

Login reload #419

Open
jayket opened this issue Jan 28, 2024 · 4 comments
Open

Login reload #419

jayket opened this issue Jan 28, 2024 · 4 comments

Comments

@jayket
Copy link

jayket commented Jan 28, 2024

Describe the bug
I finally got this running on my raspberry pi 4 I only need it for a couple of people but when i authenticate with the default username and password (admin 1234) the page reloads right back to the login screen

To Reproduce
Steps to reproduce the behavior:

  1. ...just attempt to login in with default login

Expected behavior
take me to the next screen when the correct information is entered
Logs
If applicable, copy the relevant logs to help explain your problem.
no php logs in apache2 listed
Environment:

  • OS:rasbian
  • Version:arm64lite

Additional context
App version:16.1.0
Php version:8.3
Apache version:2.4.56
Zbar-tools
Texlive
Mariadb version:10.5.21

@jayket
Copy link
Author

jayket commented Feb 7, 2024

I have confirmed the database is passing information as I do see session data being updated in the tables if I manually delete this data and attempt to re-access the website, new data is added. I still have no ideas why when I click login the login page is just reloaded.

@rfauzan46
Copy link

I have similar issue to this, and the solution I find is to check the cookie settings in shared/config/tce_config.php. If you try to push the TCExam in an HTTP request instead of HTTPS, make sure to change the K_COOKIE_SECURE to 'false'.

@AbdulRasheed8888
Copy link

Yes also solved my problem
Thanks

@jayket
Copy link
Author

jayket commented Aug 25, 2024 via email

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