#1
Try to get jquery fullcalendar to call a controller function that will query DB and return event records in JSON. Ive tried a dozen ways with various syntax all bonified by the documentation, stack overflow, etc. Could the framework be blocking that call? I put an echo('It ran!); die(); statement in the controller function load() and it never runs. Alert messages in the javascript confirm it successfully executed this code.
Here are just a few that run with no errors but function never triggered:
events: 'welcome-ccmps/load',
events: 'welcome-ccmps/load',
events: 'http://localhost/honchotg/welcome-ccmps/load', (runs fine in URL box)
and this successfully runs:
events: [
{
title: 'Event1',
start: '2022-12-20'
},
{
title: 'Event2',
start: '2022-12-21'
}
// etc...
],
Help please!!!!! Eric, Founding Member
#2
Never heard of php blocking anything.
So is jquery finally broken.
#3
If xhr or fetch works locally but getting blocked once deployed, chances are you’re missing CORS allow headers
#4
Hi Eric, long time no see ?

I see you have a submodule in your 'Welcome' controller called 'ccmps' with a method of 'load'.

Can you please share some code so we can better understand your issue > 'ccmps' controller and the viewfile for 'load' and/ or the one you use the 'jquery fullcalendar' in?