YAFLogo

Juan T. Llibre
15 years ago
YAF v 1.9.3 RC, standalone on my own Win2003 Server, YAF is running on ASP.NET 2.0

I can't login or click on any other link on the forums' default page.

The error message returned when any link is clicked is :

"There has been a serious error loading the forum. No further information is available.

Please contact the administrator if this message persists."

When I hit the "Try again" button, I get sent back to the default page.

See for yourself :

http://asp.net.do/foros/Default.aspx 

I gave Network Service full control to the upload directory,

and gave Network Service full control to the forum directory structure.

The database was created OK and the login created

during the installation was correctly recorded.

Additional info I uncovered since I first posted:

When I use the url :

http://asp.net.do/foros/advanced.aspx 

I see a few more options and the error page isn't returned,

but most of the functionality is absent.

What did I miss ?

Sponsor
Juan T. Llibre
15 years ago
The problem fixed itself and I'm damned if I know what the problem was,

but reappeared after doing a couple of simple things.

I moved the only topic posted to the test forum to a new forum and that was OK.

I changed the language default to spanish...and that was OK.

But...as soon as I deleted the test forum and test category, the problem reappeared.

I, again, have limited access through the

advanced.aspx url as described in my first post.

What can possibly be the problem and how can I prevent it from reappearing ?

Juan T. Llibre
15 years ago

The problem reappeared after doing a couple of simple things.

I moved the only topic posted to the test forum to a new forum and that was OK.

I changed the language default to spanish...and that was OK.

But...as soon as I deleted the test forum and test category, the problem reappeared.

Juan T. Llibre wrote:

Here's what apparently was the error message :

System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)

at System.String.Format(IFormatProvider provider, String format, Object[] args)

at System.String.Format(String format, Object arg0)

at YAF.Controls.ForumStatistics.BindData()

at YAF.Controls.ForumStatistics.DataBind()

at System.Web.UI.Control.DataBindChildren()

at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)

at System.Web.UI.Control.DataBind()

at YAF.Pages.forum.BindData()

at YAF.Pages.forum.Page_Load(Object sender, EventArgs e)

at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)

at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)

at System.EventHandler.Invoke(Object sender, EventArgs e)

at System.Web.UI.Control.OnLoad(EventArgs e)

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Control.LoadRecursive()

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Any ideas on how to fix this ?

jshepler
15 years ago
Looking at the code for that control (ForumStatistics) in the method BindData(), there are 5 String.Format() lines - each of them uses localized resource. Basically, this indicates the language file you're using wasn't updated to be compatible with the version of yaf you're using.

I don't know much about the language files and localization, but I remember a couple other threads floatin around about it. Or maybe someone else will jump in here and tell you what you gotta do to fix your language file.


not jsheLPer