Bharat-Reddy/Hostel-Management-System

admin

Prachi24599 opened this issue · 6 comments

I do not understand what/where is username and password for Hostel-Manager/admin.
i am unable to login there.

Here comes the error:- Warning: mysqli_connect(): (HY000/2002): No connection could be made because the target machine actively refused it. in C:\xampp\htdocs\hostel room allocation system\includes\config.inc.php on line 8
Connection Failed: No connection could be made because the target machine actively refused it.
i dont understand why?

@VishakAmin how do you login as an admin??

Hello

In the code there are few places where I kept that print "failed to allocate" statement. It happens only if a conditional fails. Debug it and see which conditional is failing.

On Thu, Nov 14, 2019, 4:05 PM Vishak Amin @.***> wrote: I checked all tables are their and created as you have mentioned in in repositories.. I checked the code it says the failed allocation every time I try to allocate a room to a students .. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5?email_source=notifications&email_token=AHCY7P4JT6QXGFN6L3WHXIDQTUSXDA5CNFSM4JKRIJHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEBL7CQ#issuecomment-553828234>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCY7P3RLXIUICQINEEO4FTQTUSXDANCNFSM4JKRIJHA .

hello please, i was able fix the software to an extent cos there were a lot of bugs there, the only issue now is i can't allocate rooms and it says undefined array key "hostel_name" in line 183 in allocate_room.php....please what to do here...