meeting-room-booking-system / mrbs-code

MRBS application code
Other
124 stars 61 forks source link

Problem in displaying rooms and added users #3604

Closed Lucaccc closed 8 months ago

Lucaccc commented 8 months ago

Good morning. I have installed the platform on hosting altervista and I can reach it online. The problem is that: when I enter rooms/ users these are not viewable from the admin side, nor from other users. I specify that the data entered are present in the db.

Thank you!

campbell-m commented 8 months ago

There is a known problem with the Altervista platform: see https://github.com/meeting-room-booking-system/mrbs-code/issues/3579.

Can you try editing the method updateTimestamp() in the file lib/MRBS/SessionHandlerDb.php and changing line 245 (roughly, depending on version) from

      $result = (1 === db()->command($sql, $sql_params));

to

      $result = true;

If that works then it is the same problem.

Lucaccc commented 8 months ago

There is a known problem with the Altervista platform: see #3579.

Can you try editing the method updateTimestamp() in the file lib/MRBS/SessionHandlerDb.php and changing line 245 (roughly, depending on version) from

      $result = (1 === db()->command($sql, $sql_params));

to

      $result = true;

If that works then it is the same problem.

Good morning. So it works. Thank you.

campbell-m commented 8 months ago

Which version of MRBS are you running?

campbell-m commented 8 months ago

Sorry, I didn't see your edit from "I still have the same problem" to "So it works"!

Good, I am glad it is working now. The problem is caused by a change Altervista have made to their version of PHP. They say they have fixed it but have not yet rolled out the fix to their platform. Until they do, it is possible you may see other problems.