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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Gallery: Undefined index: start


Go to End


3 Posts   1451 Views

Avatar
ivo

Community Member, 19 Posts

14 March 2010 at 5:34am

hi
im makin my first steps in silverstripe and the gallery.

i have the $this->MediaPerPageLimit set to -true- in the backend,
and im gettin an error when linkin to the gallery.

i think because theres is no start set in the $_REQUEST, its just the link: mysite.de/galeria

shouldnt start be set to 0 by default?

heres the error (notice):

[Notice] Undefined index: start
GET /mysite/index.php/galerie/

Line 381 in ROOTPATH/gallery/code/GalleryPage.php

cheers ivo

Avatar
UncleCheese

Forum Moderator, 4102 Posts

14 March 2010 at 5:43am

That bug has been there forever. Try the ImageGallery module!

Avatar
ivo

Community Member, 19 Posts

14 March 2010 at 6:10am

oha i am not using it?!

geez, lost in the module jungle, sorry

yop installed it now, does exactly what i want, super
thank you