I created two custom sections and have separated them by name. The first section works perfectly, but the second one has two errors in the Chrome console that don't make sense:
Error: Argument 'Gallery.GalleryEditController' is not a function,
got undefined
Error: Failed to load template: /App_Plugins/TestimonialMngmnt/umb-media-picker.html
Thing is, these errors are bogus. The first is defined and the second is located in /App_Plugins/GalleryMngmnt/umb-media-picker.html where it belongs.
When I look at Chrome's console, I keep seeing DependencyHandler.axd mentioned, so I'm wondering how to tell it where to look.
Let me know what files you need to see . . . Any insight would be greatly appreciated.
I have the same problem mentioned, regarding the DependencyHandler.axd.
Locally, and even on a particular stating server, everything is working fine. The same file system is also on another staging server but there such errors which are occuring when accessing the Umbraco CMS.
For example, when trying to open an existing contact form of Umbraco Forms, it tell me this:
Error: Argument 'UmbracoForms.Editors.Form.EditController' is not a function, got undefined
at Error (native)
at cb (http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…zL2RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:6:622)
at xa (http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…zL2RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:6:695)
at $get (http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…L2RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:10:310)
at http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…L2RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:8:6382
at n (http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…zL2RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:4:576)
at k (http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…L2RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:8:6247)
at e (http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…L2RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:8:4220)
at http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…L2RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:8:3783
at http://www.surfyachts.casasoft-dev.com/umbraco/DependencyHandler.axd?s=L3Vt…RhdGVyYW5nZXBpY2tlci9kYXRlcmFuZ2VwaWNrZXIuanM7&t=Javascript&cdv=0:17:19495
Another instance where such same error is occuring is also when trying to sort nodes:
POST http://www.surfyachts.casasoft-dev.com/umbraco/WebServices/NodeSorter.asmx/UpdateSortOrder?app=content 500 (Internal Server Error)f.support.ajax.f.ajaxTransport.send @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2pxdWVyeS5qczsvdW1icmFjb19jbGllbnQvdWkvanF1ZXJ5dWk…:2f.extend.ajax @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2pxdWVyeS5qczsvdW1icmFjb19jbGllbnQvdWkvanF1ZXJ5dWk…:2Umbraco.Dialogs.SortDialog.base2.Base.extend._saveSort @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2RlZmF1bHQuanM7L3VtYnJhY29fY2xpZW50L0RpYWxvZ3MvU29…:21(anonymous function) @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2RlZmF1bHQuanM7L3VtYnJhY29fY2xpZW50L0RpYWxvZ3MvU29…:21f.event.dispatch @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2pxdWVyeS5qczsvdW1icmFjb19jbGllbnQvdWkvanF1ZXJ5dWk…:2f.event.add.h.handle.i @ DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L3VpL2pxdWVyeS5qczsvdW1icmFjb19jbGllbnQvdWkvanF1ZXJ5dWk…:2
DependencyHandler.axd?s=L3VtYnJhY29fY2xpZW50L0FwcGxpY2F0aW9uL1VtYnJhY29DbGllbnRNYW5hZ2VyLmpzOw&t=Ja…:18 Uncaught TypeError: Cannot read property 'apply' of undefined
Also, when we investigated the two DependancyHandler SCripts that are being generated on the two staging servers, there are a different of one byte. On the server when it is not working fine, there is a byte difference.
Reset DependencyHandler.axd
I created two custom sections and have separated them by name. The first section works perfectly, but the second one has two errors in the Chrome console that don't make sense:
Thing is, these errors are bogus. The first is defined and the second is located in /App_Plugins/GalleryMngmnt/umb-media-picker.html where it belongs.
When I look at Chrome's console, I keep seeing DependencyHandler.axd mentioned, so I'm wondering how to tell it where to look.
Let me know what files you need to see . . . Any insight would be greatly appreciated.
Can you set debug="true" on the compilation tag in your web.config. This will prevent ClientDependency from bundling and minifying your assets.
If it works than we are sure that is not in your code.
If that works you can try to update the client dependency version.
You can do this by incrementing the version number in ClientDependency.config file in the config folder
Dave
Hi Guys,
I have the same problem mentioned, regarding the DependencyHandler.axd.
Locally, and even on a particular stating server, everything is working fine. The same file system is also on another staging server but there such errors which are occuring when accessing the Umbraco CMS.
For example, when trying to open an existing contact form of Umbraco Forms, it tell me this:
Another instance where such same error is occuring is also when trying to sort nodes:
Also, when we investigated the two DependancyHandler SCripts that are being generated on the two staging servers, there are a different of one byte. On the server when it is not working fine, there is a byte difference.
Could someone help me sort this out please?
Thank you in advance.
Kind Regards
Any idea please?
is working on a reply...