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
557 stars 400 forks source link

Authentication working with localhost but not with IPaddress. #429

Open yndesai opened 1 month ago

yndesai commented 1 month ago

I have installed TCExam ver. 16.3.2 over XAMPP for Windows 8.2.12.

I am having issue with authentication using static ip address.

I able to use complete TCexam with following address from server http://localhost/tcexam/public/code/index.php

I am not able to use TCExam using following address from server as well as client pc http://10.7.150.204/tcexam/public/code/index.php After providing correct username and password I get stuck with authentication page without any error.

tcexam authentication.zip

Thanks in advance

koyalkarvarun commented 1 month ago

I have installed this repo on my server. I have not encountered any authentication error. To know exact error why don't you look server log. If you are getting blank screen then definitely it might have encounter fatal error in some line which might be logged in your server log. in XAMPP itself i think we have option of viewing error log click on apache2 error log and see what is going wrong.

yndesai commented 1 month ago

I have tested today and checked if error log is updated. There is no error log recorded in apache log. However, I am sharing access log file below with remarks hope this will help identify issue.

Thankyou for your response, apache_access.log

yndesai commented 1 month ago

I have tested few of forks and found that https://github.com/vipulkumar-dev/cpuexam does not have this issue.

While https://github.com/Girlaloo/tcexam has same issue.

Thought this will help identify the issue.

Thanks.

koyalkarvarun commented 1 month ago

I have also forked this repo. And I don't have any login problem. We are trying to customize this repo to our need. You can visit our website https://exam.ramayanaolympiad.com/

while installation there is column TCExam Port in your case it must be 80. try reinstalling this repo again and while installing see for column TCExam Port it must be 80 for http request and 443 for https request