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

Wierd error for all the redirects created

$
0
0

Hi, I Get this wierd error every time I try to go to the old URL of a page that was moved / renamed and Url Tracker created a redirect:

enter image description here Server Error in '/' Application. No data exists for the row/column. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: No data exists for the row/column.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidOperationException: No data exists for the row/column.] System.Data.SqlServerCe.SqlCeDataReader.GetOrdinal(String name) +124 umbraco.DataLayer.RecordsReaderAdapter1.GetOrdinal(String fieldName) +23 umbraco.DataLayer.RecordsReaderAdapter1.GetBoolean(String fieldName) +26 InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.LoadUrlTrackerMatchesFromDatabase(HttpRequest request, String urlWithoutQueryString, Boolean urlHasQueryString, String shortestUrl, Int32 rootNodeId, String& redirectUrl, Nullable`1& redirectHttpCode, Boolean& redirectPassThroughQueryString) +1131 InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.UrlTrackerDo(String callingEventName, Boolean ignoreHttpStatusCode) +1681 InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.context_EndRequest(Object sender, EventArgs e) +48 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +141 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +71

any idea?

Using Umbraco version 7.12.3


Umbraco 8 Package Rewrite - Some Help Please

$
0
0

Hi there

I thought I'd have a go at rewriting the Tag Manager package (https://our.umbraco.com/packages/backoffice-extensions/tag-manager/) for Umbraco 8.

I have created project and added UmbracoCMS.Core V8 via Nuget.

However I am completely lost with respect to getting things referencing as per the screenshot below - PluginController, UmbracoAuthorizedJsonController, ApplicationContext & Sql are all not happy and there are no suggestions with intellisense...

enter image description here

Appreciate V8 is a totally new beast and in no way expected everything to just work, so seeking some pointers / initial help to get my moving on this.

Thanks

Nigel

OnApplicationStarted Umbraco 8

$
0
0

How do I register bundle config on application started in Umbraco 8?

Before in Umbraco 7 I used this:

public class MvcApplication : Umbraco.Web.UmbracoApplication
{
    protected override void OnApplicationStarted(object sender, EventArgs e)
    {
        base.OnApplicationStarted(sender, e);

        AreaRegistration.RegisterAllAreas();
        BundleConfig.RegisterBundles(BundleTable.Bundles);

    }
}

public class BundleConfig
{
    public static void RegisterBundles(BundleCollection bundles)
    {
        bundles.Add(new StyleBundle("~/bundles/site.css").Include(
        "~/css/style.css"
        ));
    }
}

Thanks,

Josefine

Cannot publish after upgrade

Slimsy for v8?

$
0
0

HI Jeavon,

I can see from GitHib that you are working on a v8 branch...yay! Do you have any idea when you might release a v8 beta?

Cheers, Trevor

Media Library List View issue upgrading version 7.4 to 7.6.3

$
0
0

Hi,

Successfully upgraded version 7.4 to 7.6.3 ! Unfortunately got error in Media Library List View. Following is the error message for Media root node. "Server error: Contact administrator, see log for full details. Failed to retrieve child folders for media item -1 " Same thing happening for other media folder type listing. Please help me to resolve this issue. enter image description here

Strange exception in media browser

$
0
0

One of our production sites has all of the sudden started to throw an exception when browsing certain media folders.

As you can see it's possible to open the folder "Bo" in the tree. But when a user clicks on it they get this error message.

http://prntscr.com/lcm0sw

It's also possible to click on every image/folder beneath "Bo" in the tree without any error.

Below is the exception in the log. Seems to have something to do with a missing user?


2018-10-31 10:46:43,952 [P11208/D2/T115] ERROR Umbraco.Web.Editors.MediaController - Unhandled controller exception occurred AutoMapper.AutoMapperMappingException:

Mapping types: Media -> UserProfile Umbraco.Core.Models.Media -> Umbraco.Web.Models.ContentEditing.UserProfile

Destination path: ContentItemBasic`2.Owner.Owner

Source value: Umbraco.Core.Models.Media ---> System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Core.Services.UserService.GetProfileById(Int32 id) at Umbraco.Web.Models.Mapping.OwnerResolver1.ResolveCore(TPersisted source) at AutoMapper.ValueResolver2.Resolve(ResolutionResult source) in c:\dev\AutoMapper\src\AutoMapper\ValueResolver.cs:line 12 at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable1 source, TAccumulate seed, Func3 func) at AutoMapper.Mappers.TypeMapObjectMapperRegistry.PropertyMapMappingStrategy.MapPropertyValue(ResolutionContext context, IMappingEngineRunner mapper, Object mappedObject, PropertyMap propertyMap) in c:\dev\AutoMapper\src\AutoMapper\Mappers\TypeMapObjectMapperRegistry.cs:line 116 --- End of inner exception stack trace --- at AutoMapper.Mappers.TypeMapObjectMapperRegistry.PropertyMapMappingStrategy.MapPropertyValue(ResolutionContext context, IMappingEngineRunner mapper, Object mappedObject, PropertyMap propertyMap) in c:\dev\AutoMapper\src\AutoMapper\Mappers\TypeMapObjectMapperRegistry.cs:line 153 at AutoMapper.Mappers.TypeMapObjectMapperRegistry.PropertyMapMappingStrategy.Map(ResolutionContext context, IMappingEngineRunner mapper) in c:\dev\AutoMapper\src\AutoMapper\Mappers\TypeMapObjectMapperRegistry.cs:line 89 at AutoMapper.Mappers.TypeMapMapper.Map(ResolutionContext context, IMappingEngineRunner mapper) in c:\dev\AutoMapper\src\AutoMapper\Mappers\TypeMapMapper.cs:line 22 at AutoMapper.MappingEngine.AutoMapper.IMappingEngineRunner.Map(ResolutionContext context) in c:\dev\AutoMapper\src\AutoMapper\MappingEngine.cs:line 250 at AutoMapper.MappingEngine.Map[TSource,TDestination](TSource source) in c:\dev\AutoMapper\src\AutoMapper\MappingEngine.cs:line 78 at System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Umbraco.Web.WebApi.Filters.FilterAllowedOutgoingMediaAttribute.OnActionExecuted(HttpActionExecutedContext actionExecutedContext) at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutedAsync(HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken)

Archetype for Umbraco 8

$
0
0

Hi all,

We have used Archetype extensively for our website. Knowing that Archetype has now been sunset and Umbraco 8 is around the corner, does anyone have any ideas about migrating Archetype content to Nested Content?

Bharani


Getting first image of collection

$
0
0

Hi guys,

I just upgraded to 2.0 and I'm wondering how I can convert my old code. I'm struggeling getting the first image, here's my old code:

/* First image */
                var imageIds = CurrentPage.productImages.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries);
                var images = Umbraco.Media(imageIds);
                var firstImage = images.FirstOrDefault();
                var firstImageUrl = firstImage.Url;
                var firstImageCropUrl = firstImage.GetResponsiveImageUrl(433, 0);

<img src="@firstImageCropUrl" alt="@firstImage.GetPropertyValue("altText")" title="@CurrentPage.GetPropertyValue("pageDescription")" />

I can't seem to figure out how I could use the example from the documentation:

<img src="@Url.GetCropUrl(featureImage, 270, 161, quality:30, furtherOptions:"&format=auto")" data-srcset="@Url.GetSrcSetUrls(featureImage, 270, 161)" data-src="@Url.GetCropUrl(featureImage, 270, 161)" sizes="auto" class="lazyload" />

Any help is greatly appreciated.

// Mike

disable parent nav link

$
0
0

I am using a partial below to create the main navigation

<!-- Nav -->
    @* If the Url of the current page is "/" then we want to add the class "current_page_item" *@ @* Otherwise, we set the class to null, that way it will not even be added to the
  • element *@
  • Home
  • @foreach (var item in menuItems) { var childrenItems = item.Children.Where("UmbracoNaviHide == false");
  • @item.Name @createSubmenu(childrenItems, item.Id)
  • }

@helper createSubmenu(IEnumerable

    @foreach (var node in nodes) { var childrenItems = node.Children.Where("UmbracoNaviHide == false");
  • @node.Name @createSubmenu(childrenItems, node.Id)
  • }
} }

I have a parent menu "services" with child/sub menus "pavers", "tiles" etc. the parent menu services links to the service page. However there is nothing on this page so I would like to disable the link to the services page, /services/.

How do i do that?

Does slimsy work in 8

Looking for independent Umbraco consultant

$
0
0

I'm looking for someone who's interested in being a consultant to upgrade a site from Umbraco 4.7 to the latest and migrate from a 2008 R2 server to 2016 or 2019. Normally I'd undertake this myself, just no longer have the time. Is there anyone interested in this or does anyone have recommendations?

URL Tracker

$
0
0

We are using Umbraco 7.4.2 and have it in 4 environments. In our test and staging environments the URL Tracker tab loads completely fine but in QA and Production the window comes up and a spinner just sits there and never loads.

Has anyone else seen this behavior?

How can I fix this?

V8 support?

$
0
0

Hi! I just recently found your addon and just loved it! I used it on a project I just started on Umbraco 7. I killed the project and started building with V8 instead but would really like to be able to use media stock on the new Umbraco version. do you have any plans on updating in so it is compatible with V8? Please, please do!

Callback method for quickpay intergration

$
0
0

Hello all

I'm almost done integrate quickpay payment, to my umbraco site. But now i need to make a callback method that quickpay can call after the payment is done.

I need an url for that function to post on my quickpay account settings.

My question is:

How can a callback method look like? And how do i get the url for the method ? Can i use(domain/umbraco/surface/controller/method) when the site i published?

Hope someone has the answer for me...

I'm not using a e-commerce plugin, it's clean umbraco installation.


Show additional META-data

$
0
0

Hi! I think it would be great if the images also could have their META-data showing up, like location and description. It's useful data when adding images to the local library.

ImageProcessor.Plugins.WebP - Cannot load libwebp.dll

$
0
0

I'm attempting to implement the WebP image format using the ImageProcessor.Plugins.WebP library and the Umbraco image cropper. The package was installed using Nuget and everything works like a charm when run through Visual Studio on my development workstation. However, when I put the same source code out on a production server (Windows Server 2012 R2 Standard) the code fails with the following error:

Server Error in '/' Application.
Cannot load libwebp.dll
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ApplicationException: Cannot load libwebp.dll

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 

[ApplicationException: Cannot load libwebp.dll]
   ImageProcessor.Configuration.<>c__DisplayClass7_0.<RegisterNativeBinary>b__0(String b) +391
   System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +65
   ImageProcessor.Configuration.NativeBinaryFactory.RegisterNativeBinary(String name, Byte[] resourceBytes) +86
   ImageProcessor.Plugins.WebP.Imaging.Formats.NativeMethods..cctor() +208

[TypeInitializationException: The type initializer for 'ImageProcessor.Plugins.WebP.Imaging.Formats.NativeMethods' threw an exception.]
   ImageProcessor.Plugins.WebP.Imaging.Formats.NativeMethods.WebPFree(IntPtr pointer) +0
   ImageProcessor.Plugins.WebP.Imaging.Formats.WebPFormat.EncodeLossly(Bitmap bitmap, Int32 quality, Byte[]& webpData) +268
   ImageProcessor.Plugins.WebP.Imaging.Formats.WebPFormat.Save(Stream stream, Image image, Int64 bitDepth) +88
   ImageProcessor.ImageFactory.Save(Stream stream) +69
   ImageProcessor.Web.HttpModules.<ProcessImageAsync>d__34.MoveNext() +2754
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
   System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +63
   System.Web.AsyncEventExecutionStep.InvokeEndHandler(IAsyncResult ar) +156
   System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +123

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

I've verified that the dll is in the /bin folder and that the Application Pool is allowing 32 bit applications enabled.

Any thoughts on what the issue might be?

Dependancy Handler Issue on fresh install of V17.14 and V8

$
0
0

Hi,

We have a site which has been running perfectly for a few weeks now.

Today when I logged in a few issues arose:

1) The "Get Started" tab was empty and I can see a call to "/umbraco/backoffice/UmbracoApi/Dashboard/GetRemoteDashboardContent?section=content" is just sat there pending indefinately.

2) I added a new user for a colleague and when he logs in he gets a greyed out Umbraco admn panel with a persistant loader at the top. The Console errors show: "Cannot read property of 'element' of undefined." This is from DependancyHandler.axd.

3) I check my current user and my user works fine (apart from the issue mentioned in point 1)

Furthermore I decided to do a fresh install of 17.14 just to check if this issue was also apparent there, and immediately I got the same issue when logging into a fresh Umbraco install for the first time.

Out of interest I tried V8 0 and the same! (see screenshots of 7.14 and 8 below)

Anyone any ideas?

enter image description here

enter image description here

Thanks

Deploy to remote without losing content

$
0
0

I have an Umbraco application deployed on a remote server, and I need to deploy a new version of it.

The problem is the user already created some content on the remote app, and in the process of the release I'm afraid to lose it.

Is there a way to save the content but add the new features? (new views, dll, and content tree structure)

Thank you.

Umbraco V8 - Using variants for personalisation

$
0
0

Before V8 was released there was much talk about variants being used for lot's of scenarios. But the release only launched with language variants. Which I understand was primarily due to scope control which I understand.

I'm wondering though how would one build a personalisation package for Umbraco utilising V8 variants?

Is someone here familiar enough with V8 to give me a high level architecutual plan on how to make that work?

It could be as simple as creating a new variant for an audience type which is just a set list of n audience types. (But could later become a lot more complex.)

Any help / direction is welcome!

Thanks, .Sam

Viewing all 72689 articles
Browse latest View live


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