Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Eveywhere I have DataObjectManager I get "[Notice] Undefined index: start" on edit

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 481 Views
  • otherjohn
    Avatar
    Community Member
    125 Posts

    Eveywhere I have DataObjectManager I get "[Notice] Undefined index: start" on edit Link to this post

    Ok, this is really getting frustrating as I have run into a snowball of problems here.

    When I go to edit any record in my admin that is part of DataObjectManger i get the "Undefined index: start" Error.

    It occures with anytime I use ImageDataObjectManager or FileDataObjectManager

    [Notice] Undefined index: start
    GET /admin/EditForm/field/Slides/item/26?SecurityID=3d231736ed526294fb90745d1094452dfbffce7f/edit?ctf[Slides][start]=0&ctf[Slides][per_page]=10&ctf[Slides][showall]=0&ctf[Slides][sort]=SortOrder&ctf[Slides][sort_dir]=&ctf[Slides][search]=&ctf[Slides][filter]=&ctf[Slides][view]=grid&ctf[Slides][imagesize]=100

    Line 139 in /home/../public/dataobject_manager/code/DataObjectManager.php
    Source

    130        $this->sort_dir = trim($dir);
    131        }
    132        else {
    133        $this->sort = $this->sourceSort;
    134        $this->sort_dir = "ASC";
    135        }
    136       }
    137
    138       if(isset($_REQUEST['ctf'][$this->Name()])) {
    139          $this->start = $_REQUEST['ctf'][$this->Name()]['start'];
    140          $this->per_page = $_REQUEST['ctf'][$this->Name()]['per_page'];
    141          $this->showAll = $_REQUEST['ctf'][$this->Name()]['showall'];
    142          $this->search = $_REQUEST['ctf'][$this->Name()]['search'];
    143          $this->filter = $_REQUEST['ctf'][$this->Name()]['filter'];         
    144          $this->sort = $_REQUEST['ctf'][$this->Name()]['sort'];
    145          $this->sort_dir = $_REQUEST['ctf'][$this->Name()]['sort_dir'];

    Trace

    DataObjectManager->__construct(HomePage,Slides,Slide,Array,getCMSFields_forPopup,,,)
    Line 48 of FileDataObjectManager.php
    FileDataObjectManager->__construct(HomePage,Slides,Slide,SlideImage,Array,getCMSFields_forPopup,,,)
    Line 23 of ImageDataObjectManager.php
    ImageDataObjectManager->__construct(HomePage,Slides,Slide,SlideImage,Array,getCMSFields_forPopup)
    Line 24 of HomePage.php
    HomePage->getCMSFields(CMSMain)
    Line 441 of CMSMain.php
    CMSMain->getEditForm(1)
    Line 1039 of LeftAndMain.php
    LeftAndMain->EditForm(SS_HTTPRequest)
    Line 193 of Controller.php
    Controller->handleAction(SS_HTTPRequest)
    Line 143 of RequestHandler.php
    RequestHandler->handleRequest(SS_HTTPRequest)
    Line 147 of Controller.php
    Controller->handleRequest(SS_HTTPRequest)
    Line 282 of Director.php
    Director::handleRequest(SS_HTTPRequest,Session)
    Line 125 of Director.php
    Director::direct(/admin/EditForm/field/Slides/item/26)
    Line 127 of main.php

    481 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.