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

Headless only for cloude ?

$
0
0

I headless umbraco will be only for cloude Umbrao or Free Umbraco Cms as well


Unable to login to backend with umbracoUseSSL set to true

$
0
0

Hello,

if I set this key in the web.config

<add key="umbracoUseSSL" value="true" />

I cannot access to the backend of Umbraco, and the browser says this error:

The page redirect you too many times

Another problem is that with this key set to true Umbraco doesn't make a redirect for all pages to the https version. So I'm obligated to create this rule on the system.webserver section of the web.config:

<rewrite>
  <rules>
    <rule name="Force Https" stopProcessing="true">
<match url="(.*)" />
<conditions>
        <add input="{HTTP_X_FORWARDED_PROTO}" pattern="https" negate="true" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" redirectType="Permanent" />
    </rule>
  </rules>
</rewrite>

SEO Checker on Cloud - Schedule errors and local environment not working

$
0
0

Hi there,

We are looking into getting SEO checker on our site which is currently using Umbraco Cloud.

It seems we are getting an insane amount of error related to 'schedule tasks' and for some reason the field do not map on anything other than the title tag on our templates.

SEOChecker: SEOChecker: Error running scheduled task


Exception:
System.Net.WebException: The remote server returned an error: (401) Unauthorized.
   at System.Net.HttpWebRequest.GetResponse()
   at SEOChecker.Core.Helpers.Request.ParseUrl(String url, Boolean allowRedirect, String method, Int32 timeOut)
   at SEOChecker.HttpModules.ValidationqueueModule.TimerCallback(Object sender)

Additionally we are unable to do anything in within a local environment as we keep getting the following every time we save any content:

Server error: Contact administrator, see log for full details.
Object reference not set to an instance of an object.

The log showing the following:

2018-08-27 15:51:24,823 [P51244/D2/T8] ERROR SEOChecker.HttpModules.UrlModule - SEOChecker: SEOChecker: Error in HttpModule for url rewriting

Finally, as mentioned earlier, we are unable to get the SEO check fields to map to existing fields. It does not seem to recognised anything other than the 'title' tag in our template.

Apologies if I fired a lot of issues in one post, but any help or pointers as to how to get this plugin working smoothly would be much appreciated.

Thanks,

Umbraco 7 install on Windows server 2008r2

$
0
0

Hello. We see conflicting information about installation. Requirements for Windows Server 2008 and Umbraco 7.

Are they compatible for an install?

Can anyone advise?

Thank you

ExamineCode is not working after Umbraco Updates

$
0
0

Hi All,

I'm handling a site which uses Umbraco 7.5.6 with existing code, but after I update Umbraco into 7.10.3 this code is not working properly. It's always returning the old product total.

Code :

   var machineName = Environment.MachineName;
   string indexPath = string.Format($"~/App_Data/TEMP/ExamineIndexes/{machineName}/External/Index");

   var indexDirectory = FSDirectory.Open(new DirectoryInfo(HttpContext.Current.Server.MapPath(indexPath)));

   var searcher = new IndexSearcher(indexDirectory, true);

   var masterQuery = new BooleanQuery();

   var bed = string.IsNullOrEmpty(model.Bed) ? 0 : Convert.ToInt32(model.Bed);
   var bedQuery = ConstructIntRangeQuery("intBeds", 0, bed, bed);
   masterQuery.Add(bedQuery, BooleanClause.Occur.MUST);

   TopDocs resp = searcher.Search(masterQuery, null, searcher.MaxDoc());
   Debug.WriteLine(resp.TotalHits, "Total Products");

Can anyone why this code is not working after upgrading Umbraco?

I am newbie in C# and also Umbraco.

Appreciate any help/ideas

Cheers,

Marky

Null refererence exception on System.Web.HttpApplication.GetNotifcationContextProperties

$
0
0

After updating our Umbraco 7.9 to 7.12.1 we get this exception after a few minutes:

[NullReferenceException: Object reference not set to an instance of an object.] System.Web.HttpApplication.GetNotifcationContextProperties(Boolean& isReentry, Int32& eventCount) +112 System.Web.PipelineStepManager.ResumeSteps(Exception error) +251 System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) +120 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +217

Don't know where to start with this.. what could it be? Can someone please help with this?

Thanks!

orderNumber resets

$
0
0

Hi Tea Commerce,

I´m experincing the same issue as here: https://our.umbraco.com/projects/website-utilities/tea-commerce/tea-commerce-support/80530-currentordernumber-resets-to-20

I wan´t to hear, if Tea Commerce can handle Load Balancing environments out of the box or if there is something i can do to make it work?

I have 2 projects at the moment where i see this problem. One has loadbalancing and the other one has a local-, stage- and live environment. In both projects, the order number resets occasionally.

I have licenses and TC version is 3.2.4.

Best regards René

Umbraco forms

$
0
0

Hello,

Is it possible to get the summary before submitting a form using umbraco Forms ?

Thanks for helping.

K


Error on Refresh

$
0
0

Hi When I hit refresh on the main dashboard I get the following : HtmlAgilityPack.1.4.9.5 is i the bin directory

{"Message":"An error has occurred.","ExceptionMessage":"Value cannot be null.\r\nParameter name: source","ExceptionType":"System.ArgumentNullException","StackTrace":" at System.Linq.Enumerable.Any[TSource](IEnumerable1 source)\r\n at RankOne.Analyzers.Template.MetaDescriptionAnalyzer.Analyse(IPageData pageData)\r\n at RankOne.Summaries.BaseSummary.GetAnalysis()\r\n at RankOne.Services.PageAnalysisService.SetAnalyzerResults(PageAnalysis pageAnalysis, HtmlResult html)\r\n at RankOne.Services.PageAnalysisService.CreatePageAnalysis(IPublishedContent node, String focusKeyword)\r\n at RankOne.Services.AnalyzeService.CreateAnalysis(IPublishedContent node, String focusKeyword)\r\n at RankOne.Helpers.PageScoreNodeHelper.UpdatePageScore(PageScoreNode node)\r\n at RankOne.Helpers.PageScoreNodeHelper.GetPageHierarchy(IEnumerable1 nodeCollection, Boolean useCache)\r\n at RankOne.Helpers.PageScoreNodeHelper.GetPageHierarchy(IEnumerable1 nodeCollection, Boolean useCache)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.

Image cropper not creating crops immediately

$
0
0

Morning all,

Just posting this up in case someone has come across it before and has a solution.

We're working on a site where we're storing the Media on an Azure CDN. This is all working fine - but with one significant bug.

We're using Image Cropper to make crops of an image.

When we upload a new image to the media tab, you can see all the generated crops on the edit page in the back office. However, when you try to retrieve a crop in front end, it doesn't work.

However, if on the edit page, I physically cycle through each of the crops (basically by clicking on them all in turn), and then hit "Save"... it works. I'm informed that it's not meant to work this way - and just uploading an image and hitting "save" should create the default crops without any further intervention. Trying to explain the necessity of this extra step to the content editors is going to be difficult...

I'm not sure what we've done wrong, but if anyone has any pointers, or has come across this before - we'd appreciate some insight :-)

Thank you,

Steve.

MvcDonutCaching and RedisOutputCacheProvider in Umbraco backend

$
0
0

I have implemented MvcDonutCaching for caching of the pages of a website, and RedisOutputCacheProvider as the provider for the caching. This all works well for the frontend.

However, I am having problems in the backend. Whenever I try to publish content for a document type that is marked for caching, I am receiving the following exception:

Ensure that your custom OutputCacheProvider implements IEnumerable<KeyValuePair<string, object>>.

Stacktrace:

[NotSupportedException: Ensure that your custom OutputCacheProvider implements IEnumerable<KeyValuePair<string, object>>.]
   DevTrends.MvcDonutCaching.OutputCacheManager.RemoveItems(String controllerName, String actionName, RouteValueDictionary routeValues) in C:\Users\moonpyk\Documents\Visual Studio 2013\Projects\MvcDonutCaching\DevTrends.MvcDonutCaching\OutputCacheManager.cs:144
   DevTrends.MvcDonutCaching.OutputCacheManager.RemoveItems() in C:\Users\moonpyk\Documents\Visual Studio 2013\Projects\MvcDonutCaching\DevTrends.MvcDonutCaching\OutputCacheManager.cs:99
   Supershift.Umbraco.Web.RegisterEvents.ClearDonutOutputCache() in (...)\RegisterEvents.cs:57
   Supershift.Umbraco.Web.RegisterEvents.CachePageEvents_CacheUpdated(PageCacheRefresher sender, CacheRefresherEventArgs e) in (...)\RegisterEvents.cs:51
   Umbraco.Core.Events.TypedEventHandler`2.Invoke(TSender sender, TEventArgs e) +0
   Umbraco.Core.Cache.CacheRefresherBase`1.OnCacheUpdated(TInstanceType sender, CacheRefresherEventArgs args) +49
   Umbraco.Core.Cache.CacheRefresherBase`1.RefreshAll() +74
   Umbraco.Web.Cache.PageCacheRefresher.RefreshAll() +52
   Umbraco.Core.Sync.ServerMessengerBase.DeliverLocal(ICacheRefresher refresher, MessageType messageType, IEnumerable`1 ids, String json) +199
   Umbraco.Core.Sync.ServerMessengerBase.Deliver(IEnumerable`1 servers, ICacheRefresher refresher, MessageType messageType, IEnumerable`1 ids, String json) +80
   Umbraco.Core.Sync.ServerMessengerBase.PerformRefreshAll(IEnumerable`1 servers, ICacheRefresher refresher) +30
   Umbraco.Web.Cache.DistributedCache.RefreshAll(Guid factoryGuid) +216
   Umbraco.Web.Cache.DistributedCacheExtensions.RefreshAllPageCache(DistributedCache dc) +41
   umbraco.cms.presentation.republish.go(Object sender, EventArgs e) +819
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9815774
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +204
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1639

Does anyone have a suggestion for how to solve this? Do I need to catch some event and clear the cache manually?

Create a SurfaceController Action to zip some files and return them..

$
0
0

Hi All.

I'm working on a solution to combine a few files into a .zip and return it to the browser.

I'm looking to use the included zip-library ICSharpCode.SharpZipLib.Zip;

Any chance someone has an example of this? What kind of result should my action return?

Cheers, Niels

NullReferenceException after pressing 'Set up your new website' error (loadxml , applicationtree in stack )

$
0
0

Hi

I downloaded UmbracoCMS6.0.0 and I'm running it through visual studion 10, connecting to SQL Server 12.

(on windows 7).

Initially I had a few errors with ASCX's referring to :

UmbracoVersion.Current.ToString(3)

changing this to :

umbraco.

 

GlobalSettings.CurrentVersion

resolved these problems.

Then in the database install the page stalled and didn't move to the next step.

Anyhow, the database back end looked like it set up correctly.

I proceeded use the blank template option.

But the problem I can not now get around is that when I press the 'Set up your new website button' I get the following.

[NullReferenceException: Object reference not set to an instance of an object.]
   umbraco.BusinessLogic.<>c__DisplayClass14.<EnsureCache>b__12(XDocument doc) +1323
   umbraco.BusinessLogic.ApplicationTree.LoadXml(Action`1 callback, Boolean saveAfterCallback) +191
   umbraco.BusinessLogic.ApplicationTree.EnsureCache() +252
   umbraco.BusinessLogic.ApplicationTree.get_AppTrees() +25
   umbraco.BusinessLogic.ApplicationTree.getAll() +25
   umbraco.cms.presentation.Trees.TreeDefinitionCollection.EnsureTreesRegistered(Boolean clearFirst) +279
   umbraco.cms.presentation.Trees.TreeDefinitionCollection.get_Instance() +32
   umbraco.controls.Tree.TreeControl.Initialize() +361
   umbraco.controls.Tree.TreeControl.OnPreRender(EventArgs e) +93
   System.Web.UI.Control.PreRenderRecursiveInternal() +103
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

 

1.Please can some one help?

2. Is the source code for umbraco.busineslogic dll available?

 

Many thanks John

 

 

 

 

manually create shipment for an order/invoice

$
0
0

What I'm trying to do is export some specific products from an order (to a CSV file) once payment has been taken, and then to mark those products as processed so that anybody viewing the back end would be able to see that those products don't need to be included in any further shipment (they are offloaded to a third party).

The process is triggered once the Paypal IPN is received and we know the payment has been taken successfully and the code which exports the relevant products to a CSV file is working fine. The bit i'm having trouble with is marking the relevant products as shipped/processed.

From looking in the back end, I can see that you can use the action to "Fulfill" on an order, which allows you to create a shipment and select specific products from the order to be included in that shipment. So it seems the best way to achieve what I want would be to create a shipment programmatically after performing the CSV export and adding the relevant items to it.

I can see in the back end that once you create a shipment on an order, it then appears in the "shipments" tab when viewing that order and if the "Fulfill" action is used again, the system already knows which products are already included in a shipment. From this, its apparent that the shipment is linked to the invoice somehow but for the life of me I cant see where that link is created/recorded either in the database or in code. I see no reference to the invoice or order id from the shipment record.

Guid invoiceKey = Guid.Parse(successURL.ParseQueryString()["InvoiceKey"]);
var invoice = _merchelloContext.Services.InvoiceService.GetByKey(invoiceKey);
var shipmentStatus = _merchelloContext.Services.ShipmentService.GetAllShipmentStatuses().First(s => s.Alias == "packaging");
var defaultWarehouseAddress = _merchelloContext.Services.WarehouseService.GetDefaultWarehouse().AsAddress();
var shipment = _merchelloContext.Services.ShipmentService.CreateShipment(shipmentStatus, defaultWarehouseAddress, address, invoice.Items);

//I have created the shipment. Now how do I link it to the invoice?

_merchelloContext.Services.ShipmentService.Save(shipment);

From the code I have written, how do I link the newly created shipment to the pre existing invoice?

Am I approaching this in the right way?

My merchello version is 1.11.

Related Links Caption as Name Template

$
0
0

Hi

Is it possible to use the Caption from a Related Links property type as the Name Template on a Nested Content?

Thanks

umbraco 7.6.3 nc 0.4.0


Courier Delete

$
0
0

Hi

I deleted some content nodes (and document type ) in my site

the content nodes are not deleted in other servers when i use Courier to sync it to other servers...

Do you have any idea how this could be resolved ?

Courier Issue - Images and links are broken

$
0
0

Hi,

When migrating content from one Umbraco site to another pages that have Images or Links are always broken so we have to go into the site and re-point them. The images seems to migrate over but the links are broken.

Is this a bug?

Jon

How to deploy Umbraco Forms using Courier?

$
0
0

Hey,

Here are the various versions I am using:

  • Umbraco 7.7.4
  • Umbraco Forms 6.0.8
  • Umbraco Courier 3.1.6

Does Courier support deployment of Umbraco Forms out of the box? I am trying to work out the best way to configure courier to deploy Umbraco Forms.

When I courier my content that has a form included via a form picker. That form is not included when it's couriered across.

Courier not deploying Umbraco Forms

I found this link, https://github.com/umbraco/Umbraco.Courier.FormsProvider

Which seems to do what I want, so I install both providers via nuget:

enter image description here

Then I get a button next to each form, allowing it to be couriered:

enter image description here

But then this doesn't work:

enter image description here

Any help would be appreciated.. thanks in advance.

  • M

Detect hidden fields

$
0
0

Hello

I am having an issue when sending mail after a form is filled. I have certain conditions on two dropdown fields that work well. Only thing is that when the value is changed and the field is hidden, it is somehow appearing in the email sent. Is there any way to prevent hidden items to be displayed in the mail sent?

Many Thanks A

Umbraco custom SEO metatags on every page

$
0
0

Hi all,

So I'm mucking around on my test website and I'm trying to create a custom SEO for each page instead of one generic one. I know there are packages, but I wan't to create it on my own.

So far I'm able to show a custom meta tag for each individual project page by

  1. Using a short description = meta tag description
  2. Looping of over the tags = meta tag keywords
  3. Fetching the author name = meta tag author

e.g. :

page = http://test.don-zalmrol.be/it-blog/set-up-clamav-for-xeams/ source = view-source:http://test.don-zalmrol.be/it-blog/set-up-clamav-for-xeams/

The now tricky part is the generic pages like the homepage, about, contact, sitemap, etc... with the usage of tags.

Since I already have tags in use for my projects, one could say to keep using them.

Problem then is that the for example the homepage would also become a listed tag, unless I work with a "hidetag bool" kind of method.

Or perhaps a seperate taglist for project pages and generic pages.

Someone who encountered the same issue?

Thx!

Viewing all 72689 articles
Browse latest View live


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