Jump to:

3372 Posts in 998 Topics by 712 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Behaivor tab / Change to "File Page" error

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

Page: 1
Go to End
Author Topic: 1028 Views
  • Marlie511
    Avatar
    Community Member
    36 Posts

    Behaivor tab / Change to "File Page" error Link to this post

    When I save a new page with the behavior set to: change to "File Page" I get a server error.
    I took a screen shot of the message from webpage, but I am not clear as to what is going on.
    I do see that there is an unknown column 'File.SiteTreeID' in 'where clause"' at line 400, but I have no idea what this means.
    I am a rookie.

  • Marlie511
    Avatar
    Community Member
    36 Posts

    Re: Behaivor tab / Change to "File Page" error Link to this post

    Forgot to include the attachment. Here it is.

    Attached Files
  • Marlie511
    Avatar
    Community Member
    36 Posts

    Re: Behaivor tab / Change to "File Page" error Link to this post

    Now look what I have done.. AHHH!
    Since I logged out of admin, I get an error when attempting to log in. This was after my page (listed in first post) caused a server error.

    [User Error] Couldn't run query: SELECT `File`.ID, `File`.ClassName, `File`.Created, `File`.LastEdited, `File`.Name, `File`.Title, `File`.Filename, `File`.Sort, `File`.ParentID, `File`.OwnerID, `File`.SubsiteID, `File`.PopupWidth, `File`.PopupHeight, `File`.Embed, `File`.LimitDimensions, `File`.ID, if(`File`.ClassName,`File`.ClassName,'File') AS RecordClassName FROM `File` WHERE (File.SiteTreeID = 93) AND (File.Grouping = 'Testing') AND (`File`.SubsiteID IN (0, 0)) ORDER BY SubsiteID, Sort Unknown column 'File.SiteTreeID' in 'where clause'
    GET /admin
    Line 401 in C:\inetpub\wwwroot\sapphire\core\model\MySQLDatabase.php

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