meeting-room-booking-system / mrbs-code

MRBS application code
Other
124 stars 61 forks source link

Unknown Users #2077

Open jberanek opened 6 years ago

jberanek commented 6 years ago

After receiving several reports that members of our teaching staff were unable to login into the system, I tested it myself as administrator and encountered the same problem. It was working perfectly last week. Have there been any changes or updates that may have caused this? If so is there anything I can do to get it back online?

Any suggestions would be greatly appreciated.

Kind Regards,

Harry

Reported by: *anonymous

Original Ticket: mrbs/support-requests/1367

jberanek commented 6 years ago

Have you updated MRBS, PHP, MySQL or the server? Or changed config settings on any of those?

Original comment by: campbell-m

jberanek commented 6 years ago

Hi Campbell,

Thanks for getting back to me.

I haven't changed or updated anything. The last booking that was made wast last Thursday the 23rd November. When any users tries to login, they get the following error message:

"You do not have the necessary rights to view this page."

Original comment by: *anonymous

jberanek commented 6 years ago

I suspect something has gone wrong with your PHP sessions. Maybe your session directory is full.

If you switch $auth['session'] to cookie and everything works then that would indicate a problem with PHP sessions.

Original comment by: campbell-m

jberanek commented 6 years ago

I have only used PHP briefly, could you instruct me how to do this if possible?

Thanks

Original comment by: *anonymous

jberanek commented 6 years ago

The first bit is easy. It is an MRBS config setting. Just set

$auth['session'] = 'cookie';

in your config.inc.php file. If that gets your users going, then solving the problem with PHP sessions can wait a bit. Maybe somebody else has time to explain what to do.

Original comment by: campbell-m

jberanek commented 6 years ago

Where is the config.inc.php file located?

Original comment by: *anonymous

jberanek commented 6 years ago

On your web server in the top level MRBS folder

Original comment by: campbell-m