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

Feature Comparison

$
0
0

I was searching for "best .net cms" "umbraco is better than" "umbraco is not mature" "umbraco roadmap" etc etc

and i see there are these cms which were comparable against each other

DNN, sitefinity, umbraco, orchard and kentico all are good fit for content based website

nopcommerce is hands down the best website for ecommerce

vienna advantage is a very good candidate for ERP

mixerp/frapid is the best for opensource .net ERP framework https://github.com/frapid

are there any alternate to these which are better than this? there is a comparison by feature (2016) is there any progress on umbraco v7.x and planned for v8 enter image description here


Upgrading to umbraco 7.6.1 shows log4net error

$
0
0

Hi umbracians,

I've recently tried to upgrade my 7.5.10 site to 7.6.1

When launching the site after copying new files and merging configs, i now get log4net errors.

The file or the assembly 'log4net, Version = 1.2.11.0, Culture = neutral, PublicKeyToken = null' or one of its dependencies could not be loaded

i says in the docs there are breaking changes to log4net, so no surprise there. But what are the correct steps to make to get it to work?

What I did:

  1. Copied the new log4net.dll to the site
  2. Updated the web.config with the new log4net assembly binding

Is this the correct way of doing the upgrade?

best regards

Courier error on transfering to new instance

$
0
0

Any one know what this means? I was having issues with original site and an using clear passwords and not hashed. Could that have anything to do with it? I set up a user on site(B) with the same credentials.

 

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> No User exists with ID -1 at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Umbraco.Courier.RepositoryProviders.WebServiceProvider.RepositoryWebservice.CommitRevisionitem(String revision, RevisionItem revisionItem, String username, String password) at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.CommitRevision(Revision revision) at Umbraco.Courier.Core.Transfer.RevisionTransfer.Transfer() at Umbraco.Courier.Core.Tasks.TransferTask.Run() at Umbraco.Courier.Core.TaskManager.manageTask(IRevisionTask value) 6/28/2013 4:39:59 PM

Excessive amount of log entries with new Member model in v6.2

$
0
0

Debugging with logging enabled, I'm receiving for every call several sets of the following:

2014-05-27 11:18:39,727 [101] WARN  Umbraco.Core.Models.Member - [Thread 85] An attempt was made to set a value on the property 'LastLoginDate' on type Umbraco.Core.Models.Member but the property type umbracoMemberLastLogin does not exist on the member type, ensure that this property type exists so that setting this property works correctly.

2014-05-27 11:18:39,737 [101] WARN  Umbraco.Core.Models.Member - [Thread 85] Trying to access the 'PasswordQuestion' property on Umbraco.Core.Models.Member but the umbracoMemberPasswordRetrievalQuestion property does not exist on the member type so a default value is returned. Ensure that you have a property type with alias: umbracoMemberPasswordRetrievalQuestion configured on your member type in order to use the 'PasswordQuestion' property on the model correctly.

2014-05-27 11:18:39,737 [101] WARN  Umbraco.Core.Models.Member - [Thread 85] Trying to access the 'Comments' property on Umbraco.Core.Models.Member but the umbracoMemberComments property does not exist on the member type so a default value is returned. Ensure that you have a property type with alias: umbracoMemberComments configured on your member type in order to use the 'Comments' property on the model correctly.

2014-05-27 11:18:39,737 [101] WARN  Umbraco.Core.Models.Member - [Thread 85] Trying to access the 'IsApproved' property on Umbraco.Core.Models.Member but the umbracoMemberApproved property does not exist on the member type so a default value is returned. Ensure that you have a property type with alias: umbracoMemberApproved configured on your member type in order to use the 'IsApproved' property on the model correctly.

2014-05-27 11:18:39,737 [101] WARN  Umbraco.Core.Models.Member - [Thread 85] Trying to access the 'IsLockedOut' property on Umbraco.Core.Models.Member but the umbracoMemberLockedOut property does not exist on the member type so a default value is returned. Ensure that you have a property type with alias: umbracoMemberLockedOut configured on your member type in order to use the 'IsLockedOut' property on the model correctly.

2014-05-27 11:18:39,737 [101] WARN  Umbraco.Core.Models.Member - [Thread 85] Trying to access the 'LastLoginDate' property on Umbraco.Core.Models.Member but the umbracoMemberLastLogin property does not exist on the member type so a default value is returned. Ensure that you have a property type with alias: umbracoMemberLastLogin configured on your member type in order to use the 'LastLoginDate' property on the model correctly.

2014-05-27 11:18:39,737 [101] WARN  Umbraco.Core.Models.Member - [Thread 85] Trying to access the 'LastLoginDate' property on Umbraco.Core.Models.Member but the umbracoMemberLastLogin property does not exist on the member type so a default value is returned. Ensure that you have a property type with alias: umbracoMemberLastLogin configured on your member type in order to use the 'LastLoginDate' property on the model correctly.

2014-05-27 11:18:39,737 [101] WARN  Umbraco.Core.Models.Member - [Thread 85] Trying to access the 'LastPasswordChangeDate' property on Umbraco.Core.Models.Member but the umbracoMemberLastPasswordChangeDate property does not exist on the member type so a default value is returned. Ensure that you have a property type with alias: umbracoMemberLastPasswordChangeDate configured on your member type in order to use the 'LastPasswordChangeDate' property on the model correctly.

2014-05-27 11:18:39,737 [101] WARN  Umbraco.Core.Models.Member - [Thread 85] Trying to access the 'LastLockoutDate' property on Umbraco.Core.Models.Member but the umbracoMemberLastLockoutDate property does not exist on the member type so a default value is returned. Ensure that you have a property type with alias: umbracoMemberLastLockoutDate configured on your member type in order to use the 'LastLockoutDate' property on the model correctly.

The underlying connection was closed: An unexpected error occurred on a send.

$
0
0

Firstly, let me apologise for my lack of knowledge. I am reasonably new to .Net and the wonders of Umbraco.

I have two Umbraco websites setup, one production one staging, before go live these sites were syncing with courier as expected and all was well.

Once the production site was moved live and beyond the business firewall the syncing function has stopped working, I think it might be something to do with the SSL, but as I said .. a noob.

Here is the error I now get:

Application Error The underlying connection was closed: An unexpected error occurred on a send. Error details

System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.ConnectStream.WriteHeaders(Boolean async) --- End of inner exception stack trace --- at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.CloseSession(String sessionKey) at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.Dispose(Boolean disposing) at Umbraco.Courier.RepositoryProviders.CourierWebserviceRepositoryProvider.Dispose() at Umbraco.Courier.Core.Repository.Dispose(Boolean disposing) at Umbraco.Courier.Core.Repository.Dispose() at Umbraco.Courier.UI.Dialogs.CommitItem.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.ConnectStream.WriteHeaders(Boolean async) An existing connection was forcibly closed by the remote host

System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

It is with Umbraco 7.2.1 & Courier 2.51.4

Any thoughts or testing ideas greatly appreciated.

Thanks

J


2016/04/13 Update - It looks like it might be a problem with the SSL certificate on the server that recently upgraded to TLS/SSL1.2 and therefore courier is not able to communicate with itself. Any thoughts along that process would be helpful, but I will update with any solutions.

How to buy full Courier license

$
0
0

Hello,

apologies if this has been answered before. I looked through the forum but can't find any information.

I am looking to buy the full courier license but can't find links for it anywhere. I found a way to buy the E99/domain version here: https://umbraco.com/shop/cart?p=6212 but this is the express version license and it does not seem to have the ability to create packages with a diff of what is available between environments, I can move pages manually one by one - but this is so error prone and time consuming.

This is an image of what it should look like: enter image description here but with courier express I dont see the revisions folder/functionality.

Could someone knidly direct me to the correct place? Explain how the licensing works. All the links about licensing from the courier tab are broken.

Thank you in advance!

Maciej

Examine media index corrupt on every site start?

$
0
0

We receive the following message on app startup in log:

Failed (10 times) to retrieve medias from Examine index and had to load them from DB. This may indicate that the Examine index is corrupted.

Health check reports the following (fix button doesn't appear to fix anything in this case):

Media - Total XML: 22809, Total: 22818, Total invalid 0

Notice it says none are invalid but the totals do not match up?

Can anyone advise on how to investigate this further?

Thank you

ImageProcessor error: "could not be understood by the server due to malformed syntax."

$
0
0

Hello,

I've upgraded a project from 7.4 to 7.5. I know that ImageProcessor had some security changes, but I'm still a bit confused about the configuration.

For example a local image: Without querystring the image is not found. enter image description here

With crop it has an error: enter image description here

With width it works: enter image description here

In processing.config I have the following:

<plugin name="Crop" type="ImageProcessor.Web.Processors.Crop, ImageProcessor.Web" enabled="true"/>

So what do I need to do for the first 2 images to also work?

I know there is a lot of documentation here, but I still don't really know what to do: http://imageprocessor.org/imageprocessor-web/

Jeroen


Questions!

$
0
0

Hi Jeavon,

Thanks for piecing this all altogether.

A quick question though? Why do you go to the trouble of having the CDN source type as Blob storage?

When we've done this setup - we've just pointed the CDN at the Umbraco site, where it requests the image/asset on the original URL the first time and subsequently caches it.

In this approach, you don't have to upload your CSS, Javascript etc to CDN as the CDN fetches them from Umbraco.

With images the only modification you have to make is to prefix the original /media URL with the CDN domain and the image processor stuff still works.

I'm (probably) missing something!

PNG files with white backgrounds

$
0
0

Loving the plugin. The only downside is that PNG files with white backgrounds sometimes get modified to have slightly grey backgrounds.

While this is easily solved by making the background transparent, this can be a problem for some users. Since the plugin doesn't allow for these types of configurations to be set, perhaps this is something to consider optimizing.

The problem seems to occur with PNGs that have few colors, while most of the image consists of the white background. It doesn't happen for all images though, it is an intermittent issue.

When I try this with the file on Kraken, the background stays white however... See this Kraked file https://dl.kraken.io/web/6d95df3dd3a8266422a9d3a2769575b9/test-kraken.png

Custom code for document type

$
0
0

Hello all, I'm relatively new to Umbraco and after going through all of the tutorials I managed to get my hands on, I still couldn't find an answer to my question -

Is it possible in Umbraco to define a "constructor" for a document type, Regardless of its hierarchical position as a page of itself, or as a nested content in another document type.

The idea I'm pursuing is to define a custom code section to initialize things that are external to Umbraco, to allow my content editors to use this document type on any other document type (as a child) and for the custom code for my first document type (the nested one) to be initialized accordingly.

I'm aware of route hijacking and I am currently using it, but with that approach I'm bound to define a custom controller per each new document type that is intended to use my nested document type, i'm wondering if there is a way to achieve what I'm after.. (sort of a constructor\event handler for the child document type)

Thanks in advance to all potential helpers :)

Product Saving Event - Not showing messages on cancel

$
0
0

Hey,

I am trying to build some custom validation for products. I need to validate fields on an Extended Content Type.

As a test I wanted to see if I can cancel the Saving event. I tried the following:

    public class ProductValidationEventHandler : ApplicationEventHandler
{
    protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication,
        ApplicationContext applicationContext)
    {
        ProductService.Saving += ValidateProduct; // rasied before the content has been saved.
        base.ApplicationStarted(umbracoApplication, applicationContext);
    }

    private void ValidateProduct(IProductService sender, SaveEventArgs<IProduct> e)
    {
        e.CancelOperation(new EventMessage("Validation", "TEST - THIS SHOULD NOT SAVE", EventMessageType.Error));
    }
}

While the code is called, and the save appears to be cancelled, the message is not being displayed.

Am I using the right event? Is there another approach to custom validation in Merchello?

Unable to Install Umbraco 7.6 via Nuget

$
0
0

Hi,

I am unable to install Umbraco 7.6 via Nuget. It appears that no one has been able to do this as there are no downloads recorded:

https://www.nuget.org/packages/UmbracoCms/

The error I get is:

Newtonsoft.Json' already has a dependency defined for 'Microsoft.CSharp

Did a quick search and it appears that the latest version of Newtonsoft.Json is not compatible with ASP.NET 4.5 so I changed my target framework to 4.6

Still no luck though.

Anyone else experiencing this and know of a fix?

Cheers,

Marc

Problem with sending newsletter via newsletterstudio

$
0
0

Hello,

I have a little problem with the newsletterstudio. I installed it on our customers website. But now I get the error-message you can see below. My colleague and I searched for the reason of this problem. My colleague restartet the sql-server and after that it worked. But only for one time.

enter image description here

Strange is, that the test-email gets sent from the newsletterstudio.

Does anybody has an idea?

Thank you for helping!

Migrating from Confluence to Umbraco

$
0
0

My company currently has a lot of pages in Confluence (cloud version). Nothing complicated - organized in spaces, many pages have sub pages, some pages have images.

We're now looking at moving our pages to an Umbraco CMS, hosted on our own servers.

Are there tools that will copy the pages in our Confluence account to an Umbraco instance?


Product - how to change variant in the basket

$
0
0

Hi Rusty,

I'm trying for some hours now to make available on the /basket/ page a feature for the end-user to be able to change an option of the product in the basket, therefore - if i understand correctly - to change the sku of the current variant into the sku of the other variant that contains the new value of the option.

Could you please point me into some directions here ? Do I need to change the TBasketModel in an overwritten BasketControllerBase{T} ? Can I do that without changing the ILineItem from the BasketModelFactory ?

Any code example would be much appreciated. Thank you.

417 Missing token suddenly occurring on all our sites

$
0
0

We have several Umbraco sites that have been working fine, then on Monday (15th May) clients on various sites starting reporting that they were seeing no content on login.

Checking it out, it is returning 417 Missing Token on various services on login; an F5 will make everything work.

It is consistent every time; log in, nothing works, F5, everything works.

Seems to be a common error but with various causes; I have cleared cookies, restarted site, no dice. Reproducible every time.

The initial login sends a UMB_UCONTEXT cookie (and my app cookie for site users).

The F5 sends that + cookies XSRF-TOKEN and XSRF-V, and extra header X-XSRF-TOKEN.

Replaying the requests in the object inspector will reliably give the same results, so clearly it is the headers that are causing the problem.

Any ideas how to fix? And why it's suddenly started happening?

Is there a way to add a class to an element using the RTE without adding a span tag. (or editing code)

$
0
0

Hi Guys,

I've seen posts about this issue from as far back as 2010 but I've not found a solution. Plenty of work arounds for those particular issues (some good, some not so good) but hardly a solution despite many of these posts being marked as resolved.

Trying to add a class to an element via the Ricth Text Editor always (in my experience) wraps the particular element in a span tag and adds the class to the span tag rather than adding the class to the element in question.

e.g., If I click an image and select a class from the formats dropdown in RTE, rather than add the class to the image tag it will wrap the whole thing with a span tag and add the class to the span.

If I select a UL it will wrap each of the LI with a span and add the class to each of those span tags or wrap the complete UL in a span and add to it. I guess it depends on how the element is selected in the RTE prior to selecting the class from the formats dropdown.

Is this still an issue with Umbraco after all this time? I can't expect the end user to edit code to add a class, and the results of wrapping an element with a span and adding the class that way doesn't always provide the desired results.

Is this a known issue or part of the design? If part of the design is there a certain way I should be putting the CSS together to make the wrapped span work?

add datatypes to content section on grid layout

$
0
0

Hi

How can I add a datatype that I created into the choose content/insert control section on a grid layout , as per below imageenter image description here

I would like to add a datatype into this section so I can display it on a grid .

Can't edit templates in Umbraco v7.6.1

$
0
0

I just upgraded a test site from Umbraco v7.5.7 to v7.6.1 and I can't seem to edit the templates through the back office editor. I am getting an error message that says "There is already an open DataReader associated with this Command which must be closed first." whenever I click into any template to view/edit the code.

enter image description here

Viewing all 72689 articles
Browse latest View live


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