Yet Another Forum.NET
»
YAF Forum Discussions
»
Bugs & Problems
»
v1.9.3 Issues
»
Install issue SQL 2000
|
|
Rank: Member

Joined: 6/20/2008 Posts: 25 Location: NY
|
getting this error with new database INSERT statement conflicted with column foreign key constraint 'FK_BBCode_Board'. the conflict occurred in 'YafTest' 'table 'yaf_Board' column 'BoardID'. The statement has been terminated.
it's related to the import of BBCodeExtensions.xml the page board id (obviously) isn't found. Bigger problem than I am capable of digging up as I am to new to this. so... UPDATE: For a work around I put a try catch block around the offending code // load default bbcode if available... if ( File.Exists( Request.MapPath( _bbcodeImport ) ) ) { // import into board... using ( StreamReader bbcodeStream = new StreamReader( Request.MapPath( _bbcodeImport ) ) ) { try { YAF.Classes.Data.Import.DataImport.BBCodeExtensionImport(PageBoardID, bbcodeStream.BaseStream); bbcodeStream.Close(); } catch { } } }
Looks like it's just the position in the code, the import should come after the board is created, and there apparently is no baord at this point?
Any ideas?
|
|
|
 Rank: YAF Head Dude

Joined: 10/10/2004 Posts: 2,759 Location: Honolulu, HI
|
Thanks for the bug report -- I've fixed the issue with bbCodeImport. "Honesty may be the best policy, but it’s important to remember that apparently, by elimination, dishonesty is the second-best policy." -- George Carlin 
|
|
|
Rank: Member

Joined: 6/20/2008 Posts: 25 Location: NY
|
|
|
|
| Users browsing this topic |
|
Guest
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
YAFPro Theme Created by Jaben Cargman (Tiny Gecko)Powered by YAF 1.9.3 RC1 |
YAF © 2003-2008, Yet Another Forum.NETThis page was generated in 0.058 seconds.