YAFLogo

boostdacr
  • boostdacr
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Version: 1.9.5.5

I am trying to change the color for the user for each rank but i am not sure what to put in the style box.

Whatever i put in there i end up getting this error:

Server Error in '/' Application.

Index was outside the bounds of the array.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[IndexOutOfRangeException: Index was outside the bounds of the array.]

YAF.Controls.RoleRankStyles.Render(HtmlTextWriter writer) +624

System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240

System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240

System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240

YAF.Controls.AdminMenu.Render(HtmlTextWriter writer) +381

System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240

YAF.Core.ForumPage.Render(HtmlTextWriter writer) +25

System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240

YAF.Forum.Render(HtmlTextWriter writer) +246

System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240

System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +253

System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +87

System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +53

System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240

System.Web.UI.Page.Render(HtmlTextWriter writer) +38

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

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
13 years ago
You dont need to post your problem twice.

Locked