Khronos issues

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
10010110
Translator
Translator
Posts: 217
Joined: Tue Jan 22, 2008 9:57 am

Khronos issues

Post by 10010110 »

So, I’m trying to switch from CGCalendar to Khronos and if I import CGCalendar data it shows up in the backend but if I load the front end calendar view, an alert comes up saying “Oops... something happened when we were talking to the server, please try again”. The browser’s error console tells me that there is an error 500 loading http://localhost/index.php?mact=Khronos,cntnt01,ajax_fetchevents,0&cntnt01detailpage=16&cntnt01returnid=16&cntnt01showchildren=1&cntnt01detailpage=16&cntnt01eventtemplate=&cntnt01editpage=&cntnt01editeventtemplate=&start=2024-04-01&end=2024-05-13&_=1712871139977

Also, all past events are there in the backend but if I’m adding a new one, this error comes up:
FATAL ERROR:
QUERY = INSERT INTO cms_module_khronos_events (event_id, event_title, event_summary, event_details, event_date_start, event_date_end, event_parent_id, event_recur_period, event_date_recur_end, event_created_by, event_recur_nevents, event_recur_interval, event_recur_weekdays, event_recur_monthdays, event_allows_overlap,event_all_day,event_status, event_create_date, event_modified_date) VALUES (59,'Test','','','2024-04-18 12:00:00',NULL,-1,'none',NULL,-101,-1,-1,'','',1,0,'D',NOW(),NOW())
ERROR = Unknown column 'event_status' in 'field list'
So, apparently something goes wrong with the import from CGCalendar.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1630
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Khronos issues

Post by DIGI3 »

Looks quite similar to this known issue: http://dev.cmsmadesimple.org/bug/view/12678
Not getting the answer you need? CMSMS support options
10010110
Translator
Translator
Posts: 217
Joined: Tue Jan 22, 2008 9:57 am

Re: Khronos issues

Post by 10010110 »

OK, thanks, looks like it. All imported events are unpublished, apparently.
Also, I loaded the page at http://localhost/index.php?mact=Khronos,cntnt01,ajax_fetchevents,0&cntnt01detailpage=16&cntnt01returnid=16&cntnt01showchildren=1&cntnt01detailpage=16&cntnt01eventtemplate=&cntnt01editpage=&cntnt01editeventtemplate=&start=2024-04-01&end=2024-05-13&_=1712871139977 directly in the browser and the error log gives me this:

Code: Select all

PHP Fatal error:  Uncaught Error: Call to a member function MoveNext() on null in ~/modules/Khronos/action.ajax_fetchevents.php:166
Stack trace:
#0 ~/modules/CMSMSExt/lib/class.XTModule.php(874): include()
#1 ~/lib/classes/class.CMSModule.php(1483): CMSMSExt\\XTModule->DoAction('ajax_fetchevent...', 'cntnt01', Array, '16')
#2 ~/lib/page.functions.php(550): CMSModule->DoActionBase('ajax_fetchevent...', 'cntnt01', Array, '16', Object(Smarty_CMS))
#3 ~/index.php(156): preprocess_mact('16')
#4 {main}
  thrown in ~/modules/Khronos/action.ajax_fetchevents.php on line 166
Also, just for the records: in admin, whenever it loads the events, this comes up in the error log:
PHP Warning: Undefined array key "event_status" in ~/modules/Khronos/action.admin_ajax_fetchevents.php on line 162
Post Reply

Return to “Modules/Add-Ons”