Copied to clipboard

Flag this post as spam?

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


  • Ulrich Wagner Gade Ebsen 84 posts 177 karma points
    Mar 22, 2017 @ 14:25
    Ulrich Wagner Gade Ebsen
    0

    Vorto not working on server

    Hi,

    I'm having a weird problem with the latest Vorto on umbraco 7.5.11. it works fine on my local machine, but on my test server it doesn't ... I have use Vorto numerous times without issues, but in this specific case it doesn't work. The datatype editor for Vorto has an empty list of datatypes to wrap, and the console lists following error (twice):

    TypeError: Cannot read property 'apiBaseUrl' of undefined
    at Object.getInstalledLanguages (vorto.js?cdv=1024834838:458)
    at new <anonymous> (vorto.js?cdv=1024834838:372)
    at d (angular.min.js?cdv=1024834838:28)
    at Object.instantiate (angular.min.js?cdv=1024834838:28)
    at angular.min.js?cdv=1024834838:53
    at angular.min.js?cdv=1024834838:44
    at n (angular.min.js?cdv=1024834838:7)
    at k (angular.min.js?cdv=1024834838:44)
    at e (angular.min.js?cdv=1024834838:40)
    at angular.min.js?cdv=1024834838:39
    

    Does anybody know why this happens? Everything else works fine.

    /ulrich

  • Micha Somers 132 posts 593 karma points
    Mar 22, 2017 @ 15:59
    Micha Somers
    0

    What do you see (after login to the Umbraco back office) when you open your browser developer tools and in the console, type:

    Umbraco.Sys.ServerVariables.vorto.apiBaseUrl
    

    Is it: "/umbraco/backoffice/VortoApi/VortoApi/" ?

  • Ulrich Wagner Gade Ebsen 84 posts 177 karma points
    Mar 22, 2017 @ 16:03
    Ulrich Wagner Gade Ebsen
    0

    Hi Micha,

    I see the following:

    Uncaught TypeError: Cannot read property 'apiBaseUrl' of undefined
    at <anonymous>:1:34
    

    /ulrich

  • Micha Somers 132 posts 593 karma points
    Mar 22, 2017 @ 16:30
    Micha Somers
    0

    Ok ... that's quite cryptic.

    Just to see if other Vorto related variables are accessible, do Umbraco.Sys.ServerVariables.vorto and Umbraco.Sys.ServerVariables give more sensible results?

    At this moment I don't know how these Umbraco.Sys.ServerVariables have become missing/wrong.

    Maybe in order to work to a solution ...

    Have you tried to restart the server?

Please Sign in or register to post replies

Write your reply to:

Draft