Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Error upon deleting page types/classes

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: 4190 Views
  • bo
    Avatar
    Community Member
    10 Posts

    Error upon deleting page types/classes Link to this post

    What mistake am I making when deleting page types/classes? If I create ExamplePage.php, try it out in the CMS and then remove it, db/build?flush=1 gives me:

    FATAL ERROR: DATABASE ERROR: Couldn't run query: ALTER TABLE 'SiteTree' [or 'SiteTree_Live'] CHANGE 'ClassName' 'ClassName' enum('SiteTree','Page','BlogEntry',[etc. ExamplePage is not included]) character set utf8 collate utf8_general_ci default 'SiteTree' | Data truncated for column 'ClassName' at row 4

    Problems with settings, e.g. in MySQL? Have I missed something about class deletion? The problem doesn't occur every time I delete classes, but most of them.

  • dany_doo
    Avatar
    Community Member
    13 Posts

    Re: Error upon deleting page types/classes Link to this post

    I have the same problem after renaming some page types. I always get an mysql error #1265 date truncated or something like that.

    Help!

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