When I am in the Ranks area and click on edit, I get the following error...

Could not find a part of the path '....(path trimmed for security reasons)......\BCGunkholing\images\ranks'.

Source Error:

Line 115:
Line 116: System.IO.DirectoryInfo dir = new System.IO.DirectoryInfo(Request.MapPath(String.Format("{0}images/ranks",YafForumInfo.ForumRoot)));
Line 117: System.IO.FileInfo[] files = dir.GetFiles("*.*");
Line 118: long nFileID = 1;
Line 119: foreach(System.IO.FileInfo file in files)

I will attempt to edit the file and correct the path. Hard-coded paths are never a good idea, but I am not sure what else to do.


Users browsing this topic

    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