Copied to clipboard

Flag this post as spam?

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


  • Bjørn Hildgaard Andersen 4 posts 94 karma points
    Oct 26, 2022 @ 11:07
    Bjørn Hildgaard Andersen
    0

    Error after installing Forms into Umbraco 9

    First - i'm not a developer so my expertice is limited. I have created a Umbraco 9 project on my local PC using Visual Studio 2022, and published it to a MS IIS Webserver using a fileshare on the server. The Umbraco site is running fine.

    I have the added Umbraco Forms 9 to the project, builed it and published it. Forms works perfectly on my local computer, but on the webserver, there's missing som labels. And the {{vm.version.remoteVersion}} label has a progress bar that just continue running. (See the image attached)

    Can someone tel me whats wrong - or point me in the correct direction?

    enter image description here

  • Erik Eelman 81 posts 321 karma points
    Oct 26, 2022 @ 15:48
    Erik Eelman
    0

    Hi Bjorn,

    There is probably a javascript error that is preventing AngularJS to function. If you hit F12 in the browser window you get the DevTools window. When you go to the Developer tab you can see if there are any javascript errors.

    My guess is that not all of the files of umbraco forms are published to the server. Are the files included in the Visual Studio project? If so, double check the file properties in Visual studio for the umbraco forms files if they have Build Action: Content and Copy to Output Directory: Copy if newer (or always)

  • Bjørn Hildgaard Andersen 4 posts 94 karma points
    Oct 27, 2022 @ 13:30
    Bjørn Hildgaard Andersen
    0

    Hi Erik Thank you for the input. I tried the suggested but dont think i see any java script errors. This is th eresult of F12 - Console tab:

    umbraco-backoffice-js.js.vcbe92215a45bde5950657055270d255613267ee3:152 Error: [$controller:ctrlreg] http://errors.angularjs.org/1.8.0/$controller/ctrlreg?p0=UmbracoForms.Dashboards.FormsController at umbraco-backoffice-js.js.vcbe92215a45bde5950657055270d255613267ee3:32:168 at umbraco-backoffice-js.js.vcbe92215a45bde5950657055270d255613267ee3:123:19 at ea (umbraco-backoffice-js.js.vcbe92215a45bde5950657055270d255613267ee3:105:20) at p (umbraco-backoffice-js.js.vcbe92215a45bde5950657055270d255613267ee3:96:476) at g (umbraco-backoffice-js.js.vcbe92215a45bde5950657055270d255613267ee3:90:292) at umbraco-backoffice-js.js.vcbe92215a45bde5950657055270d255613267ee3:89:422 at Object.link (umbraco-backoffice-js.js.vcbe92215a45bde5950657055270d255613267ee3:326:432) at umbraco-backoffice-js.js.vcbe92215a45bde5950657055270d255613267ee3:42:134 at Ca (umbraco-backoffice-js.js.vcbe92215a45bde5950657055270d255613267ee3:114:361) at p (umbraco-backoffice-js.js.vcbe92215a45bde5950657055270d255613267ee3:98:340) '

    ' (anonymous) @ umbraco-backoffice-js.js.vcbe92215a45bde5950657055270d255613267ee3:152 DevTools failed to load source map: Could not load content for http://[domainname]/umbraco/lib/wicg-inert/dist/inert.min.js.map;;: HTTP error: status code 404, net::ERRHTTPRESPONSECODEFAILURE

  • Erik Eelman 81 posts 321 karma points
    Oct 31, 2022 @ 14:41
    Erik Eelman
    0

    Hi Bjorn,

    Did you try copying the entire the app_plugins folder from your local machine to the webserver?

  • Bjørn Hildgaard Andersen 4 posts 94 karma points
    Nov 02, 2022 @ 12:20
    Bjørn Hildgaard Andersen
    0

    Hi Erik It did not make a difference. Also, what app_plugins folder need to be copied?

    There's one in the [domainname]\wwwroot folder. And one in the [domainname]Published\ folder.

    I tried both but no changes at all. Also i have cheked, that this file Could not load content for http://[domainname]/umbraco/lib/wicg-inert/dist/inert.min.js.map;;: HTTP error: status code 404,

    Is present on the server. And i have checked the permissions on the file structure.

  • Bjørn Hildgaard Andersen 4 posts 94 karma points
    Nov 02, 2022 @ 13:51
    Bjørn Hildgaard Andersen
    100

    Hi Erik I fund this solution here on the forum

    https://our.umbraco.com/forum/using-umbraco-and-getting-started/110332-angular-error-in-browser-on-forms-edit-page-after-publish-from-visual-studio

    It worked, but i really appreciate that you took the time to help.

    Kind regards Bjørn

Please Sign in or register to post replies

Write your reply to:

Draft