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?
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)
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
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?
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)
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) '
Hi Bjorn,
Did you try copying the entire the app_plugins folder from your local machine to the webserver?
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.
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
is working on a reply...