Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » clicking galery (module) page (fe) xml-parser failure

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 639 Views
  • raamklaza
    Community Member
    182 Posts

    clicking galery (module) page (fe) xml-parser failure Link to this post

    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 );

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.