https://discord.umbraco.com
Join Discord
Trying to add some fields to ExternalIndex and populate them using a custom populator...
t

Tronglonok

over 1 year ago
Using Umbraco 13, I can't find any examples of how to actually do that. I've tried creating a valuesetbuilder, a configureOptions, populator and a notificationhandler. however, whenever I come into my Populator it gets a list of 0 indexes. If I look in the Umbraco code, there's a row with: _logger.LogDebug($"{nameof(PopulateIndexes)} called with no indexes to populate. Typically means no index is registered with this populator."); So my problem seems to be that I can't figure out how to connect my custom populator with the ExternalIndex. Can someone please explain to me how that is done? 🙂
t
m
j
  • 3
  • 4
  • 184
Session variables in server side- Umbraco 12
r

Ramya Devendiran

about 2 years ago
I am working on COMPARE function in a product listing page. I created a UmbracoAPIController to maintain the session variables. I do a AJAXCALL to set, get and delete session variables. It is working fine in localhost. But it is not working in live website. Is my solution to use UmbracoAPIController correct? If not , please suggest an alternative solution.
r
r
+2
  • 4
  • 5
  • 184
Upgrade from 12.2 to 13.5.1 ASP.NET Core app failed to start
b

bh

about 1 year ago
I updated an Umbraco site from v12.2 to v13.5.1 On my local machine everything works like it should. I published the database and the projectname.dll to my server and I restarted the app pool and site in IIS and I get the "HTTP Error 500.30 - ASP.NET Core app failed to start". There's nothing in the Umbraco logs. I turned on stdout in the web.config and nothing is produced there. Note: in my server's Event Viewer I see "hit unexpected managed exception, exception code = '0xe0434352'. Please check the stderr logs for more information."
b
r
+3
  • 5
  • 22
  • 183
Images not displaying in frontend but available in backoffice
p

PascalEugster

over 1 year ago
We've got a problem that the images are not displaying in the frontend but are available in the backoffice so the file is there and you can view it. In the console there is the following error. An unhandled exception has occurred while executing the request. SixLabors.ImageSharp.UnknownImageFormatException: Image cannot be loaded. Available decoders: - TIFF : TiffDecoder - BMP : BmpDecoder - TGA : TgaDecoder - QOI : QoiDecoder - GIF : GifDecoder - PBM : PbmDecoder - Webp : WebpDecoder - JPEG : JpegDecoder - PNG : PngDecoder I think it has something todo with the cache because we usynced these images from staging to localhost
p
d
s
  • 3
  • 17
  • 183
IIS Exception at start-up when running Umbraco v15 on Rocky Linux
o

ora

12 months ago
I should be using Kestrel so I'm not even sure how to deal with this. As the exception indicates it was built on Windows, but it should be cross-platform.
bash
Unhandled exception. System.TypeLoadException: Could not load type 'Microsoft.AspNetCore.Builder.IISServerOptions' from assembly 'Microsoft.AspNetCore.Server.IIS, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
   at Umbraco.Extensions.UmbracoBuilderExtensions.AddWebServer(IUmbracoBuilder builder)
   at Umbraco.Extensions.UmbracoBuilderExtensions.AddBackOffice(IUmbracoBuilder builder, Action`1 configureMvc)
   at Program.<Main>$(String[] args) in C:\Users\Ora\source\repos\MMVUmbraco\Program.cs:line 11
   at Program.<Main>(String[] args)
o
s
+3
  • 5
  • 27
  • 182
How to minify and compress Assets (css,js) when publish front-end umbraco cms?
m

moondoan

about 1 year ago
I want to automatically minify the CSS and JS files in the assets folder when publishing. Is that possible?
m
s
+3
  • 5
  • 6
  • 181
Forms Header issue
c

Craig100

over 1 year ago
V13.2.2 + UF V13.1.1 I have an Umbraco Form embedded in a page which itself receives a form post from another page to populate some of it's content. When the form is submitted and the page is reloaded to show the "Thank you" message, I get an exception of : "InvalidOperationException: This request does not have a Content-Type header. Forms are available from requests with bodies like POSTs and a form Content-Type of either application/x-www-form-urlencoded or multipart/form-data." I'm happy to do without the originally posted info, but can't work out how to detect "if(no content-type header){}" and let the rest of the page load. If there is a way to have UF pass on the info or a Content-Type header I'd be very pleased to hear it. I doubt ViewData etc, would work in this instance. Any thought? Thanks.
c
s
  • 2
  • 6
  • 181
Adding a class to a UL in the RTE
d

David Peck (Peck Tech)

over 1 year ago
I'm trying to figure out if there is solution that allows me to style *some *bulleted lists with a different background colour. There are basically two styles of bulleted list, and I need to toggle between them. The
<ul />
needs a class to do that. Using an RTE stylesheet I don't appear to be able to achieve this. I might end up adding a block inside my RTE, which I don't love. I'm sure this used to be possible by setting the stylesheet selector as
ul.green
but this wraps an additional
<ul />
around my original one. Just
.green
puts ``s inside my ``s. TIA
d
m
+5
  • 7
  • 34
  • 180
SQL Error: Invalid column name 'key' when upgrading to v14.1.2 from latest v13.4.1
z

ZimmertyZim

over 1 year ago
The title says it all. I've gone from v10 to v13, and now attempting v13 to v14, however I get the following error during the install/upgrade process: Internal 500 Error: https://www.mysite.local/umbraco/management/api/v1/upgrade/settings Invalid column name 'key'.\r\nInvalid column name 'key' You cans see the full error here: https://pastebin.com/U1Wid6gY Any help much appreciated.
z
c
  • 2
  • 8
  • 179
How to add custom languages to the "add language" dropdown in the BackOffice
w

warlloch

almost 2 years ago
I have an Umbraco 13 site that needs to include translations for languages that aren't currently included in the language dropdown when you go to add a language in the backoffice. How would I go about adding these languages in? So far I have tried creating a custom locale on my pc in hopes that the backoffice would pull from my locale list when I run my site locally, but I haven't had success there yet. Any and all help is appreciated! https://cdn.discordapp.com/attachments/1197660661275177092/1197660661837201479/language_issue.png?ex=65bc1369&is=65a99e69&hm=fd7668cc9d5a069ddc47b828632dfa999ed18867c0690b219d0a806db7e3012e&
w
j
+2
  • 4
  • 11
  • 179
Previous141516Next

Umbraco

A hub and casual space for you to interact with fellow community members and learn more about Umbraco!

Powered by