Copied to clipboard

Flag this post as spam?

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


  • Simon Dingley 1431 posts 3332 karma points c-trib
    Apr 15, 2010 @ 08:08
    Simon Dingley
    0

    Debugging custom appTrees

    I have a custom appTree that works fine locally but refuses to display remotely. I have try/catch in place to log any exceptions to the Umbraco log and none are appearing so I am stumped on how to pin point the issue remotely because no errors appear to be thrown - any pointers appreciated.

    Thanks

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Apr 15, 2010 @ 09:46
    Dirk De Grave
    0

    Did you get it to work before on the remote server or not at all?

    Anyway, if you're adding a new custom tree (and register the entries in the db), you should perform a app restart (Probably already tried that?).

    Otherwise, add some extra trace info maybe to output to the browser and use ?umbDebugShowTrace=true to see what's being logged?

     

    Hope this helps.

    Regards,

    /Dirk

  • Simon Dingley 1431 posts 3332 karma points c-trib
    Apr 15, 2010 @ 10:11
    Simon Dingley
    0

    Yep, done a few app restarts already to no effect, it has never worked on the remote server.

    umbDebugShowTrace=true does not seem to work for me in the umbraco back-end as I had tried that previously, I thought that was only for the front end?

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Apr 15, 2010 @ 10:14
    Dirk De Grave
    0

    Hmm, stupid me, you're right, you're working in backend and that doesn't have the debug option. I'm out of ideas other than adding some extra logging messages written to the umbracoLog table? I'm sure it's not the best way, but at least you'd get some info...

     

    /Dirk

  • Simon Dingley 1431 posts 3332 karma points c-trib
    Apr 15, 2010 @ 10:23
    Simon Dingley
    0

    Tried logging exceptions to the Umbraco log already but will add some extras in to log each stage of the Render method to see if I can identify where it is failing. Would be nice if there was an easier way of doing this instead of having to shoot around in the dark :(

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Apr 15, 2010 @ 10:29
    Dirk De Grave
    0

    I tend to use log4net in development and make use of the available logging levels to have control of what's being logged (set trash level to ALL in development and ERROR in production mode - and switch to ALL in case I have a need for debugging). Might be a good option in your case.

     

    Cheers,

    /Dirk

  • Simon Dingley 1431 posts 3332 karma points c-trib
    Apr 15, 2010 @ 10:50
    Simon Dingley
    0

    OK I may have to resort to that. At the moment RenderJS is being called but Render is not which is a bit strange and explains the empty tree.

  • Simon Dingley 1431 posts 3332 karma points c-trib
    Apr 15, 2010 @ 17:05
    Simon Dingley
    1

    It turns out the empty tree was caused by the treeInitialize field in the database being set to false. Hopefully this may help someone else and save some time if they encounter the same problem.

    Thanks, Dirk

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Apr 15, 2010 @ 20:04
    Dirk De Grave
    0

    Glad you got that sorted! And many thanks for reporting this back in this thread! +1

     

    Cheers,

    /Dirk

  • Simon Dingley 1431 posts 3332 karma points c-trib
    Apr 16, 2010 @ 07:58
    Simon Dingley
    0

    Annoyingly I can't mark my answer as the solution, it would be nice if we could do that and receieve no karma points to prevent abuse.

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Apr 16, 2010 @ 09:37
    Dirk De Grave
    0

    I'm reporting this as a new feature for this forum as it would indeed be good idea to be able to mark your own answer as the solution. I wouldn't even mind granting some karma as this could still help others finding a solution.

     

    Cheers,

    /Dirk

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Apr 16, 2010 @ 09:42
  • Simon Dingley 1431 posts 3332 karma points c-trib
    Apr 16, 2010 @ 09:59
    Simon Dingley
    0

    What is required in order to get changes implemented on the forum as there are a few essentials missing such as notifications and the ability to edit your own posts as well. If, like on codeplex, an issue could be voted up and then implemented that would be good but in order to do that on here you would have to give the OP all the karma to get something implemented. Can we do this via the CodePlex project for uForum?

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Apr 16, 2010 @ 10:02
    Dirk De Grave
    0

    I think the our forum is a spin off of the uForum codeplex project, so not sure if it would make sense to report it on Codeplex. Let's ask twitter...

  • Simon Dingley 1431 posts 3332 karma points c-trib
    Apr 19, 2010 @ 10:29
    Simon Dingley
    0

    Did you get a response on this Dirk?

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Apr 19, 2010 @ 10:53
    Dirk De Grave
    0

    Yup, Morten has confirmed that uForum is rather a fork of the current #our implementation... so requests for features should go into this forum!

     

    /Dirk

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies