Calendar Install Problem
Permalink
Hi! Recently discovered C5 and loving it so far!
I have purchased some add-ons (and installed some of the free ones) and have had no problems with anything so far except with the Calendar.
When I click install it errors:
Fatal error: Call to a member function getAttributeKeyID() on a non-object in \concrete\models\collection_types.php on line 222
I have C5.3.3.1 and have tried on my local Windows machine with IIS and on my hosted LAMP and get the same error on both.
The Calendar is added to the Packages table, so Concrete thinks it has installed, but Calendar does not work correctly. Not sure what other info I can give that would be useful to find out why this is happening?
Thanks!
I have purchased some add-ons (and installed some of the free ones) and have had no problems with anything so far except with the Calendar.
When I click install it errors:
Fatal error: Call to a member function getAttributeKeyID() on a non-object in \concrete\models\collection_types.php on line 222
I have C5.3.3.1 and have tried on my local Windows machine with IIS and on my hosted LAMP and get the same error on both.
The Calendar is added to the Packages table, so Concrete thinks it has installed, but Calendar does not work correctly. Not sure what other info I can give that would be useful to find out why this is happening?
Thanks!
Thanks for that...
Unfortunately I now have another problem - the calender installs fine and I can see the sample calender, I can also create a calender page and create a new calender on a page.
The problem now is with events - I can create them though the calender, but when I try to view the event page I get:
On my local windows box:
Warning: include(D:\dev\CMS\PHP/themes/priory/view.php) [function.include]: failed to open stream: No such file or directory in D:\dev\CMS\PHP\concrete\libraries\view.php on line 738
Warning: include() [function.include]: Failed opening 'D:\dev\CMS\PHP/themes/priory/view.php' for inclusion (include_path='.;C:\php5\pear;D:\dev\CMS\PHP/libraries/3rdparty;D:\dev\CMS\PHP\concrete\config/../libraries/3rdparty') in D:\dev\CMS\PHP\concrete\libraries\view.php on line 738
And pretty much the same on my hosted linux:
Warning: View::include(/home/cnstrcou/public_html/thepriory/themes/priory/view.php) [view.include]: failed to open stream: No such file or directory in /home/cnstrcou/public_html/concrete5.3.3.1/libraries/view.php on line 738
Warning: View::include() [function.include]: Failed opening '/home/cnstrcou/public_html/thepriory/themes/priory/view.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/cnstrcou/public_html/thepriory/libraries/3rdparty:/home/cnstrcou/public_html/concrete5.3.3.1/config/../libraries/3rdparty') in /home/cnstrcou/public_html/concrete5.3.3.1/libraries/view.php on line 738
Unfortunately I now have another problem - the calender installs fine and I can see the sample calender, I can also create a calender page and create a new calender on a page.
The problem now is with events - I can create them though the calender, but when I try to view the event page I get:
On my local windows box:
Warning: include(D:\dev\CMS\PHP/themes/priory/view.php) [function.include]: failed to open stream: No such file or directory in D:\dev\CMS\PHP\concrete\libraries\view.php on line 738
Warning: include() [function.include]: Failed opening 'D:\dev\CMS\PHP/themes/priory/view.php' for inclusion (include_path='.;C:\php5\pear;D:\dev\CMS\PHP/libraries/3rdparty;D:\dev\CMS\PHP\concrete\config/../libraries/3rdparty') in D:\dev\CMS\PHP\concrete\libraries\view.php on line 738
And pretty much the same on my hosted linux:
Warning: View::include(/home/cnstrcou/public_html/thepriory/themes/priory/view.php) [view.include]: failed to open stream: No such file or directory in /home/cnstrcou/public_html/concrete5.3.3.1/libraries/view.php on line 738
Warning: View::include() [function.include]: Failed opening '/home/cnstrcou/public_html/thepriory/themes/priory/view.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/cnstrcou/public_html/thepriory/libraries/3rdparty:/home/cnstrcou/public_html/concrete5.3.3.1/config/../libraries/3rdparty') in /home/cnstrcou/public_html/concrete5.3.3.1/libraries/view.php on line 738
on upgrade to 1.21 i get the following error:
The following errors occurred when attempting to process your request:
* mysql error: [1062: Duplicate entry 'calendar_event_is_featured-1' for key 2] in EXECUTE("insert into AttributeKeys (akHandle, akName, akIsSearchable, akIsSearchableIndexed, akIsAutoCreated, akIsEditable, atID, akCategoryID, pkgID) values ('calendar_event_is_featured', 'Event is Featured', 1, 0, 0, 1, '3', '1', 0)")
The following errors occurred when attempting to process your request:
* mysql error: [1062: Duplicate entry 'calendar_event_is_featured-1' for key 2] in EXECUTE("insert into AttributeKeys (akHandle, akName, akIsSearchable, akIsSearchableIndexed, akIsAutoCreated, akIsEditable, atID, akCategoryID, pkgID) values ('calendar_event_is_featured', 'Event is Featured', 1, 0, 0, 1, '3', '1', 0)")
I got that too, thought it was just a problem with the uninstall (as my install didn't work correctly) so I deleted the calender entries manually from AttributeKeys, PageTypes and PageTypeAttributes.
Sorry about that!