I keep getting this error “Uncaught TypeError: Cannot read property ‘rec_type’ of undefined”
when I delete an event.
I’m attaching some code, maybe you can spot the error:
Hi
It is the same.
If I try to delete the event I’ve just created I get the error “Cannot read property ‘rec_type’ of undefined”, but it works after I refresh the page.
Even then the event doesn’t disappear straight away. A line goes across the event title, but no error is displayed, and if I refresh the page once again it is gone.
I have moved to a different server and the same code was working on the old one.
Now I’m getting this error. Is this related to the permissions on the server?
<?xml version='1.0' ?>
Warning: error_log(log.txt): failed to open stream: Permission denied in /var/www/sites/dev.school360.co.uk/www/scheduler/codebase1/tools.php on line 205
Yep, on new server php has not write access to the connector’s folder and can’t write a log file. You can change folder access, or just comment enable_log command ( connector itself doesn’t need write access, it is necessary only for logging )
Hi,
please find attached a fix for this issue. Add this file in your project after “dhtmlxscheduler.js”.
Next release of the scheduler will include this fix.
Thanks for the problem report! dhtmlxscheduler_delete.js.zip (390 Bytes)