Copied to clipboard

Flag this post as spam?

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


  • Moran 285 posts 934 karma points
    Dec 19, 2014 @ 14:44
    Moran
    0

    Error when entering shipping in merchello settings

    Hi When I enter the shipping section in the setting page I get the follwing message: "Failed to get all countries"

    enter image description here

    this is the details of the error from the log file:

    Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: א. Path '', line 0, position 0.
       at Newtonsoft.Json.JsonTextReader.ParseValue()
       at Newtonsoft.Json.JsonTextReader.ReadInternal()
       at Newtonsoft.Json.JsonTextReader.Read()
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
       at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
       at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
       at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
       at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
       at Our.Umbraco.Vorto.Converters.VortoValueConverter.ConvertDataToSource(PublishedPropertyType propertyType, Object source, Boolean preview)
    

    I am using umbraco 7.1.4 and merchello 1.5.2

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Dec 19, 2014 @ 19:51
    Rusty Swayne
    0

    Hi Moran,

    This is an interesting one - never seen it before. It looks like Vorto is installed ... right? It looks like there may be a conflict there that I'll have to look into.

    Can you confirm you Vorto is installed?

    Thanks,

    Rusty

  • Moran 285 posts 934 karma points
    Dec 20, 2014 @ 09:00
    Moran
    0

    Hi Sorry for the late response, indeed vorto is installed, version 1.2

  • Moran 285 posts 934 karma points
    Dec 20, 2014 @ 18:56
    Moran
    0

    Hi it's me again. I have tested the issue again, this time with Vorto 1.3 installed. In the attached log I can't see any indication for Vorto, in fact I can't see any indication that something is wrong, but I still keep getting those error messages. You can find the log file in the following link, Thanks for all the help :)

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Dec 20, 2014 @ 19:59
    Rusty Swayne
    0

    Hi Moran - I did post in the Vorto forum asking about this as well but have not heard back yet. Thanks for sending me the Vorto version you are using ... I'll install it on my local build and see if I can replicate the issue.

    There is no "magic" happening in the GetAllCountries method - it's actually one of the most straight forward so it's a bit odd that it would be the one with the hiccup.

    Does Merchello's settings page load correctly for you? Specifically the currency selection drop down ...

  • Moran 285 posts 934 karma points
    Dec 20, 2014 @ 21:37
    Moran
    0

    Hi I saw your post in the Vorto forum, Thanks :) The currency selection DDL doesn't work for me :(

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Dec 20, 2014 @ 22:21
    Rusty Swayne
    0

    In your screen shot it looks like none of your DDLs are populating. I've forked Vorto and will try to figure out what is going on. At first glance nothing was immediately obvious.

    One possibility is there is a version discrepancy in the Newtonsoft.Json.dll between the UmbracoCms.Core v 7.1.1 NuGet package Vorto is referencing and the UmbracoCms.Core v 7.1.9 package referenced by Merchello 1.5.2.

  • Moran 285 posts 934 karma points
    Dec 21, 2014 @ 09:08
    Moran
    0

    Thanks a lot :) Let me know if you need more information from me.

Please Sign in or register to post replies

Write your reply to:

Draft