Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mark 255 posts 612 karma points
    Nov 15, 2012 @ 22:26
    Mark
    0

    Does nForum work with umbracoUseDirectoryUrls set to true?

    I just can't get nForum 1.5 working on Umbraco 4.7.1.1

    Whenever I create a post in a topic, it just hangs. debugging the code, the issue appears to be caused when the NewForumPost method has the topicid parameter passed as "undefined", meaning it can't be converted to an int32. Here is the error message I get in Firebug:

    <error><![CDATA[MESSAGE:
    Exception has been thrown by the target of an invocation.
    
    STACKTRACE:
       at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
       at umbraco.presentation.umbracobase.requestModule.invokeMethod(restExtension myExtension, Object[] paras)
    
    INNEREXCEPTION:
    System.FormatException: Input string was not in a correct format.
       at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
       at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
       at nForum.BusinessLogic.ExtensionMethods.ToInt32(String theInput) in C:\Users\mark\Sofweb\Projects\Mission Without Borders\Website\nforum_7dbce0dfbbf7\nForum.BusinessLogic\ExtensionMethods.cs:line 9
       at nForum.BusinessLogic.nForumBaseExtensions.NewForumPost(String topicId) in C:\Users\mark\Sofweb\Projects\Mission Without Borders\Website\nforum_7dbce0dfbbf7\nForum.BusinessLogic\nForumBaseExtensions.cs:line 215]]></error>

    Hopefully someone can help.

  • Rory 59 posts 84 karma points
    Feb 07, 2013 @ 12:58
    Rory
    0

    We're using Umbraco 4.7.1.1 with nForum 1.5 and directory urls = true. All works fine.

    We did use the nForum 1.5 with category subscriptions upgrade, and we have also added some of our own code for member validation etc, which is specific to our own website. However, even before we did that, it all hung together just fine.

    Experience has taught me that if you have problems like you sound like you have, try a new clean install of Umbraco, with a new database, then add a clean nForum to it, and then test it. Then you can start adding stuff back in.

    We had quite a few issues when we first added nForum to an existing site, mainly down to us using non-standard membership stuff. We ended up migrating all our members over to use Umbraco provider, and rebuilding the site from scratch...but that's another story!

    cheers

    Rory

  • Rory 59 posts 84 karma points
    Feb 07, 2013 @ 12:59
    Rory
    0

    out of interest...are you using Internet Explorer? there have been a few issues with IE and posting topics/replies...

  • Mark 255 posts 612 karma points
    Feb 07, 2013 @ 13:11
    Mark
    0

    No, I was using Firefox. We've stopped using nForum as it wasn't suitable for our needs due to various issues, but primarily its lack of multi-site support.

Please Sign in or register to post replies

Write your reply to:

Draft