umbraco

Angular 4 and Umbraco Working Together

北战南征 提交于 2021-02-19 08:34:19
问题 I've heard that Umbraco is written in Angular 1. Is it possible to run a web site written in Angular 4 on Umbraco? Do they play well together? 回答1: The backend of Umbraco is implemented using AngularJS (v1). The frontend of Umbraco uses Razor to output serverside data or you can implement your own WebAPI controllers on top of Umbraco to output data to a webapplication implemented by the framework of your preference. So yes, if you want to use it for the website itself, it fits perfectly fine.

Unhandled exception in AppDomain - read past EOF error in Lucene indexing

放肆的年华 提交于 2021-02-11 13:21:15
问题 We've been having a problem with Lucene indexing for a while already. Basically quite often when we try to publish a content the indexing just throws an error like this: 2020-01-13 22:22:38,068 [P36840/D2/TLucene Merge Thread #0] ERROR Umbraco.Core.UmbracoApplicationBase - Unhandled exception in AppDomain (terminating) Lucene.Net.Index.MergePolicy+MergeException: Exception of type 'Lucene.Net.Index.MergePolicy+MergeException' was thrown. ---> System.IO.IOException: read past EOF at Lucene.Net

Umbraco Indexing Error Filling Up Logs

倖福魔咒の 提交于 2021-02-10 23:52:44
问题 I am continually getting an Umbraco indexing error in our logs which seem to correspond with very high cpu usage on the site. Here is the error: ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 99] Provider=InternalIndexer, NodeId=-1 System.Exception: Error indexing queue items,read past EOF, IndexSet: InternalIndexSet Is this because the node that it is trying to index has an id of -1? 回答1: This has nothing to do with node ID being -1, Root node of Umbraco is always -1. The

Umbraco Indexing Error Filling Up Logs

依然范特西╮ 提交于 2021-02-10 23:47:09
问题 I am continually getting an Umbraco indexing error in our logs which seem to correspond with very high cpu usage on the site. Here is the error: ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 99] Provider=InternalIndexer, NodeId=-1 System.Exception: Error indexing queue items,read past EOF, IndexSet: InternalIndexSet Is this because the node that it is trying to index has an id of -1? 回答1: This has nothing to do with node ID being -1, Root node of Umbraco is always -1. The

Umbraco Indexing Error Filling Up Logs

眉间皱痕 提交于 2021-02-10 23:45:57
问题 I am continually getting an Umbraco indexing error in our logs which seem to correspond with very high cpu usage on the site. Here is the error: ERROR UmbracoExamine.DataServices.UmbracoLogService - [Thread 99] Provider=InternalIndexer, NodeId=-1 System.Exception: Error indexing queue items,read past EOF, IndexSet: InternalIndexSet Is this because the node that it is trying to index has an id of -1? 回答1: This has nothing to do with node ID being -1, Root node of Umbraco is always -1. The

CSS and Javascript files not updating in Production environment

拟墨画扇 提交于 2021-02-07 10:54:33
问题 System's not able to recognized any changes in my CSS and javascript files that are deployed from staging to production environment. I'm sure that I'm editing the correct file and path, even test alert is not working. It looks like the files have been cached but after clearing my cache, still no luck. We're using Umbraco CMS. Any idea? Am I missing anything? 回答1: @lyka you can try adding a version on your js links <script src="/scripts/prechat/emea-locale-json.js?v=20160223" type="text

TinyMCE can't align header tags

狂风中的少年 提交于 2021-02-07 08:19:13
问题 Does anyone know how I can enable text alignment of header tags through the TinyMCE interface? If I select the text (of any header tag) and select an aligment option it appears to have lined up correctly in the editor. However, when I save the page it gets shifted back to the default alignment (in my case left). I have also tried editing the HTML directly but when I close the dialog the HTML doesn't seem to update. I found some documentation on the wiki about the extended_valid_elements which

TinyMCE can't align header tags

∥☆過路亽.° 提交于 2021-02-07 08:17:40
问题 Does anyone know how I can enable text alignment of header tags through the TinyMCE interface? If I select the text (of any header tag) and select an aligment option it appears to have lined up correctly in the editor. However, when I save the page it gets shifted back to the default alignment (in my case left). I have also tried editing the HTML directly but when I close the dialog the HTML doesn't seem to update. I found some documentation on the wiki about the extended_valid_elements which

Use mapped drive or shared folder with IIS Express

℡╲_俬逩灬. 提交于 2021-01-29 10:09:51
问题 I'm trying to setup a dev environment for an asp.net (umbraco) project using IIS Express on a mac. I have a VM with windows installed with the dev tools. My goal is to only use the VM as a compiler but actually write the code on the mac. To do that my trying to setup a network drive or a shared folder between the host and the guest OSes. But IIS Express gives me an error when running the application. HTTP Error 500.19 - Internal Server Error The Requested page cannot be accessed because the

ClientDependency in umbraco doesn't include my bundles

天涯浪子 提交于 2021-01-28 19:34:32
问题 Here is where I call the BundleManager: public class MyUmbracoApplication : UmbracoApplication { protected override void OnApplicationStarted(object sender, System.EventArgs e) { //register custom routes RouteConfig.RegisterRoutes(RouteTable.Routes); CreateBundles(); base.OnApplicationStarted(sender, e); } public static void CreateBundles() { BundleManager.CreateCssBundle("css", new CssFile("~/css/rte.css")); BundleManager.CreateJsBundle("js", new JavascriptFile("/assets/js/custom.js")); } }