Page 1 of 1

CGCalendar Upgrade error

Posted: Mon Jul 17, 2017 6:38 pm
by cpansewicz
Hi,

We are in the process of updating our CMS from 2.1.1 to 2.2.2. The upgrade went well, but there was an issue with upgrading the CGCalendar module and the way the templates were setup, so we downgraded the module to 1.16.1 for the meantime. Now, where content should be showing, the page says "Array" instead (see screenshot). What should I fix?

Thanks!

Re: CGCalendar Upgrade error

Posted: Mon Jul 17, 2017 7:09 pm
by Rolf
From the release notes CGCalendar 2.4.4:
You may need to reset the fullCalendar prototype template back to factory defaults in the 'Template Types' tab of Design Manager, and then create a new fullCalendar template.

Re: CGCalendar Upgrade error

Posted: Mon Jul 17, 2017 7:28 pm
by cpansewicz
Ok. Thanks. I'm not seeing any Calendar templates under Template Types in Design Manager. The Product templates aren't there either.

Re: CGCalendar Upgrade error

Posted: Mon Jul 17, 2017 8:41 pm
by calguy1000
You said you 'downgraded' I don't know what you did, there is no mechanism in CMSMS to downgrade anything.

The only 'clean way' to downgrade is to restore from a known good backup.

Re: CGCalendar Upgrade error

Posted: Mon Jul 17, 2017 8:56 pm
by cpansewicz
Yes. That is what was done.

Re: CGCalendar Upgrade error

Posted: Mon Jul 17, 2017 9:07 pm
by cpansewicz
This is my system configuration now. The CGCalendar 1.16.1 is rendering the word "Array" anywhere content should be.

----------------------------------------------
Cms Version: 2.2.2
Installed Modules:
AceEditor2: 1.05
AdminSearch: 1.0.4
CGBlog: 1.14.4
CGCalendar: 1.16.1
CGContentUtils: 2.2.2
CGExtensions: 1.55.6
CGSimpleSmarty: 2.1.6
CGSmartImage: 1.21.9
CMSContentManager: 1.1.5
CMSForms: 1.11.2
CMSMailer: 6.2.14
CmsJobManager: 0.1
CodeMirror: 3.2.0
DesignManager: 1.1.3
FileManager: 1.6.3
FilePicker: 1.0
FormBrowser: 0.5
FormBuilder: 0.8.1.6
InstaFeed: 3.0
JQueryTools: 1.4.0.3
ListIt2: 1.4.1
ListIt2Chapel: 1.4.1
MenuManager: 1.50.3
MicroTiny: 2.2
ModuleManager: 2.1.1
Navigator: 1.0.7
News: 2.51.2
Products: 2.26.9
Search: 1.51.2
SiteMapMadeSimple: 1.2.8
TemplateExternalizer: 2.1.6
ThemeManager: 1.1.8

Re: CGCalendar Upgrade error

Posted: Wed Jul 19, 2017 7:10 pm
by cpansewicz
Hi,

As a followup to this post, I preformed the following steps:

1. Returned to the last working back-up with the earlier version of the calendar
2. Updated the site to 2.2.2
3. Updated the calendar module

The calendar did update fine. All my templates are missing, and not to be found in Design Manager.

Is there an easy solution to this?

Thanks!

Re: CGCalendar Upgrade error

Posted: Fri Jul 28, 2017 5:39 am
by cpansewicz
Hi,

Just another update to this Array error. These are the steps I've taken to troubleshoot the error.

1. Remove the existing CGCalendar module
2. Install a fresh copy CGCalendar 2.4.7
3. Reconfigure / add categories and custom fields
4. Import templates and a test event
5. Add JQuery, etc to header

Everything went well. But my calendar is still rendering "Array" anywhere there is a custom field. The custom fields are listed in my templates as "{$event.fields.fieldname}" .

Thank you so much any input or advice on what to do next.

Thanks!