https://discord.umbraco.com
Join Discord
Fatal Server Error v14.1.1
b

bh

about 1 year ago
Happens when I add a new node or try to open any previously created node I get this red alert notification. "Factory returned model of type Umbraco.Cms.Web.Common.PublishedModels.Home which does not implement IPublishedContent. A fatal server error occurred. If this continues, please reach out to your administrator."
b
a
  • 2
  • 3
  • 75
SQLite cache mode: Shared or Private?
l

Laura Neto

over 1 year ago
Hi all, I am getting very mixed information from the Umbraco docs (and the project template) when it comes to which cache mode to use for SQLite. - https://docs.umbraco.com/umbraco-cms/reference/configuration/connectionstringssettings > Mentions that
Private
mode should be used, and
Shared
is discouraged / deprecated. - https://docs.umbraco.com/umbraco-cms/fundamentals/setup/install/unattended-install#sqlite-example-in-appsettings.json > Mentions that the recommended value is
Shared
. - https://github.com/umbraco/Umbraco-CMS/blob/contrib/templates/UmbracoProject/.template.config/template.json#L147 > The Umbraco Project template is set to use
Shared
. Anyone knows what is the main difference between the two? And what would be recommended? I would guess
Private
, from the information in the first link, but again everywhere else in the docs it mentions
Shared
. 😅 Thanks!
l
s
a
  • 3
  • 4
  • 75
Umbraco Forms conditional logic not working after upgrade
s

Simon (SimonAntony)

over 1 year ago
Previous site was on 10.1.0 with Umbraco Forms: 10.0.5 - upgraded to Umbraco version 10.8.3 and Umbraco Forms: 10.5.3 and now conditional logic no longer works. Anyone else had this and how best to fix? Moving to v13 in the coming months but not at the moment.
s
d
  • 2
  • 8
  • 75
Umbraco 11 to 12 Upgrade
t

tommot2582

almost 2 years ago
Hi all, I'm trying to upgrade an umbraco site from 11.5 to 12.0 but I'm getting the following error: The database failed to upgrade. ERROR: The database configuration failed with the following message: The migration plan does not support migrating from state "{2CA0C5BB-170B-45E5-8179-E73DA4B41A46}". This error occurred going from 10.7 to 11.0, but was resolved upgrading to 11.5.0 instead but this approach doesn't work with v12.
t
s
+2
  • 4
  • 7
  • 75
Dynamically update website's CSS via the backoffice
d

dalle3430

almost 2 years ago
Hi everyone, I'm currently working on an Umbraco 12 project. My client wants the ability to manage a significant portion of the website's CSS directly from the Backoffice. They envision this functioning akin to Site Builders like Igloo Theme and uSkinned. However, they've emphasized that they want a custom solution without incorporating any packages. The CSS settings they want to configure from the backoffice include theme colors, spacing, fonts, dimensions, and more. Up to now, I've created custom property editors to store these values in the backoffice. However, I'm struggling to understand how Site Builders achieve dynamic CSS updates. From what I've gathered, there's a template CSS file containing CSS properties/variables. These variables in the template CSS file have default or placeholder values. When the user updates the "Theme" node (where all theme/CSS settings are configured), a copy of the CSS template file is generated with the updated values provided by the user in the "Theme" node. Subsequently, the master template links the generated CSS file. I have a (rather large) question: How would you approach dynamically changing the CSS variables? How would you go about programmatically generating a new CSS file and ensuring that the values stored in my custom property editors are correctly integrated into the newly generated CSS file?
d
n
+2
  • 4
  • 8
  • 75
Apostrophe in user's mail causes issues
m

m1k1ot1

over 1 year ago
We're running 11.1.0 Umbraco version. The issues are that user with apostrophe in email can't register, and those already in database can't change password (returns following error:Invalid UserName). It doesn't seem to have any issues assigning values to properties (e.g. Password reset token). MemberService and MemberManager both seem to be able to retrieve member using said invalid email without a problem. Is there anything we can do to avoid or fix these issues or should we submit this issue on Github and wait for it to get fixed?
m
h
  • 2
  • 2
  • 74
Tailwind and Vite
m

Mario Lopez

over 1 year ago
Not strictly an Umbraco question, but does anybody know how to set up tailwind in Vite? I'm following the Umbraco docs to create a new package. The Tailwind docs explain it in a very concise way. I.e. how does it know where the css is located? The issue in having is that no css is generated. I reckon Tailwind build doesn't run, as all the configuration to content files is correct.
m
d
  • 2
  • 5
  • 73
Authorized Services and Salesforce
s

StormGlass

over 1 year ago
I need some help with connecting Salesforce and my Umbraco (v13) frontend. The idea is to display product information from SF on public pages. I am trying to use the Umb Authorized Services package to handle the connection to the SF connected app. I can get the initial connection to work properly but cannot get it to persist. Does anyone have experience doing something similar that would be willing to share some insights into both SF and Umb configs?
s
p
j
  • 3
  • 10
  • 73
Migrating App_Plugin on v14 caueses path too long error
g

gregor.tusar

over 1 year ago
I'm migrating my Welcome Dashboard on the new V14 Umbraco. I was following the https://docs.umbraco.com/umbraco-cms/extending/customize-backoffice/vite-package-setup and https://docs.umbraco.com/umbraco-cms/tutorials/creating-a-custom-dashboard tutoritals. The problem that I am now facing is, that since the node_modules is installed "deep" in the solution tree, I started to get build error by VS.
Cannot evaluate the item metadata "%(FullPath)". The item metadata "%(FullPath)" cannot be applied to the path "App_Plugins\my-welcome-dashboard\node_modules\%40umbraco-cms\backoffice\dist-cms\packages\documents\documents\user-permissions\input-document-granular-user-permission\input-document-granular-user-permission.element.d.ts". Path: C:\src\COM\MyCom\src\Cms\MyCom.Cms\App_Plugins\my-welcome-dashboard\node_modules\@umbraco-cms\backoffice\dist-cms\packages\documents\documents\user-permissions\input-document-granular-user-permission\input-document-granular-user-permission.element.d.ts exceeds the OS max path limit. The fully qualified file name must be less than 260 characters.
I excluded the
node_modules
folder from solution, but the compiler still tries to do something with it.
<ItemGroup>
  <None Remove="App_Plugins\my-welcome-dashboard\node_modules\**" />
</ItemGroup>
Has anyone faced this issue and solved it?
g
d
k
  • 3
  • 41
  • 73
Integration testing controller action fails to create required services
c

crashtestdev

over 1 year ago
I was following the guide on unit testing https://docs.umbraco.com/umbraco-cms/implementation/integration-testing#testing-from-controller-to-database after getting to the point around setting up unit tests for a controller, I had setup a tetsing project as per the guide (with the UmbracoTestServerTestBase) and created a class that inherits from UmbracoTestServerTestBase with a single blank test,:
c#
    [TestFixture]
    public class UsersControllerTests : UmbracoTestServerTestBase
    {
        [Test]
        public async Task EnsureSuccessStatusCode()
        {
        }
    }
This seems to fail every time, showing a load of services failed to be created:
System.AggregateException : Some services are not able to be constructed
If I change the inherited type to UmbracoIntegrationTest this however runs fine. Is there extra steps I am missing to get this to work?
c
d
l
  • 3
  • 4
  • 73
Previous323334Next

Umbraco

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

Powered by