Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

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

Weird DB Error


Reply


2 Posts   1793 Views

Avatar
UncleCheese

Forum Moderator, 4094 Posts

30 October 2007 at 10:24am

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?

Avatar
UncleCheese

Forum Moderator, 4094 Posts

11 December 2008 at 10:26am

Edited: 11/12/2008 10:27am

resolved