Posted by: tersmi - Tuesday, 14 June 2011 19:21:43
I'm totally new to this game and could use a little help. I've dabbled in ASP.net in the past, mostly in creating comment forms and whatnot, but that's my limit. A co-worker with far more ASP.net expertise set up the forum on our web server. I'm now attempting to configure these forums for use by my clients, but I can't seem to figure out how to create topics under the forums. I've looked around the site quite a bit but I'm still struggling to find the information I'm in need of. Can anyone help?
Terry Smith
Posted by: Zero2Cool - Tuesday, 14 June 2011 21:42:26
[quote=tersmi;50213]I'm totally new to this game and could use a little help. I've dabbled in ASP.net in the past, mostly in creating comment forms and whatnot, but that's my limit. A co-worker with far more ASP.net expertise set up the forum on our web server. I'm now attempting to configure these forums for use by my clients, but I can't seem to figure out how to create topics under the forums. I've looked around the site quite a bit but I'm still struggling to find the information I'm in need of. Can anyone help?
Terry Smith[/quote]
Can you share the link to your site?
Do you see the Test forum? The new post icon should be relatively in the same position as this website, unless you are using a custom theme.
Posted by: tersmi - Tuesday, 14 June 2011 21:54:17
Thanks for the post zero. the forum is currently posted at www.mjymca.ca/forum - I'm using the red-grey theme, in which I've made some light colour changes in the css file. I've created an account for you to log in with
u/n - user
p/w - useruser
Posted by: Zero2Cool - Wednesday, 15 June 2011 06:26:18
[quote=tersmi;50216]Thanks for the post zero. the forum is currently posted at www.mjymca.ca/forum - I'm using the red-grey theme, in which I've made some light colour changes in the css file. I've created an account for you to log in with
u/n - user
p/w - useruser[/quote]
I'm going to take a wild guess and assume someone logged in and changed the password? lol
Posted by: tersmi - Wednesday, 15 June 2011 14:04:55
Looks like you might be right! I'll change the password and send it to you in a PM.
Posted by: Zero2Cool - Wednesday, 15 June 2011 16:04:04
Okay, you've made a Category, but have not yet added a Forum.
You'll have to add a forum, to do this.
Admin page > Settings > Forums and click the button labeled "New Forum" and there ya go.
Posted by: tersmi - Wednesday, 15 June 2011 17:02:22
Thanks so much, I thought I was going crazy. The only option I was abe to select on that page was "new category". This clearly is my problem, as when I select "new forum" I get an error page with the message:
System.FormatException: Input string was not in a correct format
If you have any easy fixes for this it would be much appreciated. Otherwise I will be consulting my ASP.NET guy as this once again seems a little above my head . . .
Terry Smith
Posted by: Zero2Cool - Wednesday, 15 June 2011 17:03:36
[quote=tersmi;50244]Thanks so much, I thought I was going crazy. The only option I was abe to select on that page was "new category". This clearly is my problem, as when I select "new forum" I get an error page with the message:
System.FormatException: Input string was not in a correct format
If you have any easy fixes for this it would be much appreciated. Otherwise I will be consulting my ASP.NET guy as this once again seems a little above my head . . .
Terry Smith[/quote]
This is just a wild stab in the dark, but can you try changing themes and go back into the Admin settings with your Host user account and give it a try? I'd recommend using "So Clean, So Fresh" theme.
Posted by: tersmi - Wednesday, 15 June 2011 17:15:14
Wow! Quick reply! I tried switching to a couple different themes and got the same error each time. I'll post the error in its entirety:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Input string was not in a correct format.
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.FormatException: Input string was not in a correct format.
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:
[FormatException: Input string was not in a correct format.]
System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +7471479
System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119
System.Convert.ToInt32(String value) +63
YAF.Classes.Data.LegacyDb.forum_listall_fromCat(Object boardID, Object categoryID, Boolean emptyFirstRow) +124
YAF.Classes.Data.LegacyDb.forum_listall_fromCat(Object boardID, Object categoryID) +7
YAF.Pages.Admin.editforum.BindParentList() +82
YAF.Pages.Admin.editforum.BindData() +265
YAF.Pages.Admin.editforum.Page_Load(Object sender, EventArgs e) +624
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3620; ASP.NET Version:2.0.50727.3618
Posted by: Zero2Cool - Wednesday, 15 June 2011 17:18:04
Sorry bud, I think you're gonna have to wait for an expert like tha_watcha to help out.
I'd try adding another category and try adding another forum, but I'm not confident that'll work. Hopefully someone with more knowledge can help ya.
If you don't have any data, perhaps kill the YAF install and start again?
Posted by: tersmi - Wednesday, 15 June 2011 17:32:27
Thanks for the advice Zero. If possible, I'd like to get teh current incarnation of the forums working, so I'll see if I can grab the attention of an expert. Any tips on how to do that? I'll also take a stab at the new category angle too.
Terry
Posted by: tersmi - Wednesday, 15 June 2011 17:36:27
Well go figure. Adding a new category worked! Do you have to have a category to be able to create a forum? Because I didn't have one before!
Posted by: Zero2Cool - Wednesday, 15 June 2011 18:20:14
[quote=tersmi;50250]Well go figure. Adding a new category worked! Do you have to have a category to be able to create a forum? Because I didn't have one before![/quote]
That would be correct to my understanding.
I believe the pecking order is as follows.
Board > Category > Forum > Topics > Posts
Posted by: tha_watcha - Thursday, 16 June 2011 16:47:30
[quote=Zero2Cool;50252][quote=tersmi;50250]Well go figure. Adding a new category worked! Do you have to have a category to be able to create a forum? Because I didn't have one before![/quote]
That would be correct to my understanding.
I believe the pecking order is as follows.
Board > Category > Forum > Topics > Posts[/quote]
Thats Correct. You Always need a Category first, Thats why it was crashing
[quote]Exception Details: System.FormatException: Input string was not in a correct format.[/quote]
In the next Release the "New Forum" Button will be hidden when there is now Category. To Prevent that Problem.