Quantcast
Channel: ActiveTopics
Viewing all 72689 articles
Browse latest View live

Tabbed maps contents are grey'd out on load, scroll away and come back... visible...

$
0
0

Having a really strange issue with the terratype map, its contained within a tabbed section and not immediately visible on page load.

When clicking the tab, the map shows, but is all greyed out, if you scroll the window away from the map and scroll back its almost like the some init function is fired and the maps contents become visible?

Could someone please help me trace the root of this issue and help me work around it?

Thanks in advance.


Map won't display on my Text pages

$
0
0

Hi all!

I'm just starting with Umbraco, but I've played around with it enough to be dangerous. I've got a question.. I can load a google map in all of my pages.. but it only displays on the HOME page...

I use Terratype and have allowed it on all document types.

On the Umbraco backend content editor.. I can add a map into both Text document types and Home docutment types.. and the map shows up in the editing interface.. but when I look at the actual website.. it won't display on my text page? I'm assuming this has to be CSS issue?? Home Page Editor

Home Page Live

Text Page Editor

Text Page Live

lazyload.js:260: error on loading extended backoffice js files

$
0
0

Hello,

i try to extend umbraco back office with a new section and the file structure was like the attachment

App_Plugins/BackofficeApplication/backoffice/BackofficeTree/js/edit.controller.js

and then i decided to change the name of the folder and made different names and added the section again to the user privileges and i am sure i changed the name in the [Application] annotation and in [PluginController] and [Tree] annotation but lazy load try to load the javascript files from the old path and i tried also to change client dependency version but the problem still the same.

enter image description here

Converting IPublishedContent to strongly typed viewmodels w/o ModelsBuilder

$
0
0

I have a custom view model that I use in my views. Here is the base class:

public abstract class PageViewModel : RenderModel
{
    public PageViewModel(IPublishedContent content) : base(content) { }

    public string Title => Content.GetVortoValue<string>("title");
    public string MenuName => Content.GetVortoValue<string>("menuName");
    public bool ShowInMenu => Content.GetPropertyValue<bool>("showInMenu");
}

So far so good. Now I want to fetch those pages in my backend:

var publishedContent = UmbracoContext.Current.ContentCache.GetAtRoot();

Now I have a collection of IPublishedContent. Is there any way to make Umbraco return the data typed as my different PageViewModel instances instead? Can you associate the published content with its corresponding view model type somehow? If so, I could construct them manually.

As you can see, I'm not using ModelsBuilder, which is because I want to use GetVortoValue values instead of the regular GetPropertyValue.

Upon publish any change, website goes down for more than 5 minutes

$
0
0

Upon publish any change, website goes down for more than 5 minutes.

This is slowing down the whole content writers team, please help.

PayPal Express

$
0
0

I have a website which currently has the PayPal payment option, but I'd like to modify this to use PayPal Express instead so that the customer never leaves the website during the checkout flow. https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/

PayPal Express handles the entire payment process through JavaScript and triggers a callback function which would allow me to redirect to the Payment Complete page once the payment has been authorized and executed.

As everything is handled through JavaScript, TeaCommerce doesn't handle any callbacks from PayPal which means it can't know that the order has been finalized.

Is there a way I can manually finalize the order in TeaCommerce, or is there a better way to go about this?

Courusel component umbraco 7

$
0
0

Very good day! I need to create a courusel with photos, so user supposed to have ability to add and remove photos from that courusel also that courusel has to be like component, so once created, I can put it on any page just like new property but also it should be changeable, so add photo, remove photo for site editor should not be a problem. Please, give me some insight, guys

Umbraco application keeps restarting (hosted on Azure Cloud Service)

$
0
0

Hi,

I am running Umbraco on an Azure Cloud Service (A1 instance: 1 core, 1.75Gb RAM, Windows Server 2012) and the application keeps restarting - it seems to do this each time I publish something! I don't see this error on my laptop (8.1 Pro) so I'm assuming it's something to do with the hosting environment?

I am intercepting the Publish event and inserting data from the Umbraco content item into a second database, but that process all sees to be running fine.

Here's a 'debug' version of the Umbraco log file where you can see the publish happening at the top, and then 15 seconds later the "Umbraco.Core.CoreBootManager - [Thread 8] Umbraco application starting" message appears:

2015-03-26 11:19:52,964 [13] INFO  Umbraco.Core.Publishing.PublishingStrategy - [Thread 24] Content 'How to read and spell' with Id '1059' has been published.
2015-03-26 11:19:53,746 [13] INFO  Umbraco.Core.PluginManager - [Thread 24] Starting resolution types of umbraco.interfaces.ICacheRefresher
2015-03-26 11:19:53,746 [13] DEBUG Umbraco.Core.PluginManager - [Thread 24] Loaded plugin types umbraco.interfaces.ICacheRefresher with resolution FindAllTypes from persisted cache
2015-03-26 11:19:53,746 [13] DEBUG Umbraco.Core.PluginManager - [Thread 24] Caching of typelist for type umbraco.interfaces.ICacheRefresher and resolution FindAllTypes was successful = True
2015-03-26 11:19:53,746 [13] INFO  Umbraco.Core.PluginManager - [Thread 24] Completed resolution of types of umbraco.interfaces.ICacheRefresher, found 20 (took 1ms)
2015-03-26 11:19:53,776 [13] DEBUG Umbraco.Core.Sync.DefaultServerMessenger - [Thread 24] Invoking refresher Umbraco.Web.Cache.UnpublishedPageCacheRefresher on single server instance, message type RefreshById
2015-03-26 11:19:53,807 [13] DEBUG UmbracoExamine.DataServices.UmbracoLogService - [Thread 24] ReIndexNode with type: content, Provider=InternalIndexer, NodeId=1059
2015-03-26 11:19:53,825 [13] DEBUG UmbracoExamine.DataServices.UmbracoLogService - [Thread 24] AddSingleNodeToIndex with type: content, Provider=InternalIndexer, NodeId=1059
2015-03-26 11:19:55,729 [13] DEBUG UmbracoExamine.DataServices.UmbracoLogService - [Thread 16] Index created for node 1059, Provider=InternalIndexer, NodeId=1059
2015-03-26 11:19:57,057 [13] DEBUG Umbraco.Web.Scheduling.KeepAlive - [Thread 31] Keep alive executing
2015-03-26 11:19:57,057 [13] DEBUG Umbraco.Web.Scheduling.Scheduler - [Thread 10] Scheduling interval executing
2015-03-26 11:19:57,057 [13] DEBUG Umbraco.Web.Scheduling.BackgroundTaskRunner`1[[Umbraco.Web.Scheduling.ScheduledPublishing, umbraco, Version=1.0.5529.18525, Culture=neutral, PublicKeyToken=null]] - [Thread 10]  Task added Umbraco.Web.Scheduling.ScheduledPublishing
2015-03-26 11:19:57,057 [13] DEBUG Umbraco.Web.Scheduling.BackgroundTaskRunner`1[[Umbraco.Web.Scheduling.ScheduledPublishing, umbraco, Version=1.0.5529.18525, Culture=neutral, PublicKeyToken=null]] - [Thread 10] Starting
2015-03-26 11:19:57,057 [13] DEBUG Umbraco.Web.Scheduling.BackgroundTaskRunner`1[[Umbraco.Web.Scheduling.ScheduledTasks, umbraco, Version=1.0.5529.18525, Culture=neutral, PublicKeyToken=null]] - [Thread 10]  Task added Umbraco.Web.Scheduling.ScheduledTasks
2015-03-26 11:19:57,057 [13] DEBUG Umbraco.Web.Scheduling.BackgroundTaskRunner`1[[Umbraco.Web.Scheduling.ScheduledTasks, umbraco, Version=1.0.5529.18525, Culture=neutral, PublicKeyToken=null]] - [Thread 10] Starting
2015-03-26 11:19:57,057 [13] DEBUG Umbraco.Web.Scheduling.Scheduler - [Thread 10] Scheduling interval complete (took 0ms)
2015-03-26 11:19:57,057 [13] DEBUG Umbraco.Web.Scheduling.ScheduledTasks - [Thread 10] Scheduled tasks executing
2015-03-26 11:19:57,057 [13] DEBUG Umbraco.Web.Scheduling.ScheduledTasks - [Thread 10] Scheduled tasks complete (took 0ms)
2015-03-26 11:19:57,057 [13] DEBUG Umbraco.Web.Scheduling.BackgroundTaskRunner`1[[Umbraco.Web.Scheduling.ScheduledTasks, umbraco, Version=1.0.5529.18525, Culture=neutral, PublicKeyToken=null]] - [Thread 10] Shutdown
2015-03-26 11:19:57,057 [13] DEBUG Umbraco.Web.Scheduling.ScheduledPublishing - [Thread 10] Scheduled publishing executing
2015-03-26 11:19:57,089 [13] DEBUG Umbraco.Web.UmbracoModule - [Thread 20] Begin request: http://myumbracosite.cloudapp.net/umbraco/ping.aspx.
2015-03-26 11:19:57,104 [13] DEBUG Umbraco.Web.Scheduling.KeepAlive - [Thread 31] Keep alive complete (took 50ms)
2015-03-26 11:19:57,795 [13] DEBUG Umbraco.Web.UmbracoModule - [Thread 31] Begin request: http://myumbracosite.cloudapp.net/umbraco/RestServices/ScheduledPublish/Index.
2015-03-26 11:19:57,795 [13] DEBUG Umbraco.Web.Scheduling.ScheduledPublishing - [Thread 10] Scheduled publishing complete (took 746ms)
2015-03-26 11:19:57,795 [13] DEBUG Umbraco.Web.Scheduling.BackgroundTaskRunner`1[[Umbraco.Web.Scheduling.ScheduledPublishing, umbraco, Version=1.0.5529.18525, Culture=neutral, PublicKeyToken=null]] - [Thread 10] Shutdown
2015-03-26 11:20:12,057 [13] DEBUG Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache - [Thread 24] Could not retrieve media 0 from Examine index, reverting to looking up media via legacy library.GetMedia method
2015-03-26 11:20:12,154 [13] DEBUG umbraco.library - [Thread 24] No media result for id 0
2015-03-26 11:20:13,322 [13] DEBUG Umbraco.Web.UmbracoModule - [Thread 16] Begin request: http://myumbracosite.cloudapp.net/umbraco/backoffice/UmbracoApi/Authentication/GetRemainingTimeoutSeconds.
2015-03-26 11:20:13,635 [13] DEBUG Umbraco.Core.Sync.DefaultServerMessenger - [Thread 24] Invoking refresher Umbraco.Web.Cache.PageCacheRefresher on single server instance, message type RefreshById
2015-03-26 11:20:13,667 [13] DEBUG umbraco.content - [Thread 24] Initializing content on thread '' (Threadpool? True)
2015-03-26 11:20:13,682 [13] INFO  umbraco.content - [Thread 24] Loading content from disk cache...
2015-03-26 11:20:13,697 [13] DEBUG umbraco.content - [Thread 24] Content initialized (loaded)
2015-03-26 11:20:13,838 [13] DEBUG Umbraco.Core.Sync.DefaultServerMessenger - [Thread 24] Invoking refresher Umbraco.Web.Cache.MacroCacheRefresher on single server instance, message type RefreshAll
2015-03-26 11:20:13,856 [13] DEBUG UmbracoExamine.DataServices.UmbracoLogService - [Thread 24] ReIndexNode with type: content, Provider=InternalIndexer, NodeId=1059
2015-03-26 11:20:13,856 [13] DEBUG UmbracoExamine.DataServices.UmbracoLogService - [Thread 24] AddSingleNodeToIndex with type: content, Provider=InternalIndexer, NodeId=1059
2015-03-26 11:20:13,856 [13] DEBUG UmbracoExamine.DataServices.UmbracoLogService - [Thread 24] ReIndexNode with type: content, Provider=ExternalIndexer, NodeId=1059
2015-03-26 11:20:13,856 [13] DEBUG UmbracoExamine.DataServices.UmbracoLogService - [Thread 24] AddSingleNodeToIndex with type: content, Provider=ExternalIndexer, NodeId=1059
2015-03-26 11:20:13,869 [13] DEBUG UmbracoExamine.DataServices.UmbracoLogService - [Thread 10] Index created for node 1059, Provider=InternalIndexer, NodeId=1059
2015-03-26 11:20:13,964 [13] DEBUG UmbracoExamine.DataServices.UmbracoLogService - [Thread 10] Index created for node 1059, Provider=ExternalIndexer, NodeId=1059
2015-03-26 11:20:14,431 [13] DEBUG umbraco.content - [Thread 24] Content initialized (was already in context)
2015-03-26 11:20:15,197 [13] DEBUG umbraco.content - [Thread 24] Saving content to disk on thread '' (Threadpool? True)
2015-03-26 11:20:15,213 [13] DEBUG umbraco.content - [Thread 24] Saved content on thread '' in 00:00:00.0107323 (Threadpool? True)
2015-03-26 11:20:17,275 [27] DEBUG Umbraco.Core.CoreBootManager - [Thread 8] Umbraco application starting
2015-03-26 11:20:17,403 [27] INFO  Umbraco.Core.PluginManager - [Thread 8] Determining hash of code files on disk
2015-03-26 11:20:17,432 [27] INFO  Umbraco.Core.PluginManager - [Thread 8] Hash determined (took 19ms)
2015-03-26 11:20:17,525 [27] INFO  Umbraco.Core.PluginManager - [Thread 8] Starting resolution types of umbraco.interfaces.IApplicationStartupHandler
2015-03-26 11:20:17,591 [27] DEBUG Umbraco.Core.PluginManager - [Thread 8] Loaded plugin types umbraco.interfaces.IApplicationStartupHandler with resolution FindAllTypes from persisted cache
2015-03-26 11:20:17,591 [27] DEBUG Umbraco.Core.PluginManager - [Thread 8] Caching of typelist for type umbraco.interfaces.IApplicationStartupHandler and resolution FindAllTypes was successful = True
2015-03-26 11:20:17,591 [27] INFO  Umbraco.Core.PluginManager - [Thread 8] Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 39 (took 61ms)
2015-03-26 11:20:18,027 [27] INFO  Umbraco.Core.PluginManager - [Thread 8] Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter
2015-03-26 11:20:18,027 [27] DEBUG Umbraco.Core.PluginManager - [Thread 8] Loaded plugin types Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter with resolution FindAllTypes from persisted cache
2015-03-26 11:20:18,027 [27] DEBUG Umbraco.Core.PluginManager - [Thread 8] Caching of typelist for type Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter and resolution FindAllTypes was successful = True
2015-03-26 11:20:18,027 [27] INFO  Umbraco.Core.PluginManager - [Thread 8] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter, found 0 (took 2ms)
2015-03-26 11:20:18,027 [27] INFO  Umbraco.Core.PluginManager - [Thread 8] Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyValueConverter
2015-03-26 11:20:18,027 [27] DEBUG Umbraco.Core.PluginManager - [Thread 8] Loaded plugin types Umbraco.Core.PropertyEditors.IPropertyValueConverter with resolution FindAllTypes from persisted cache
2015-03-26 11:20:18,027 [27] DEBUG Umbraco.Core.PluginManager - [Thread 8] Caching of typelist for type Umbraco.Core.PropertyEditors.IPropertyValueConverter and resolution FindAllTypes was successful = True
2015-03-26 11:20:18,027 [27] INFO  Umbraco.Core.PluginManager - [Thread 8] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyValueConverter, found 17 (took 5ms)
2015-03-26 11:20:18,275 [27] INFO  Umbraco.Core.PluginManager - [Thread 8] Starting resolution types of Umbraco.Web.Mvc.SurfaceController
2015-03-26 11:20:18,275 [27] DEBUG Umbraco.Core.PluginManager - [Thread 8] Loaded plugin types Umbraco.Web.Mvc.SurfaceController with resolution FindAllTypes from persisted cache
2015-03-26 11:20:18,275 [27] DEBUG Umbraco.Core.PluginManager - [Thread 8] Caching of typelist for type Umbraco.Web.Mvc.SurfaceController and resolution FindAllTypes was successful = True
2015-03-26 11:20:18,275 [27] INFO  Umbraco.Core.PluginManager - [Thread 8] Completed resolution of types of Umbraco.Web.Mvc.SurfaceController, found 4 (took 1ms)
2015-03-26 11:20:18,275 [27] INFO  Umbraco.Core.PluginManager - [Thread 8] Starting resolution types of Umbraco.Web.WebApi.UmbracoApiController
2015-03-26 11:20:18,291 [27] DEBUG Umbraco.Core.PluginManager - [Thread 8] Loaded plugin types Umbraco.Web.WebApi.UmbracoApiController with resolution FindAllTypes from persisted cache
2015-03-26 11:20:18,291 [27] DEBUG Umbraco.Core.PluginManager - [Thread 8] Caching of typelist for type Umbraco.Web.WebApi.UmbracoApiController and resolution FindAllTypes was successful = True
2015-03-26 11:20:18,291 [27] INFO  Umbraco.Core.PluginManager - [Thread 8] Completed resolution of types of Umbraco.Web.WebApi.UmbracoApiController, found 36 (took 7ms)
2015-03-26 11:20:18,416 [27] INFO  Umbraco.Core.PluginManager - [Thread 8] Starting resolution types of Umbraco.Core.Media.IThumbnailProvider
2015-03-26 11:20:18,416 [27] DEBUG Umbraco.Core.PluginManager - [Thread 8] Loaded plugin types Umbraco.Core.Media.IThumbnailProvider with resolution FindAllTypes from persisted cache
2015-03-26 11:20:18,416 [27] DEBUG Umbraco.Core.PluginManager - [Thread 8] Caching of typelist for type Umbraco.Core.Media.IThumbnailProvider and resolution FindAllTypes was successful = True
2015-03-26 11:20:18,416 [27] INFO  Umbraco.Core.PluginManager - [Thread 8] Completed resolution of types of Umbraco.Core.Media.IThumbnailProvider, found 3 (took 0ms)
2015-03-26 11:20:18,416 [27] INFO  Umbraco.Core.PluginManager - [Thread 8] Starting resolution types of Umbraco.Core.Media.IImageUrlProvider
2015-03-26 11:20:18,416 [27] DEBUG Umbraco.Core.PluginManager - [Thread 8] Loaded plugin types Umbraco.Core.Media.IImageUrlProvider with resolution FindAllTypes from persisted cache
2015-03-26 11:20:18,416 [27] DEBUG Umbraco.Core.PluginManager - [Thread 8] Caching of typelist for type Umbraco.Core.Media.IImageUrlProvider and resolution FindAllTypes was successful = True
2015-03-26 11:20:18,416 [27] INFO  Umbraco.Core.PluginManager - [Thread 8] Completed resolution of types of Umbraco.Core.Media.IImageUrlProvider, found 1 (took 0ms)
2015-03-26 11:20:21,714 [27] DEBUG Umbraco.Core.ObjectResolution.Resolution - [Thread 8] Freezing resolution
2015-03-26 11:20:21,759 [27] DEBUG jumps.umbraco.usync.uSync - [Thread 8] Get Settings
2015-03-26 11:20:21,775 [27] DEBUG jumps.umbraco.usync.uSync - [Thread 8] Settings : Read = True
2015-03-26 11:20:21,775 [27] DEBUG jumps.umbraco.usync.uSync - [Thread 8] Settings : Write = False
2015-03-26 11:20:21,775 [27] DEBUG jumps.umbraco.usync.uSync - [Thread 8] Settings : Attach = True
2015-03-26 11:20:21,793 [27] INFO  jumps.umbraco.usync.uSync - [Thread 8] uSync Starting - for detailed debug info. set priority to 'Debug' in log4net.config file
2015-03-26 11:20:21,793 [27] INFO  jumps.umbraco.usync.uSync - [Thread 8] Read stopped by usync.stop
2015-03-26 11:20:21,806 [27] DEBUG jumps.umbraco.usync.uSync - [Thread 8] Attaching to Events - Start
2015-03-26 11:20:21,853 [27] DEBUG jumps.umbraco.usync.uSync - [Thread 8] Attaching to Events - End
2015-03-26 11:20:21,853 [27] INFO  jumps.umbraco.usync.uSync - [Thread 8] uSync Initialized (70ms)
2015-03-26 11:20:21,962 [27] INFO  Umbraco.Web.Search.ExamineEvents - [Thread 8] Initializing Examine and binding to business logic events
2015-03-26 11:20:22,011 [27] DEBUG UmbracoExamine.DataServices.UmbracoLogService - [Thread 8] InternalIndexer indexer initializing, Provider=InternalIndexer, NodeId=-1
2015-03-26 11:20:22,322 [27] DEBUG UmbracoExamine.DataServices.UmbracoLogService - [Thread 8] InternalMemberIndexer indexer initializing, Provider=InternalMemberIndexer, NodeId=-1
2015-03-26 11:20:22,356 [27] DEBUG UmbracoExamine.DataServices.UmbracoLogService - [Thread 8] ExternalIndexer indexer initializing, Provider=ExternalIndexer, NodeId=-1
2015-03-26 11:20:22,447 [27] INFO  Umbraco.Web.Search.ExamineEvents - [Thread 8] Adding examine event handlers for index providers: 3
2015-03-26 11:20:22,495 [27] DEBUG Umbraco.Core.CoreBootManager - [Thread 8] Umbraco application startup complete (took 5177ms)

As you can see from the log file, there are no errors being logged that seem to be causing this...

The only Umbraco package I have installed is uSync, but I've tried uninstalling that and it makes no difference...

Any ideas or solutions much appreciated!

Thanks,

Maff


umbraco - authoring server issue

$
0
0

Hi

We have a website with an authoring server (umbraco 7.3.2) and a web node for the public website (ie. No umbraco backoffice). The method of pushing content changes from authoring to the public website is a hangover from umb4, but ultimately it achieved by copying the umbraco.config file out to the public website. The public website is also configured to use the authorinng umbraco database (so that it starts up successfully).

This has an intermittent issue where the public website will start throwing the following exception:

DatabaseServerMessenger - DISTRIBUTED CACHE IS NOT UPDATED. Failed to execute instructions (20159: "[{"RefreshType":3,"RefresherId":"55698352-dfc5-4dbe-96bd-a4a0f6f77145","GuidId":"00000000-0000-0000-0000-000000000000","IntId":0,"JsonIds":"[5636]","JsonPayload":null},{"RefreshType":3,"RefresherId":"27ab3022-3dfa-47b6-9119-5945bc88fd66","GuidId":"00000000-0000-0000-0000-000000000000","IntId":0,"JsonIds":"[5636]","JsonPayload":null}]"). Instruction is being skipped/ignored System.ArgumentException: Invalid or unsupported character in number at SupportClass.Number.ToInt64(String s) at Lucene.Net.Index.SegmentInfos.GetCurrentSegmentGeneration(String[] files) at Lucene.Net.Index.SegmentInfos.GetCurrentSegmentGeneration(Directory directory) at Lucene.Net.Index.IndexReader.IndexExists(Directory directory) at Examine.LuceneEngine.Providers.LuceneIndexer.AddNodesToIndex(IEnumerable1 nodes, String type) in x:\Projects\Examine\Examine\Projects\Examine\LuceneEngine\Providers\LuceneIndexer.cs:line 890 at Examine.ExamineManager._ReIndexNode(XElement node, String type, IEnumerable1 providers) in x:\Projects\Examine\Examine\Projects\Examine\ExamineManager.cs:line 200 at Umbraco.Core.Cache.CacheRefresherBase`1.Refresh(Int32 id) at Umbraco.Web.Cache.UnpublishedPageCacheRefresher.Refresh(Int32 id)

The only way to resolve it is to remove the App_Data folder so that Examine indexes can be rebuilt. Is this a known issue? thanks

Long umbraco startup time.

$
0
0

Is it normal for Umbraco to take around 20 seconds to startup? I'm using Umbraco 7.5.6. My site has around 30k nodes. What can I do to reduce the startup time? Here is the logs:

2017-01-14 07:50:28,983 [P4548/D2/T1] INFO  Umbraco.Core.CoreBootManager - Umbraco 7.5.6 application starting on RD00155DD03750
2017-01-14 07:50:29,045 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Determining hash of code files on disk
2017-01-14 07:50:29,108 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Hash determined (took 67ms)
2017-01-14 07:50:29,233 [P4548/D2/T1] INFO  Umbraco.Core.MainDom - Acquiring MainDom...
2017-01-14 07:50:29,233 [P4548/D2/T1] INFO  Umbraco.Core.MainDom - Acquired MainDom.
2017-01-14 07:50:29,248 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of umbraco.interfaces.IApplicationStartupHandler
2017-01-14 07:50:29,686 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 0 (took 443ms)
2017-01-14 07:50:29,842 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter
2017-01-14 07:50:29,842 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter, found 0 (took 2ms)
2017-01-14 07:50:29,842 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyValueConverter
2017-01-14 07:50:29,842 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyValueConverter, found 0 (took 2ms)
2017-01-14 07:50:29,873 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Web.Mvc.SurfaceController
2017-01-14 07:50:29,873 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Web.Mvc.SurfaceController, found 0 (took 4ms)
2017-01-14 07:50:29,873 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Web.WebApi.UmbracoApiController
2017-01-14 07:50:29,889 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Web.WebApi.UmbracoApiController, found 0 (took 16ms)
2017-01-14 07:50:29,952 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.Media.IThumbnailProvider
2017-01-14 07:50:29,952 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.Media.IThumbnailProvider, found 0 (took 2ms)
2017-01-14 07:50:29,952 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.Media.IImageUrlProvider
2017-01-14 07:50:29,952 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.Media.IImageUrlProvider, found 0 (took 1ms)
2017-01-14 07:50:31,826 [P4548/D2/T1] INFO  Umbraco.Core.DatabaseContext - CanConnect = True
2017-01-14 07:50:32,030 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.Models.PublishedContent.PublishedContentModel
2017-01-14 07:50:32,062 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.Models.PublishedContent.PublishedContentModel, found 0 (took 25ms)
2017-01-14 07:50:32,467 [P4548/D2/T1] INFO  Umbraco.Core.DatabaseContext - CanConnect = True
2017-01-14 07:50:32,545 [P4548/D2/T1] INFO  Umbraco.Web.Cache.CacheRefresherEventHandler - Initializing Umbraco internal event handlers for cache refreshing
2017-01-14 07:50:32,576 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.Persistence.Mappers.BaseMapper
2017-01-14 07:50:32,576 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.Persistence.Mappers.BaseMapper, found 0 (took 4ms)
2017-01-14 07:50:33,420 [P4548/D2/T1] INFO  umbraco.content - Load Xml from file...
2017-01-14 07:50:33,436 [P4548/D2/T1] INFO  umbraco.content - Loaded Xml from file.
2017-01-14 07:50:33,701 [P4548/D2/T1] INFO  Umbraco.Web.Search.ExamineEvents - Initializing Examine and binding to business logic events
2017-01-14 07:50:35,696 [P4548/D2/T1] INFO  UmbracoExamine.LocalStorage.LocalTempStorageIndexer - Successfully sync'd main index to local temp storage for index: ~/App_Data/TEMP/ExamineIndexes/RD00155DD03750/Internal/
2017-01-14 07:50:35,805 [P4548/D2/T1] INFO  UmbracoExamine.LocalStorage.LocalTempStorageIndexer - Successfully sync'd main index to local temp storage for index: ~/App_Data/TEMP/ExamineIndexes/RD00155DD03750/InternalMember/
2017-01-14 07:50:36,625 [P4548/D2/T1] INFO  UmbracoExamine.LocalStorage.LocalTempStorageIndexer - Successfully sync'd main index to local temp storage for index: ~/App_Data/TEMP/ExamineIndexes/RD00155DD03750/External/
2017-01-14 07:50:37,174 [P4548/D2/T1] INFO  UmbracoExamine.LocalStorage.LocalTempStorageIndexer - Successfully sync'd main index to local temp storage for index: ~/App_Data/TEMP/ExamineIndexes/RD00155DD03750/Index1/
2017-01-14 07:50:37,412 [P4548/D2/T1] INFO  UmbracoExamine.LocalStorage.LocalTempStorageIndexer - Successfully sync'd main index to local temp storage for index: ~/App_Data/TEMP/ExamineIndexes/RD00155DD03750/Index2/
2017-01-14 07:50:37,809 [P4548/D2/T1] INFO  UmbracoExamine.LocalStorage.LocalTempStorageIndexer - Successfully sync'd main index to local temp storage for index: ~/App_Data/TEMP/ExamineIndexes/RD00155DD03750/Index3/
2017-01-14 07:50:37,840 [P4548/D2/T1] INFO  Umbraco.Web.Search.ExamineEvents - Adding examine event handlers for index providers: 6
2017-01-14 07:50:38,014 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Core.PropertyEditors.IParameterEditor
2017-01-14 07:50:38,014 [P4548/D2/T1] INFO  Umbraco.Core.PluginManager - Completed resolution of types of Umbraco.Core.PropertyEditors.IParameterEditor, found 0 (took 4ms)
2017-01-14 07:50:46,079 [P4548/D2/T1] INFO  Umbraco.Core.DatabaseContext - CanConnect = True
2017-01-14 07:50:46,219 [P4548/D2/T1] INFO  Umbraco.Core.CoreBootManager - Umbraco application startup complete (took 17360ms)

ImageProcessor not working with UmbracoFileSystemProviders.Azure

$
0
0

I am having an issue getting ImageProcessor to work with images stored in an Azure Blob. I am using the latest version of the UmbracoFileSystemProviders.Azure plugin installed via nuget. The images are retrieved from the blob but none of the ImageProcessor query string parameters will work on the images.

i.e. http://localhost:12345/media/16058/image1.jpg?crop=0.040796245837117766,0,0.041288222827732549,0&cropmode=percentage&width=50&height=367&rnd=130875544740000000

This url was outputed by the GetCropUrl method. The full sized image is returned and not the cropped image. The blob container is public. Images are being cached just not processed. No broken image but the crops are being ignored.

I have this at the end of my main web.config:

  <imageProcessor>
    <security configSource="config\imageprocessor\security.config" />
    <caching configSource="config\imageprocessor\cache.config" />
  </imageProcessor>

Here is my security.config:

<?xml version="1.0" encoding="utf-8"?>
<security>
  <services>
    <service name="LocalFileImageService" type="ImageProcessor.Web.Services.LocalFileImageService, ImageProcessor.Web" />
    <service prefix="media/" name="CloudImageService" type="ImageProcessor.Web.Services.CloudImageService, ImageProcessor.Web">
      <settings>
        <setting key="Container" value="media-myclient"/>
        <setting key="MaxBytes" value="8194304"/>
        <setting key="Timeout" value="30000"/>
        <setting key="Host" value="http://myaccount.blob.core.windows.net/media-myclient"/>
      </settings>
    </service>
  </services>
</security>

Is the RemoteImageService service required or does the CloudImageService service handle relative urls so that I don't need to add the remote.axd to the url? The GitHub read me for the plugin does not show it but other posts do. If so, is the whitelist section required?

Here is the cache.config with DiskCache set:

<?xml version="1.0" encoding="utf-8"?>
<caching currentCache="DiskCache">
  <caches>
    <cache name="DiskCache" type="ImageProcessor.Web.Caching.DiskCache, ImageProcessor.Web" maxDays="365">
      <settings>
        <setting key="VirtualCachePath" value="~/app_data/cache" />
      </settings>
    </cache>
    <cache name="AzureBlobCache" type="ImageProcessor.Web.Plugins.AzureBlobCache.AzureBlobCache, ImageProcessor.Web.Plugins.AzureBlobCache" maxDays="365">
      <settings>
        <setting key="CachedStorageAccount" value="DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=mykey" />
        <setting key="CachedBlobContainer" value="cache-client" />
        <setting key="UseCachedContainerInUrl" value="false" />
        <setting key="CachedCDNRoot" value="https://myaccount.azureedge.net/" />
        <setting key="CachedCDNTimeout" value="1000" />
        <setting key="SourceStorageAccount" value="DefaultEndpointsProtocol=https;AccountName=myaccount;AccountKey=mykey" />
        <setting key="SourceBlobContainer" value="media-client" />
        <setting key="StreamCachedImage" value="false" />
      </settings>
    </cache>
  </caches>
</caching>

I understand that putting the cache into the blob/CDN is better, but is it mandatory for this to work with ImageProcessor providers? Or have I just missed something here? Thanks.

How to use Video in Media Picker

$
0
0

I've media picker in my current Document Type. In that I have taken two Media picker. first for the multiple images slider and another for video. enter image description here enter image description here

Now I am trying to get this url in my code by given code:

var imageList = CurrentPage.productsSliderImages.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries);
var video = Umbraco.Media(CurrentPage.productSliderVideo);

I am getting ImageList successfully. But I am getting video null. If I replace my video with any Image again its start working. Is there any problem with Video or other file with media picker?

Watch: http://prntscr.com/e9wal1

Unable to generate and use localized Urls

$
0
0

Hello,

I don't have a developer degree, I'm a self learned Umbraco implementer. I was building multi language web sites with content copying method before. Now started a new project and i have to build a 1-1 multilingual system as described with this example.

I followed uHangout EP078, followed the blog post, did research on web but unfortunately i couldn't manage to generate localized urls on a 1-1 multilingual web site.

When i open the provided example solution on Visual Studio it works. But i couldn't manage to make the same setup from scratch.

Alternatively i tried to publish the example site and continue developing web site over it, but couldn't manage to publish site due to some errors that i didn't understand.

May be the reason is my insufficient knowledge. But i have to learn and apply this in a short time :(

Can anyone please guide me?

Best regards...

Running Umbraco from source code in VS2017

$
0
0

Hello, I just get the latest sources of Umbraco and trying to run it from source code. But have troubles doing it. Is it some kind of special configuration of setup I need on my machine?

The issue I have: redirect to this page http://localhost:7513/install/?redir=true&url=http%3a%2f%2flocalhost%3a7513%2f and an error message "A server error occurred This is most likely due to an error during application startup"

Based on logs it looks like a lot of files not found in /Umbraco/Js folder, in my case I have 12 files, but compiled version have 29 files

I was also trying to build using /build/build.bat but it gives me MSBuild error

d:\Downloads\Umbraco-CMS-dev-v7\src\umbraco.presentation.targets(68,38): error MSB4022: The result "" of evaluating the value "$(WebPublishingTasks)" of the "AssemblyFile" attribute in element is not valid. [d:\Downloads\Umbra co-CMS-dev-v7\src\Umbraco.Web.UI\Umbraco.Web.UI.csproj]

I assume it needs visual studio 2015, but on my machine, I have only visual studio 2017 installed.

At least point me in right direction, maybe some guide or document...

Portfolio item not working

$
0
0

Hello everyone,

I just discovered a strange problem with the portfolio item:

I have two language trees (German and English). When I add a portfolio section on any page (no matter which tree), the page loads up normally. As soon as I add a portfolio item on the page, different things happen:

  • On the German tree it takes unusually long to save the item (the system including the front end kind of hangs), but then the item is visible on the page and working.
  • On the English tree the item is saved regularly, but when I open the page, it displays an error message and the page doesn't load regularly.

Is there any place, where I can look to solve this?

Thanks a lot, Simeon


System.OutOfMemoryException in Umbraco.Core.UmbracoApplicationBase

$
0
0

Hi, we've just started getting System.OutOfMemoryException exceptions. Does anyone know what might be causing these or how to investigate?

Error details below:

2017-05-09 00:33:39,146 [P26432/D2/T14] ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at Go10872(RegexRunner ) at System.Text.RegularExpressions.CompiledRegexRunner.Go() at System.Text.RegularExpressions.RegexRunner.Scan(Regex regex, String text, Int32 textbeg, Int32 textend, Int32 textstart, Int32 prevlen, Boolean quick, TimeSpan timeout) at System.Text.RegularExpressions.Regex.Run(Boolean quick, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat) at System.Text.RegularExpressions.Regex.IsMatch(String input, Int32 startat) at System.Text.RegularExpressions.Regex.IsMatch(String input) at Umbraco.Core.Persistence.Database.AddSelectClause[T](String sql) at Umbraco.Core.Persistence.Database.d71.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Umbraco.Core.Persistence.Database.Fetch[T](String sql, Object[] args) at Umbraco.Core.Persistence.Database.Fetch[T](Sql sql) at Umbraco.Core.Sync.DatabaseServerMessenger.ProcessDatabaseInstructions() at Umbraco.Core.Sync.DatabaseServerMessenger.Sync() at Umbraco.Web.BatchedDatabaseServerMessenger.UmbracoModule_RouteAttempt(Object sender, RoutableAttemptEventArgs e) at Umbraco.Web.UmbracoModule.OnRouteAttempt(RoutableAttemptEventArgs args) at Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) at Umbraco.Web.UmbracoModule.b8(Object sender, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Reserving time for upgrading to Umbraco 7.6

$
0
0

I have seen several comments about the upgrade process of Umbraco saying that, in general, it can be done quite smoothly.

But so far, there are always some manual adjustments and merging needed for upgrading as far as I understand from the documentation in:

This makes it hard to estimate how much time will be involved in the upgrading process.

Every site is different, so I understand that it's impossible to give an exact estimation that covers all cases, but I would love to hear your experiences... For small, simple websites as well as for the more complex, big ones with lots of pages and packages in use.

Just to get a better feeling about what sounds realistic.

How much time do you reserve for upgrading to a new version?

Did you manage to upgrade within

  • a few minutes
  • hours
  • days?

Which tools and setups made upgrading much easier and faster?

What parts of the upgrade were time-consuming for you? (eg. comparing/merging config files, upgrading other packages, custom code, ...?)

Hope to see your experience with upgrading!

Setting the value of MultiNodeTreePicker2 programatically

$
0
0

Hello there!

Been searching and trying to implement this for some time now. I would like to programatically set the value of a Umbraco.MultiNodeTreePicker2 datatype.

Here's the code I've tried:

/// <summary>
/// Create an Exercise
/// </summary>
/// <param name="parentId"></param>
/// <param name="model"></param>
private void CreateExercise(int parentId, Exercise model)
{
    // UserId of the Umbraco admin
    int userId = 0;
    // Get the Umbraco contentService
    var cs = Services.ContentService;

    // Create the node
    var content = cs.CreateContent(model.Name, parentId, "Exercise", userId);

    // Set custom properties
    content.SetValue("content", model.Content);
    content.SetValue("imageUrl", model.ImageUrl);

    // Entering as a CSV
    var testArray = model.BodyParts.Select(b => b.Id).ToArray();
    content.SetValue("bodyParts", string.Join(",", testArray));

    // Entering as a IENumerable<IPublishedContent>
    //content.SetValue("bodyParts", model.BodyParts);

    // Save the node
    cs.SaveAndPublishWithStatus(content);
}

Unfortunately, neither CSV or IENumerable works.

What sort of datatype should the data be when setting the value of the MultiNodeTreepicker?

Thanks!

Test if Macro exists

$
0
0

Is there a method I'm not seeing that I can use to test if a macro exists...besides testing the string result of @Umbraco.RenderMacro?

PROBLEM: Extreme slowly loading website

$
0
0

Hi to all, I have this problem.

I have two websites (production/development) on the same Microsoft Windows Server 2012 R2. These two sites are identical.

Until tuesday everything worked fine, but on wednesday the development website has become extremely slow (for example yesterday morning I waited 40 minutes to view the homepage and even the backoffice pages are very slow to load).

The peculiar thing is that once a page has been loaded for the first time, from that moment that page load quickly.

I tried to republish all content, recreate the cache, change the name of the website and also i tried to check the Umbraco and IIS logs but there are no useful informations.

The production website, instead, fortunately working perfectly.

As I said before, the only difference between websites is the connection string in the web.config and the development site name is not in domain, so it has been configured in host file on my workstation...but until Tuesday everything worked fine.

System administrators told me that on May 16th they updated the server and installed a patch against the new Wannacry ransomware but if that was the problem, all sites should have the same symptoms instead only that development site has the problem.

What other checks can I make to understand where the problem is??

Umbraco version 7.5.7 assembly: 1.0.6219.11990

Microsoft Windows Server 2012 R2

Microsoft SQL Server 2012 (on a different VM)

Viewing all 72689 articles
Browse latest View live