Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: 4.2 Beta 2 available

$
0
0
Hi Marcus,

Thanks for the feedback.

I've been a bit of a klutz. After reviewing my files, it appears that I had commented out the stylesheet link to ~/Frontend/Config/VisualEditor/Styles/core.css in ~/Frontend/Config/VisualEditor/common.xml , and linked to my own version of that file with some changes to highlight DIV blocks and a[target="_blank"] links (the second of which doesn't work). Restoring the link to core.css fixed the function loading animations and the missing edit buttons.

Please feel free to berate me for ignoring the wise words: "Consider NOT changing this file." !

The reason I was asking about specifying the width of a function was that I noticed that the rendering of tables within function previews seems to ignore css white-space:normal;, defaulting to nowrap instead. See comparison of my Navigation table at: https://drive.google.com/file/d/0B-Ouw0V7XtcFR2t1ZEtPSUxTdjg/edit?usp=sharing . I had thought that overriding the function preview width might force text within the table to wrap correctly.

After restarting the site, I've not had any further red log items for the "System.IO.FileLoadException" error, but have had lots of the following red log items:
Composite.Core.WebClient.BrowserRenderException: 
Request failed to complete within expected time: .CMSAUTH_-##########,localhost|http://localhost:50112//Renderers/TemplatePreview.ashx?p=77d4f315-f9f1-48cc-904e-909aa7be3145&t=c802ecd0-ab6f-47e3-a592-080b3a17a6a3&hash=-##########|C:\Users\baid1\Dropbox\Websites\www-sdjr-composite\App_Data\Composite\Cache\PreviewImages\template\TGAlYg.png|template

   at Composite.Core.WebClient.BrowserRender.PhantomServer.RenderUrl(HttpCookie authenticationCookie, String url, String tempFilePath, String mode, String& output)
   at Composite.Core.WebClient.BrowserRender.<MakePreviewRequest>d__f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Composite.Core.WebClient.BrowserRender.<RenderUrl>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Composite.Core.WebClient.Services.WysiwygEditor.PageTemplatePreview.GetPreviewInformation(HttpContext context, Guid pageId, Guid templateId, String& imageFilePath, PlaceholderInformation[]& placeholders)
   at Composite.Services.PageTemplateService.GetTemplatePreviewInformation(Guid pageId, Guid templateId)
, and:
Composite.Core.WebClient.BrowserRenderException: Max execution time - 10 seconds - exceeded
Request: .CMSAUTH_-##########,localhost|http://localhost:50112//Renderers/TemplatePreview.ashx?p=22221d79-69b3-4958-8762-433009d9f205&t=6cfcf81b-667c-45c0-8f20-10b0a6f1a262&hash=-##########|C:\Users\baid1\Dropbox\Websites\www-sdjr-composite\App_Data\Composite\Cache\PreviewImages\template\yauJYg.png|template

   at Composite.Core.WebClient.BrowserRender.PhantomServer.RenderUrl(HttpCookie authenticationCookie, String url, String tempFilePath, String mode, String& output)
   at Composite.Core.WebClient.BrowserRender.<MakePreviewRequest>d__f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Composite.Core.WebClient.BrowserRender.<RenderUrl>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Composite.Core.WebClient.Services.WysiwygEditor.PageTemplatePreview.GetPreviewInformation(HttpContext context, Guid pageId, Guid templateId, String& imageFilePath, PlaceholderInformation[]& placeholders)
   at Composite.Services.PageTemplateService.GetTemplatePreviewInformation(Guid pageId, Guid templateId)
, and:
System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.Take[TSource](IEnumerable`1 source, Int32 count)
   at Composite.C1Console.Drawing.FunctionPresentation.GenerateFunctionBoxWithText(HttpContext context, String functionTitle, Boolean isWarning, Boolean showEditButton, ICollection`1 lines, Stream outputStream)
   at Composite.Core.WebClient.FunctionBoxHttpHandler.<ProcessRequestAsync>d__0.MoveNext()
My v4.2 site isn't yet hosted, but I can ZIP it up and pass it to you via DropBox or Google Drive.

David.

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>