Jump to:

23483 Posts in 18965 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Page-type reverts 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: 359 Views
  • Ernie
    Avatar
    Community Member
    3 Posts

    Page-type reverts to Error-page Link to this post

    Hi, I have created a new page type but cannot apply it. After applying PT "X" to web page "abc" it reverts to PT "Error Page" after saving.

    It was working and then something [?] happened that I cannot find.

    Any ideas?

    Thanks Ernie

  • Devlin
    Avatar
    Community Member
    215 Posts

    Re: Page-type reverts to Error-page Link to this post

    Check the page record in the SiteTree table (in phpMyAdmin) and manually apply the new page class to the record. Go back to the cms and publish the page. This usually happens if you delete or rename a page class.

  • prawnstar
    Avatar
    Community Member
    116 Posts

    Re: Page-type reverts to Error-page Link to this post

    There's another post about this somewhere...can't seem to find it at the moment, but like Devlin said, this usually occurs after you delete or rename a page controller after you have already created pages.

    Look at the SiteTree and SiteTree_Live tables in your db and look at the 'ClassName' column. The page you're having issues with will be the ones where the class name is blank. Just manually edit these rows.

    At one time there was a bug report filed for this.

    Chris.b

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