Copied to clipboard

Flag this post as spam?

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


  • Phillip Ng 148 posts 250 karma points
    Mar 01, 2012 @ 04:19
    Phillip Ng
    0

    Importing RSS errors on comments?

    I'm having trouble importing a WordPress version 2.8.4 into uBlogsy in Umbraco 4.7.1. I provide a URL (example.com/blog/?feed=rss) and get the following error: 

    Object reference not set to an instance of an object

    Line 36: <% if (Comments.Count > 0)
    Line 37: { %>
    Line 38: <h1>

    Source File: \wwwroot\usercontrols\uBlogsy\dashboard\admin.ascx    Line: 36 

     

    Any advice? I'm not sure if the outdated version of WordPress is a problem, but I had trouble updating the version. Thanks in advance!

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 01, 2012 @ 12:10
    Anthony Dang
    0

    Which version of ublogsy are you using?

    Also, what is the actual rss feed url you're importing?

     

     

  • Phillip Ng 148 posts 250 karma points
    Mar 01, 2012 @ 18:51
  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 04, 2012 @ 22:33
    Anthony Dang
    0

    In the /usercontrols/ublogsy/dashboard/admin.ascx

    Try repalcing 

    if (Comments.Count > 0)

    with

    if (Comments != null && Comments.Count > 0)


  • Phillip Ng 148 posts 250 karma points
    Mar 04, 2012 @ 23:38
    Phillip Ng
    0

    Thanks, but after making that update, there is another error further down:

    Object reference not set to an instance of an object.
          foreach ( var c in Comments)

     

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 05, 2012 @ 00:14
    Anthony Dang
    0

    Hi

    Sorry about that. I just realised that fix wouldnt work.

    I'll have to make it in the code behind.

     

     

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 05, 2012 @ 00:18
    Anthony Dang
    0

    I noticed that the rss feed you're importing doesnt have a date for each item.

    This will still be impoted. Just thought I'd flag it with you as dates are helpful :)

     

     

     

  • Phillip Ng 148 posts 250 karma points
    Mar 08, 2012 @ 01:02
    Phillip Ng
    0

    Hey Anthony

    Any word on this? I'm running into the same issue on a different site as well. Thank you!

  • Phillip Ng 148 posts 250 karma points
    Mar 08, 2012 @ 01:06
    Phillip Ng
    0

    Do you know why the date wouldn't be saved in the feed? They are present on the front-end on the actual post.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 08, 2012 @ 12:38
    Anthony Dang
    0

    The fix is in the newest version. Will be released in the next few weeks.

    In the mean time you could try using cms import.

     

  • Daniel Bardi 927 posts 2562 karma points
    Mar 30, 2012 @ 21:38
    Daniel Bardi
    0

    I don't want to buy CMSImport to do this.
    What's the status on this.. I need this like yesterday.. thanks!

  • Phillip Ng 148 posts 250 karma points
    Mar 30, 2012 @ 22:11
    Phillip Ng
    0

    It looks as though v2.1 was uploaded a couple days ago. I haven't had a chance to test it out, but is that the version you're using Daniel?

    Nevermind...  i thought that upload date meant it was a new version.

  • 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