Copied to clipboard

Flag this post as spam?

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


  • Emil Christiansen 66 posts 148 karma points
    Apr 18, 2011 @ 13:18
    Emil Christiansen
    1

    Blog 4 Umbraco running on 4.7

    Hi!

    I have installed the package 'Blog 4 Umbraco' on Umbraco 4.7. After some error fixing, xslt conversion and database editing i finally got i to work.

    Now my only problem is the following error when i debug, using the Umbraco Developer Extension:

    Error returning dictionary item 'Name'
    No key Name exists in dictionary
      at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
      at umbraco.library.GetDictionaryItem(String Key)

    There are 7 other identical errors with the dictionary items: Email, Website, Comment, Submit, CommentLoading, CommentPosted, CommentFailend

    The blog is working, but red error messages in debug is never a good thing i guess... does anybody know what causes theese errors?

     

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Apr 18, 2011 @ 15:41
    Darren Ferguson
    0

    Do these dictionary items exist? check in Settings -> Dictionary

  • Emil Christiansen 66 posts 148 karma points
    Apr 19, 2011 @ 09:02
    Emil Christiansen
    0

    Actually i can't reproduce the error now! I don't now what caused the error. There are no dictionary items in the dictionary, but guess they are not needed anyhow then?

  • Eran Meir 401 posts 543 karma points
    Apr 19, 2011 @ 09:19
    Eran Meir
    0

    as far i remember you don't need to create the dictionary items because if it's doesn't find them it writes a default english text on the pages

  • Emil Christiansen 66 posts 148 karma points
    Apr 19, 2011 @ 15:11
    Emil Christiansen
    0

    Hi again!

    Now i have encountered a new problem. If i create a new post with a tag (e.g. umbraco) and click the tag, nothing happens.The URL looks like this: http://blogtest.local/blog.aspx#?filterby=umbraco

    If i remove the # just before the ? in the URL i get the correct result. Where does the # come from, and how do i remove it?

    In my xslt-file, the link looks like this:

    <href="{umbraco.library:NiceUrl($currentPage/ancestor-or-self::*['Blog']/@id)}?filterby={.}" rel="tag">

  • Thor Madsen-Holm 82 posts 212 karma points c-trib
    Apr 19, 2011 @ 15:23
    Thor Madsen-Holm
    1

    Hey Emil,

    Make sure that $currentPage/ancestor-or-self::*['Blog']/@id returns a valid id and not -1 that could be the problem


    /Thor

  • Emil Christiansen 66 posts 148 karma points
    Apr 19, 2011 @ 15:48
    Emil Christiansen
    0

    Hey Thor!

    That seemed to solve the problem. It returned -1 exactly as you said.

    Instead i am using: <a href="?filterby={.}" rel="tag"> which works fine...

  • Thor Madsen-Holm 82 posts 212 karma points c-trib
    Apr 19, 2011 @ 18:46
    Thor Madsen-Holm
    0

    Awesome! Glad I could help :-)

    /Thor

Please Sign in or register to post replies

Write your reply to:

Draft