skip to Main Content

Request failed, xhr: XMLHttpRequest. 400 bad Request – Ubuntu

I get the following error when I try to load up a Fullcalendar page. The calendar loads but I cannot save anything on the calendar. http://localhost/atmtest/frontend/web/index.php?r=atm/wpheader/jsoncalendar&wphid=10601&start=2023-01-22T00%3A00%3A00-04%3A00&end=2023-01-29T00%3A00%3A00-04%3A00 I am using PHP 8.2 and Apache 2.4.41 Ubuntu. FullCalendar v5.8.0 The following code…

VIEW QUESTION

Cannot read properties of undefined (reading 'formatDate') – Jquery ajax

What's the problem in my code? Cannot read properties of undefined (reading 'formatDate') editable:true, eventResize:function(event) { console.log(event.start); var start = $.fullCalendar.formatDate(event.start, "YYYY-MM-DD HH:mm:ss"); var end = $.fullCalendar.formatDate(event.end, "YYYY-MM-DD HH:mm:ss"); var title = event.title; var id = event.id; $.ajax({ url:"../Components/calendar/update.php", type:"POST",…

VIEW QUESTION
Back To Top
Search