Jump to:

23479 Posts in 18951 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » ArticlePage and ArticleHolder crashing

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: 495 Views
  • PRAJG
    Avatar
    Community Member
    3 Posts

    ArticlePage and ArticleHolder crashing Link to this post

    PageComment
    SiteConfig
    SiteTree
    Field SiteTree.ClassName: changed to varchar(14) not null default 'SiteTree' check("ClassName" in ('SiteTree','Page','ArticleHolder','ArticlePage','HomePage','ErrorPage','RedirectorPage','VirtualPage')) (from varchar(14) not null default 'SiteTree' check("ClassName" in ('SiteTree','Page','HomePage','ErrorPage','RedirectorPage','VirtualPage')))
    Field SiteTree_Live.ClassName: changed to varchar(14) not null default 'SiteTree' check("ClassName" in ('SiteTree','Page','ArticleHolder','ArticlePage','HomePage','ErrorPage','RedirectorPage','VirtualPage')) (from varchar(14) not null default 'SiteTree' check("ClassName" in ('SiteTree','Page','HomePage','ErrorPage','RedirectorPage','VirtualPage')))
    Field SiteTree_versions.ClassName: changed to varchar(14) not null default 'SiteTree' check("ClassName" in ('SiteTree','Page','ArticleHolder','ArticlePage','HomePage','ErrorPage','RedirectorPage','VirtualPage')) (from varchar(14) not null default 'SiteTree' check("ClassName" in ('SiteTree','Page','HomePage','ErrorPage','RedirectorPage','VirtualPage')))
    Email_BounceRecord
    QueuedEmail
    File
    Group
    LoginAttempt
    Member
    MemberPassword
    Permission
    PermissionRole
    PermissionRoleCode
    Widget
    WidgetArea
    Page

    When i dev/build flush I get this far. It only happens when I add ArticlePage and ArticleHolder in tutorial two, i have copy pasted all of the code.

    Thanks for any help in advance

  • PRAJG
    Avatar
    Community Member
    3 Posts

    Re: ArticlePage and ArticleHolder crashing Link to this post

    I completely restarted and now I get an error once I create HomePage.php

  • Willr
    Avatar
    Forum Moderator
    5502 Posts

    Re: ArticlePage and ArticleHolder crashing Link to this post

    You need to post the actual error messages. Please read the forum FAQ's about debugging errors.

  • PRAJG
    Avatar
    Community Member
    3 Posts

    Re: ArticlePage and ArticleHolder crashing Link to this post

    Figured it out, when I copied from the tutorial there were hidden characters that would get copied when i double clicked the code sections and selected all. I put the code into notepad, notepad++ etc. but was never able to see the hidden characters, I just had to copy it differently.

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