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.

Data Model Questions /

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

method 'redirectback' does not exist on 'GridFieldDetailForm_ItemRequest'


Go to End


2 Posts   2447 Views

Avatar
veodave

Community Member, 1 Post

4 January 2015 at 6:19pm

Hi

I'm getting the following error intermittently when trying to edit data models within the ModelAdmin classes I have. I'm not getting any errors on my local xampp install but this is happening intermittently on my development site.

I'm just running the framework side of things (no cms) and below is the full output error message. I'm sure it must be something to do with server configuration as it's not reproducible locally but I just don't know what. Doing a google I found a IRC thread with this that mentions that 'apache needs to have access to _config' directory as a solution but it does as far as I'm aware

Thanks for your help
David

[04-Jan-2015 05:01:24] Error at framework/core/Object.php line 763: Uncaught Exception: Object->__call(): the method 'redirectback' does not exist on 'GridFieldDetailForm_ItemRequest' (http://development.indulgelsrholidays.com/admin/packages/Package/EditForm/field/Package/item/2/ItemEditForm)

Object->__call(redirectBack,Array) 
Form.php:296
GridFieldDetailForm_ItemRequest->redirectBack() 
Form.php:296
Form->httpSubmission(SS_HTTPRequest) 
RequestHandler.php:288
RequestHandler->handleAction(SS_HTTPRequest,httpSubmission) 
RequestHandler.php:200
RequestHandler->handleRequest(SS_HTTPRequest,DataModel) 
RequestHandler.php:222
RequestHandler->handleRequest(SS_HTTPRequest,DataModel) 
GridFieldDetailForm.php:102
GridFieldDetailForm->handleItem(GridField,SS_HTTPRequest) 
GridField.php:716
GridField->handleRequest(SS_HTTPRequest,DataModel) 
RequestHandler.php:222
RequestHandler->handleRequest(SS_HTTPRequest,DataModel) 
RequestHandler.php:222
RequestHandler->handleRequest(SS_HTTPRequest,DataModel) 
GridFieldDetailForm.php:102
GridFieldDetailForm->handleItem(GridField,SS_HTTPRequest) 
GridField.php:716
GridField->handleRequest(SS_HTTPRequest,DataModel) 
RequestHandler.php:222
RequestHandler->handleRequest(SS_HTTPRequest,DataModel) 
RequestHandler.php:222
RequestHandler->handleRequest(SS_HTTPRequest,DataModel) 
Controller.php:153
Controller->handleRequest(SS_HTTPRequest,DataModel) 
LeftAndMain.php:443
LeftAndMain->handleRequest(SS_HTTPRequest,DataModel) 
AdminRootController.php:93
AdminRootController->handleRequest(SS_HTTPRequest,DataModel) 
Director.php:370
Director::handleRequest(SS_HTTPRequest,Session,DataModel) 
Director.php:153
Director::direct(/admin/destinations/Destination/EditForm/field/Destination/item/1/ItemEditForm/field/PackageTags/item/1/ItemEditForm,DataModel) 
main.php:177

Avatar
Scott Farmer

Community Member, 49 Posts

9 June 2016 at 11:28am

Hi,

Did you get this issue solved? Have posted a similar issue here:
https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/117116#post418699

Happens both on local mamp server and remote development server.

Thanks