symbiote-library / silverstripe-eventmanagement

Adds Event Management functionality to SilverStripe, building on the Event Calendar module.
Other
16 stars 17 forks source link

Notice at line 173 of /mysite/framework/dev/Deprecation.php #14

Open siorp opened 11 years ago

siorp commented 11 years ago

Hi! After installing all the modules required, when i try to create a new Registerable Event under a calendar a pop up is shown: Notice at line 173 of /mysite/framework/dev/Deprecation.php.

After a refresh I can see the Registerable Event in the tree but it is impossible to click on it.

I can also see the page in the front end but when I click on it the following message is shown: [User Error] Uncaught Exception: Object->call(): the method 'calendarwidget' does not exist on 'SiteTree' GET /silverstripe/nuova-registerable-event/ Line 675 in /Users/siorp/Dropbox/Siti/silverstripe/framework/core/Object.php Source 666 default : 667 throw new Exception ( 668 "Object->call(): extra method $method is invalid on $this->class:" 669 . var_export($config, true) 670 ); 671 } 672 } else { 673 // Please do not change the exception code number below. 674
675 throw new Exception("Object->call(): the method '$method' does not exist on '$this->class'", 2175); 676 } 677 } 678
679 // -------------------------------------------------------------------------------------------------------------- 680
681 /** Trace Object->
call(CalendarWidget,Array) CalendarEvent.php:137 SiteTree->CalendarWidget() CalendarEvent.php:137 CalendarEvent->CalendarWidget() call_user_func_array(Array,Array) Object.php:643 Object->call(CalendarWidget,Array) ViewableData.php:366 RegisterableEvent_Controller->CalendarWidget() ViewableData.php:366 ViewableData->obj(CalendarWidget,,,1) ViewableData.php:443 ViewableData->XML_val(CalendarWidget,,1) call_user_func_array(Array,Array) SSViewer.php:144 SSViewer_Scope->call(XML_val,Array) SSViewer.php:490 SSViewer_DataPresenter->__call(XML_val,Array) .cache.eventmanagement.templates.Layout.RegisterableEvent.ss:23 SSViewer_DataPresenter->XML_val(CalendarWidget,,1) .cache.eventmanagement.templates.Layout.RegisterableEvent.ss:23 include(/private/var/folders/p5/hj2gktjn531gj3hnzvvcrjnw0000gn/T/silverstripe-cache-Users-siorp-Dropbox-Siti-silverstripe/.cache.eventmanagement.templates.Layout.RegisterableEvent.ss) SSViewer.php:838 SSViewer->includeGeneratedTemplate(/var/folders/p5/hj2gktjn531gj3hnzvvcrjnw0000gn/T/silverstripe-cache-Users-siorp-Dropbox-Siti-silverstripe/.cache.eventmanagement.templates.Layout.RegisterableEvent.ss,RegisterableEvent_Controller,,Array) SSViewer.php:910 SSViewer->process(RegisterableEvent_Controller,) SSViewer.php:906 SSViewer->process(RegisterableEvent_Controller) Controller.php:214 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(/nuova-registerable-event/,DataModel) main.php:126

Cheers. Pier

june-zz commented 11 years ago

Did you ever resolve this issue? I'm getting the same "Notice at line 173 of /mysite/framework/dev/Deprecation.php" error message for standard pages in the admin.

ajshort commented 11 years ago

What branch using?

june-zz commented 11 years ago

Andrew - I came upon this thread via a google search. I downloaded SilverStripe via the main website as opposed to checking out a branch. I'm using SilverStripe 3. I downloaded this in June so I'm thinking its version 3.0.2. I've also noticed that the pages that I can't open utilize some sort of module or custom field. This is actually an issue with my local development copy. I'm able to access all of the pages on the demo server. My local server is running php 5.4.10, I don't know what the demo server is running off hand. And suggestions would be great. Thank you!