7912 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » [Notice] Undefined index: start
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1103 Views |
-
[Notice] Undefined index: start

6 April 2011 at 3:38am
I know there has been another thread on this, but it was fairly old and although it says in there that this bug was fixed in r513 I am currently running a fresh install of the latest stable release 2.4.5 and and latest DataObjectManager module and am having this problem.
I initially had this problem using the DataObjectManager along with Uploadify, and have tried switching back to SWFUpload thinking it was an uploadify bug, and now tried removing that and testing the site using just the DataObjectManager module and a simple text field.
The site is running on an Ubuntu LAMP server and the error I'm getting is:
[Notice] Undefined index: start
POST /admin/EditForm/field/GalleryImages/AddForm?SecurityID=79a6cf4e9f4c9ed370fca1006e41b5b59aab0832&ctf[GalleryImages][start]=0&ctf[GalleryImages][per_page]=10&ctf[GalleryImages][showall]=0&ctf[GalleryImages][sort]=&ctf[GalleryImages][sort_dir]=&ctf[GalleryImages][search]=&ctf[GalleryImages][filter]=Line 142 in /home/user/sites/testSite/web/dataobject_manager/code/DataObjectManager.php
Has anyone else had this problem, can anyone help me?
Thanks!
-
Re: [Notice] Undefined index: start

6 April 2011 at 9:53pm
I forgot to mention that when I had Uploadify installed, I was also getting an HTTP error when the upload was complete, I don't know if this is related to the same problem?
-
Re: [Notice] Undefined index: start

7 April 2011 at 7:24am
Sounds like you're running incompatible versions of DOM and SS. Make sure you're running the latest DOM from GitHub, and at least version 2.4 of SS.
-
Re: [Notice] Undefined index: start

11 April 2011 at 9:52pm
I'm running silvertripe 2.4.5 and the latest DOM from GitHub and still getting the same error. The only way I can stop the error is by manually changing line 142 in DataObjectManager.php to:
if(isset($_REQUEST['ctf'][$this->Name()]['start'])) {
$this->start = $_REQUEST['ctf'][$this->Name()]['start'];
}
| 1103 Views | ||
|
Page:
1
|
Go to Top |

