When i click a galery page in the front end i see the following error msg. Under it is the orginal code. Someone any idea why it went wrong?
XML-parsefout: troep na documentelement
Locatie: http://localhost/1-Ontwikkeling/silverstripe-v2.2.2/foto-s/
Regelnummer 2, kolom 1:<b>Notice</b>: Undefined index: start in <b>C:\wampserver\www\1-Ontwikkeling\silverstripe-v2.2.2\gallery\code\GalleryPage.php</b> on line <b>381</b><br />
^
function CurrentGalleryItems() {
/** Get the limit **/
$limit = "";
if( $this->MediaPerPageLimit ) {
if( ! is_numeric( $_REQUEST['start'] ) )
$_REQUEST['start'] = 0;
$limit = $_REQUEST['start'] . "," . $this->MediaPerPage;
}
return $this->GalleryItems( $limit );
}
}