Support ⇒ Modules & Blocks ⇒ Calendar Not Saving Event Time ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexModules & Blocks

Calendar Not Saving Event Time Reply to topic


So just hit a weird little issue - adding in dates for a calendar for the month of June - and it refuses to save the time! Instead it makes it into an all-day event!

Cleared caches and all, but it's so weird! April and May had NO issue ... what could that be?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
[ Linux / Apache 2.2.8 / MySQL 5.0.45 / PHP 5.2.6 / CPG 8.2b - 9.3.4.1]


Okay weird - it's now doing it for ALL entries!!! What would make it DO that all of a sudden after years of working without fail?? I haven't changed a THING. Sad

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
[ Linux / Apache 2.2.8 / MySQL 5.0.45 / PHP 5.2.6 / CPG 8.2b - 9.3.4.1]


OOps forgot to add ... I am using CPGNuCalendar, Version
2.2.0.

Dragonfly Version 9.3.4.1 (I know, I need to upgrade, just haven't had the time!)

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
[ Linux / Apache 2.2.8 / MySQL 5.0.45 / PHP 5.2.6 / CPG 8.2b - 9.3.4.1]


Check your PHP error logs, it might be possible that your server upgraded PHP or made other changes and your very old scripts are failing. Remember you can choose error log location with ini_set() and set error_reporting to -1.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Find a place in cmsinit.inc, after most classes are loaded, to add this code. You need to modify the path to a file inside your home. It doesn't matter if the file doesn't exist, it will be created by the server.


error_reporting(-1);
ini_set('error_log', '/your/dir/file.log');

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS

All times are UTC


Jump to: