CGCalendar error after upgrade

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
churchcat
Forum Members
Forum Members
Posts: 15
Joined: Mon Jan 16, 2012 4:47 pm
Location: Marietta, OH

CGCalendar error after upgrade

Post by churchcat »

Upgraded CGCalendar module and now get message:
ERROR: at line 1060 in file /home/fuusm/public_html/lib/classes/class.CmsLayoutTemplate.php:

Message:Could not find default CmsLayoutTemplate row for type CGCalendar::full calendar

Don't have a clue what to do about this. Please help.

Sytem info below.

----------------------------------------------
Cms Version: 2.1.2
Installed Modules:
AdminSearch: 1.0
CGCalendar: 2.1.3
CGExtensions: 1.53.5
CGSimpleSmarty: 2.1
CMSContentManager: 1.1
CMSMailer: 6.2.14
Captcha: 0.5.2
CustomContent: 1.10
DesignManager: 1.1.1
FileManager: 1.5.2
FrontEndUsers: 1.31.2
Gallery: 2.1.4
JQueryTools: 1.3.9
LightBox: 1.0.1
MenuManager: 1.50.2
MicroTiny: 2.0.3
ModuleManager: 2.0.2
Navigator: 1.0.2
News: 2.50.4
Search: 1.50.2
SelfRegistration: 1.9.6
ThemeManager: 1.1.8
TinyMCE: 3.1.3

Config Information:
php_memory_limit:
max_upload_size: 1024000000
url_rewriting: none
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: America/New_York
permissive_smarty: false

Php Information:
phpversion: 5.4.37
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 22519
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 512M
max_execution_time: 60
register_globals: Off (False)
output_buffering: On
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 64M
upload_max_filesize: 1024M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On

Performance Information:
allow_browser_cache: On (True)
browser_cache_expiry: 60
php_opcache: Off (False)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
smarty_cache_udt: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 2.6.18-348.18.1.el5 On x86_64
Server Db Type: MySQL (mysql)
Server Db Version: 5.5.49
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:
tmp: /home/fuusm/public_html/tmp (0755)
tmp_cache: /home/fuusm/public_html/tmp/cache (0755)
templates_c: /home/fuusm/public_html/tmp/templates_c (0755)
modules: /home/fuusm/public_html/modules (0755)
uploads: /home/fuusm/public_html/uploads (0755)
File Creation Mask (umask): /home/fuusm/public_html/tmp/cache (0755)
config_file: 0444
----------------------------------------------
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: CGCalendar error after upgrade

Post by calguy1000 »

Because of a minor error in the upgrade procedure no templates for CGCalendar were marked as 'default for that type' in DesignManager.

You should be able to go into Design Manager, select a CGCalendar list view template, and mark it as the default for that type. After that this error should go away.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
dondion
Forum Members
Forum Members
Posts: 44
Joined: Sat Mar 24, 2012 11:36 am

Re: CGCalendar error after upgrade

Post by dondion »

Im having the same problem.

I went to Layout -> Design Manager
Tab: Template types
I do see the CG Calender list views but there is no option to mark it as default anywhere..

Am i looking in the wrong place?
frie
New Member
New Member
Posts: 4
Joined: Mon Oct 24, 2011 8:20 pm

Re: CGCalendar error after upgrade

Post by frie »

dondion wrote:Im having the same problem.

I went to Layout -> Design Manager
Tab: Template types
I do see the CG Calender list views but there is no option to mark it as default anywhere..

Am i looking in the wrong place?
I solved it the following way:
- navigate to "Layout / Design Manager"
- select 2nd tab "Templates"
- click "Edit" icon of respective template
- select 4th tab "Advanced"
- check box "Default"
- save template ("Apply" / "Submit")

After setting some calendar templates as "default" the error page went away, but currently I see a bunch of other error messages when displaying in list view: all indicating "Notice: Undefined index..." or "Warning: array_merge(): Argument #1 is not an array..." in modules/CGCalendar/lib/class.cgc_event_loader.php on line 197 or 199.

Will investigate this further...

By the way: a couple of parameters of the cgcalendar module are not longer supportet, e.g. "upcominglisttemplate" (as far as I remember, already changed this). Any documentation available?
User avatar
dondion
Forum Members
Forum Members
Posts: 44
Joined: Sat Mar 24, 2012 11:36 am

Re: CGCalendar error after upgrade

Post by dondion »

Thank you Frie for taking the time.

When i followed your steps, i noticed there were no cgcalender templates in the list in the 2nd tab.
So i duplicated them from the 4th tab; Template types / Prototypes and set it as default.

After that, it still didnt work but then i changed the call to: {CGCalendar display="event" fullcalendartemplate="eventListView"} and it worked well again.

Im not sure what exactly made it work, but im happy i can continue now!

So thanks again, you pointed me into the right direction.
Post Reply

Return to “Modules/Add-Ons”