Jump to:

23473 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Page type changes automatically to "Error Page"

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 1073 Views
  • AL
    Avatar
    Community Member
    7 Posts

    Page type changes automatically to "Error Page" Link to this post

    Hi all,

    I've created a new page type "SidemenuPage" and under Templates I've created the SidemenuPage.ss.
    My problem is that when I select from CMS, Page type - SidemenuPage and press Save & PUblish, the system automatically selects the "Error Page" page type.
    I found that in my sitetree_live DB table, the ClassName field gets the NULL value. If I change this manually to my SidemenuPage class everything is ok...

    P.S. I've refresh every time the DB with /dev/build/?flush=1

    Any ideas?

    Thanks

  • davidm2010
    Avatar
    Community Member
    107 Posts

    Re: Page type changes automatically to "Error Page" Link to this post

    Not sure if this is the answer you are looking for, but.. If there is something wrong with the page type, it will default to another page type. In other words, the system will not let you create a page type that has an error.

    So, troubleshoot your page type.

    DM

    1073 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.