HESK version: 2.8.6
Hosting company: self-hosted
Write your message below:
When setting up a brand new installation of HESK/Mods For Hesk, it seems that the Admin Calendar does not work when used with Windows IIS server.
When trying to load the Admin Calendar page, an error pops up saying "An error occurred when trying to load events". No console error happens, nor is there a log generated in the Mods for HESK message log when loading the page. You can click to create an event and it shows up, but upon reload, the event disappears. When clicking on the event (before reloading), the following is sent in the console:
Code: Select all
Uncaught TypeError: Cannot read property 'length' of undefined
at displayEditModal (mods-for-hesk-calendar.js:516)
at HTMLAnchorElement.eventClick (mods-for-hesk-calendar.js:83)
at Ot.W [as trigger] (fullcalendar.min.js:6)
at Et.e.constructor.trigger (fullcalendar.min.js:8)
at Et.e.constructor.handleSegClick (fullcalendar.min.js:7)
at HTMLAnchorElement.<anonymous> (fullcalendar.min.js:7)
at HTMLDivElement.dispatch (jquery-2.2.4.min.js?v=53:3)
at HTMLDivElement.r.handle (jquery-2.2.4.min.js?v=53:3)
displayEditModal @ mods-for-hesk-calendar.js:516
eventClick @ mods-for-hesk-calendar.js:83
W @ fullcalendar.min.js:6
trigger @ fullcalendar.min.js:8
handleSegClick @ fullcalendar.min.js:7
(anonymous) @ fullcalendar.min.js:7
dispatch @ jquery-2.2.4.min.js?v=53:3
r.handle @ jquery-2.2.4.min.js?v=53:3
I stood up a new Linux box and installed a LAMP server on there, and the calendar works just fine. Unfortunately due to other requirements, the HESK server has to stay on the IIS box. Is there perhaps a permission error? Or is this some Windows incompatibility? IIS_IUSRS has full control over the HESK folder. The IIS box is running PHP 7.4.20 and the LAMP box is running PHP 7.4.3.