tecnickcom / tcexam

TCExam is a CBA (Computer-Based Assessment) system (e-exam, CBT - Computer Based Testing) for universities, schools and companies, that enables educators and trainers to author, schedule, deliver, and report on surveys, quizzes, tests and exams.
http://www.tcexam.org
Other
570 stars 401 forks source link

Login reload #419

Open jayket opened 10 months ago

jayket commented 10 months ago

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:

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 commented 9 months ago

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 commented 5 months ago

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 commented 5 months ago

Yes also solved my problem Thanks

jayket commented 3 months ago

I have tried what you mentioned and to ignore login fingerprinting as well to no avail. Has anyone got this running on a raspberry pi?

On Jun 26, 2024, at 7:36 AM, AbdulRasheed8888 @.***> wrote:



Yes also solved my problem Thanks

— Reply to this email directly, view it on GitHubhttps://github.com/tecnickcom/tcexam/issues/419#issuecomment-2191474388, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZ5NWRXFZCWYZZVKKWUKJ7LZJKRUXAVCNFSM6AAAAABCOOOTDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRGQ3TIMZYHA. You are receiving this because you authored the thread.Message ID: @.***>

AhmedKasbany commented 4 days ago

hello , i have an issue i think related , when users takes the exame the system return them to login again , but this issue not usual