Copied to clipboard

Flag this post as spam?

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


  • Tyler Brown 62 posts 209 karma points
    Jun 24, 2015 @ 16:12
    Tyler Brown
    0

    cannot read property 'merchelloSettingsApiBaseUrl' of undefined

    I'm new to Merchello and Umbraco 7- installed merchello 1.8.3 via nuget, which works great. Tried upgrading to 1.9.0 manually and also with nuget and I get this error in the console whenever I click on anything in the Merchello section:

    cannot read property 'merchelloSettingsApiBaseUrl' of undefined

    downgrading to 1.8.3 fixed the problem yesterday, but today I can't seem to get 1.8.3 working because now I get that same error. I'm not sure what I did. The only other thing I've changed is I installed the reports package, but I've uninstalled that now. The merchello home screen shows {{merchelloVersion}} instead of the actual version so I'm assuming it's just confused as to what version it is, but I'm not sure how to fix it??

    Thanks!

    Tyler

    Umbraco 7.2.1 Merchello 1.8.3

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Jun 24, 2015 @ 17:40
    Rusty Swayne
    100

    Hey Tyler,

    This is do to the issue described here: https://our.umbraco.org/projects/collaboration/merchello/merchello/63583-An-item-with-the-same-key-has-already-been-added

    I've added Merchello URLs into a separate dictionary and to get them you should do something like:

     var url = Umbraco.Sys.ServerVariables['merchelloUrls']['merchelloSettingsApiBaseUrl'] + apiMethod;
    
  • Gurpreet 11 posts 81 karma points
    Dec 03, 2015 @ 10:22
    Gurpreet
    0

    are these API code is present locally on to my server or it his to merchello server or some thing. I can not find the API on in my project.

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Dec 03, 2015 @ 17:10
  • Tyler Brown 62 posts 209 karma points
    Jun 25, 2015 @ 13:41
    Tyler Brown
    0

    Thanks, Rusty! Is the reporting package compatible with 1.9.0?

  • 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