Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Weird DB Error

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: 1746 Views
  • UncleCheese
    Avatar
    4085 Posts

    Weird DB Error Link to this post

    I keep getting this error when I add content:

    Error: DATABASE ERROR: Couldn't run query: insert into `NewsItem_versions` SET `Publish_Date` = null, `Expiration_Date` = null, `ClassName` = 'NewsItem', `Created` = null, `LastEdited` = null, `Body` = null, `MyNewsHolderID` = '0', `Headline` = null, `RecordID` = 54, `Version` = 1, `AuthorID` = 1 | Unknown column 'ClassName' in 'field list'
    At line 386 in /home/virtual/bpflegal.com/httpdocs/sapphire/core/model/Database.php

    Why is it trying to add ClassName to the _versions table? That doesn't make any sense. Where should I be looking for a problem?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Weird DB Error Link to this post

    resolved

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