mtsmith
  •  mtsmith
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
2012-02-28T17:35:06Z
In procedures.sql the following method is missing a parameter to the board_create method which causes installation to fail


create procedure [{databaseOwner}].[{objectQualifier}system_initialize](
@Name nvarchar(50),
@TimeZone int,
@Culture varchar(10),
@LanguageFile nvarchar(50),
@ForumEmail nvarchar(50),
@SmtpServer nvarchar(50),
@User nvarchar(255),
@UserEmail nvarchar(255),
@Userkey nvarchar(64),
@RolePrefix nvarchar(255),
@UTCTIMESTAMP datetime

) as
begin
DECLARE @tmpValue AS nvarchar(100)

-- initalize required 'registry' settings
EXEC [{databaseOwner}].[{objectQualifier}registry_save] 'version','1'
EXEC [{databaseOwner}].[{objectQualifier}registry_save] 'versionname','1.0.0'
SET @tmpValue = CAST(@TimeZone AS nvarchar(100))
EXEC [{databaseOwner}].[{objectQualifier}registry_save] 'timezone', @tmpValue
EXEC [{databaseOwner}].[{objectQualifier}registry_save] 'culture', @Culture
EXEC [{databaseOwner}].[{objectQualifier}registry_save] 'language', @LanguageFile
EXEC [{databaseOwner}].[{objectQualifier}registry_save] 'smtpserver', @SmtpServer
EXEC [{databaseOwner}].[{objectQualifier}registry_save] 'forumemail', @ForumEmail

-- initalize new board
EXEC [{databaseOwner}].[{objectQualifier}board_create] @Name, @Culture, @LanguageFile, '','',@User,@UserEmail,@UserKey,1,@RolePrefix,@UTCTIMESTAMP
end
GO

P.S. is http://tracker.yetanotherforum.net/  no longer being used?
Sponsor
bbobb
  •  bbobb
  • 100% (Exalted)
  • YAF Developer
2012-02-28T17:59:35Z
Thanks for the report the fix is merged to the repository just now.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved