Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Event Management Module Error


Go to End


2 Posts   1211 Views

Avatar
jrobida999

Community Member, 10 Posts

14 August 2013 at 6:28am

Good Afternoon All,

I'm not brand new to SilverStripe, although this is the first full implementation I've taken on. Also, I'm not a total noob to web, but I am not very proficient in php so please bear with me.

I'm running in dev mode. I installed the dependencies for Event Managment (Event Calendar, MultiForm, ItemSetField) before installing EventManagement. After running dev/build for each module I created a page of the "Calendar" type. Now I can't even login to the system. Here's what I get.

-------------------------------------------------------
[Strict Notice] Declaration of RegisterableEvent::fieldLabels() should be compatible with that of SiteTree::fieldLabels()
GET /admin/pages

Line 193 in /home/****/public_html/****/eventmanagement/code/pages/RegisterableEvent.php
Source

184 'RequireLoggedIn' => _t('EventManagement.REQUIREDLOGGEDIN', 'Require users to be logged in to register?'),
185 'AfterRegTitle' => _t('EventManagement.AFTERREGTITLE', 'After registration title'),
186 'AfterRegContent' => _t('EventManagement.AFTERREGCONTENT', 'After registration content'),
187 'AfterUnregTitle' => _t('EventManagement.AFTERUNREGTITLE', 'After un-registration title'),
188 'AfterUnregContent' => _t('EventManagement.AFTERUNREGCONTENT', 'After un-registration content'),
189 'InvitationsHeader' => _t('EventManagement.EVENTINVITES', 'Event Invitations')
190 ));
191 }
192
193 }
194
195 /**
196 * @package silverstripe-eventmanagement
197 */
198 class RegisterableEvent_Controller extends CalendarEvent_Controller {
199

Trace

SS_ClassLoader::loadClass
ClassLoader.php:82
SS_ClassLoader->loadClass(RegisterableEvent)
spl_autoload_call(RegisterableEvent)
class_exists(RegisterableEvent)
Injector.php:897
SilverStripeServiceConfigurationLocator->locateConfigFor(RegisterableEvent)
Injector.php:770
Injector->get(RegisterableEvent)
Core.php:341
singleton(RegisterableEvent)
CMSMain.php:445
CMSMain->generatePageIconsCss()
CMSMain.php:60
CMSMain->init()
Controller.php:139
Controller->handleRequest(SS_HTTPRequest,DataModel)
LeftAndMain.php:357
-------------------------------------------------------

Thank you in advance and I appreciate your assistance tremendously!!

-Jake

Avatar
jrobida999

Community Member, 10 Posts

14 August 2013 at 7:12am

On another note, in my _config.php file I have

if (Director::isLive()) Debug::send_errors_to("****@****.com");

So when I set my site to "live", I can now see all pages except my calendar page, but my email response is as follows:

------------------------------------------------------------------
[Error] Uncaught InvalidArgumentException: Filter class "NotFilter" does not exist
/home/****/public_html/****.com/framework/model/DataList.php:469

DataList->applyFilterContext(StartDate,Not,2013-09-13)
DataList.php:389
DataList->addFilter(Array)
DataList.php:369
DataList->filter(Array)
Calendar.php:217
Calendar->getStandardEvents(2013-08-13,2013-09-13,)
Calendar.php:172
Calendar->getEventList(2013-08-13,2013-09-13,,,)
Calendar.php:780
Calendar_Controller->Events()
ViewableData.php:366
ViewableData->obj(Events,,,1,)
ViewableData.php:408
ViewableData->cachedCall(Events,,)
ViewableData.php:632
ViewableData_Customised->cachedCall(Events,)
ViewableData.php:421
ViewableData->hasValue(Events,,1)
call_user_func_array(Array,Array)
SSViewer.php:144
SSViewer_Scope->__call(hasValue,Array)
SSViewer.php:490
SSViewer_DataPresenter->__call(hasValue,Array)
.cache.eventcalendar.templates.Layout.Calendar.ss:41
SSViewer_DataPresenter->hasValue(Events,,1)
.cache.eventcalendar.templates.Layout.Calendar.ss:41
include(/chroot/tmp/silverstripe-cache-home-****-public_html-****.com/.cache.eventcalendar.templates.Layout.Calendar.ss)
SSViewer.php:838
SSViewer->includeGeneratedTemplate(/tmp/silverstripe-cache-home-****-public_html-****.com/.cache.eventcalendar.templates.Layout.Calendar.ss,ViewableData_Customised,,Array)
SSViewer.php:910
SSViewer->process(ViewableData_Customised,)
SSViewer.php:906
SSViewer->process(ViewableData_Customised)
Controller.php:209
Controller->handleAction(SS_HTTPRequest)
RequestHandler.php:184
RequestHandler->handleRequest(SS_HTTPRequest,DataModel)
Controller.php:153
Controller->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:197
ContentController->handleRequest(SS_HTTPRequest,DataModel)
ModelAsController.php:68
ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:296
Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:119
Director::direct(/classes/show/month,DataModel)
main.php:126

Details
$_SERVER['HTTP_ACCEPT']

text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

$_SERVER['HTTP_ACCEPT_CHARSET']

$_SERVER['HTTP_ACCEPT_ENCODING']

gzip, deflate

$_SERVER['HTTP_ACCEPT_LANGUAGE']

en-US,en;q=0.5

$_SERVER['HTTP_REFERRER']

$_SERVER['HTTP_USER_AGENT']

Mozilla/5.0 (Windows NT 6.2; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0

$_SERVER['HTTPS']

$_SERVER['REMOTE_ADDR']

**.***.***.**
------------------------------------------------------------------

Hopefully this helps.

-Jake