Installing Umbraco 7.1.1 Uncaught ReferenceError: angular is not defined
When installing Umbraco 7.1.1 firefox will hang and the installation won't start. Using Chrome, the console will display the following errors. Letting me know there are problems with loading Angular. Could someone help me out with this?
How are you trying to install Umbraco? Is it manually,using WebPi, webmatrix or how are you doing it? Have you had a glance at the documentation on installing Umbraco as well?
To my knowledge there should not be any Firefox specific issues in regards to install Umbraco.
I try to install it manually. I install Umbraco the same way as I used to do with 6.x. I made sure the permissions are set correctly, and added a website in IIS. Normaly the installer will run.
Ok - Well it's indeed really weird - I'm not sure what is going on. I have never seen it before and it acts the same way in all the browser I have tried in.
The only thing I'm certain of is that this is not a browser issue.
What version of IIS is being used? And what user is running the application pool?
I ran into this problem when deploying an Umbraco 7.1.6 site to a new server. In Fiddler I saw javascript files which were loaded (with a JS icon) and javascript files which were not loaded (with an HTML icon), as well as the message "Resource interpreted as Script but transferred with MIME type text/html" in Chrome. I noticed the files which were not loaded were in folders with a dot in the folder name, e.g. /umbraco/lib/angular/1.1.5/angular-sanitize.min.js
It appeared this was indeed caused by UrlScan. Setting AllowDotInPath=1 in urlscan.ini did not help, but after disabling UrlScan I was finally able to access the Umbraco backend.
Installing Umbraco 7.1.1 Uncaught ReferenceError: angular is not defined
When installing Umbraco 7.1.1 firefox will hang and the installation won't start. Using Chrome, the console will display the following errors. Letting me know there are problems with loading Angular. Could someone help me out with this?
Regards,
Patrick
Uncaught SyntaxError: Unexpected token < /install/?redir=true&url=http%3a%2f%2ftest.maxelmo.nl%2fRejected-By-UrlScan%3f%7e%2fumbraco%2flib%2fangular%2f1.1.5%2fangular.min.js:2
Hi Patrick
How are you trying to install Umbraco? Is it manually,using WebPi, webmatrix or how are you doing it? Have you had a glance at the documentation on installing Umbraco as well?
To my knowledge there should not be any Firefox specific issues in regards to install Umbraco.
/Jan
I try to install it manually. I install Umbraco the same way as I used to do with 6.x. I made sure the permissions are set correctly, and added a website in IIS. Normaly the installer will run.
Hi Patrick
That's really weird - have you tried installing using another browser and then see if you can access the installation in firefox?
You did not disable JavaScript for some reason or by accident?
/Jan
I tried it with Chrome and firefox. You can see for yourself at: http://test.maxelmo.nl
Hi Patrick
Ok, thought you where doing a local installation...Is this your own server or do you have some webhosting?
If it's hosted somewhere then you need to make sure that the host actually supports Umbraco.
Looking forward to hearing from you.
/Jan
It's my own server. I run several Umbraco 6.16 installations on this machine.
Hi Patrick
Ok - Well it's indeed really weird - I'm not sure what is going on. I have never seen it before and it acts the same way in all the browser I have tried in.
The only thing I'm certain of is that this is not a browser issue.
What version of IIS is being used? And what user is running the application pool?
/Jan
I did a fairly quick lookup:
Basically you get 404 for angular files, weird.
I ran into this problem when deploying an Umbraco 7.1.6 site to a new server. In Fiddler I saw javascript files which were loaded (with a JS icon) and javascript files which were not loaded (with an HTML icon), as well as the message "Resource interpreted as Script but transferred with MIME type text/html" in Chrome. I noticed the files which were not loaded were in folders with a dot in the folder name, e.g. /umbraco/lib/angular/1.1.5/angular-sanitize.min.js
It appeared this was indeed caused by UrlScan. Setting AllowDotInPath=1 in urlscan.ini did not help, but after disabling UrlScan I was finally able to access the Umbraco backend.
Hi,
Had same problem and URLScan was the culprit. Thanks :)
Cheers
Bjørn
is working on a reply...