ActiveTopics https://our.umbraco.org Fri, 03 Jul 2015 10:35:12 +00:00 umbraco Latests topics from the forum on our.umbraco.org en Sending Emails in uWebshop https://our.umbraco.org/projects/website-utilities/uwebshop2/uwebshop2-general-questions/67214-sending-emails-in-uwebshop https://our.umbraco.org/projects/website-utilities/uwebshop2/uwebshop2-general-questions/67214-sending-emails-in-uwebshop Hi everyone

I am trying to send an email with the customers forgotten password, there is a page with, forgotten password, the member puts in his username, and uwebshop then resets the password. This works

But then we want an email to be sent to the customers email address with the new password, functionality should be there already as far as i can see, but cant get it to work, we want to send the email with SMTP from uno euro

]]>
Casper Andersen Fri, 03 Jul 2015 10:05:45 +00:00
Comparing ID of current page with selection ID https://our.umbraco.org/forum/developers/razor/67212-comparing-id-of-current-page-with-selection-id https://our.umbraco.org/forum/developers/razor/67212-comparing-id-of-current-page-with-selection-id Hi guys,

Quick question. I want to compare all id's of the children a startnode with the currentpage. If the id's match, it should not show. I have this but somehow it doesn't seem to work:

.Where("pageId != @Model.Id")

Any suggestions?

]]>
Lex Godthelp Fri, 03 Jul 2015 09:49:08 +00:00
Restrict access to all except login, register and forgot password? https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67210-restrict-access-to-all-except-login-register-and-forgot-password https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67210-restrict-access-to-all-except-login-register-and-forgot-password I'm using the "public access" feature on the root node of my site to lock the page and all children down, except the login page as I can choose that as my designated "login" page.

However, I'm at a loss as to how to exclude other pages such as the "register" and "forgot password" page from the restricted pages list?

I thought a workaround might be to restrict each child page individually (not ideal)... but I still need the root page restricted!

Cheers,

Paul

]]>
Paul Aikman Fri, 03 Jul 2015 09:08:16 +00:00
Contour supports Mobile? https://our.umbraco.org/forum/umbraco-pro/contour/67209-contour-supports-mobile https://our.umbraco.org/forum/umbraco-pro/contour/67209-contour-supports-mobile Hi! Do Contour work for mobile registration? I dont get the workflow to work and no entries in the form enteries.

Regard Adam

]]>
Adam Nilsson Fri, 03 Jul 2015 09:04:23 +00:00
List view Filtering customization in Umbraco 7.2.6 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67208-list-view-filtering-customization-in-umbraco-726 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67208-list-view-filtering-customization-in-umbraco-726 Hi Guys

Do you have customized list view in umbraco 7. I want to filter umbraco list view using dates and some other properties. If you have samples for this, please share with me

Thanks

]]>
Abdul Rahim Fri, 03 Jul 2015 08:56:32 +00:00
Embed datatype as document property https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67207-embed-datatype-as-document-property https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67207-embed-datatype-as-document-property The embed datatype is used to embed video media into the RTE. I'd like to use it as a standalone datatype as a document property but it doesn't seem to have a property editor in: Umbraco/Views/PropertyEditors/Embed/Embed.html

And therefore throws an error. Is there a way around this?

]]>
Dan Evans Fri, 03 Jul 2015 08:44:12 +00:00
Grid editor - rich text editor stripping hubspot form scripts https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67206-grid-editor-rich-text-editor-stripping-hubspot-form-scripts https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67206-grid-editor-rich-text-editor-stripping-hubspot-form-scripts Can anyone help with how best to solve this...

We have the need to add hubspot forms onto out site, however when we add the script to the rich text editor umbraco strips the javascript out. When we add it to the includes section it adds it below the footer (and the correct form appears)

My question is how do we include scripts within the body of the page without Umbraco stripping the code out. Is there a way to include using the includes function but target the script to display it in a certain position on the page?

Many thanks

]]>
DanielLeeUK Fri, 03 Jul 2015 08:31:51 +00:00
UmbracoContext.Current.PublishedContentRequest.PublishedContent Null Refernace https://our.umbraco.org/forum/developers/razor/67205-umbracocontextcurrentpublishedcontentrequestpublishedcontent-null-refernace https://our.umbraco.org/forum/developers/razor/67205-umbracocontextcurrentpublishedcontentrequestpublishedcontent-null-refernace I am looking to set-up a custom route and custom view model however are getting a null reference error.

I have been using the code based on this previous post

The Route:

var locationRoute = RouteTable.Routes.MapRoute("location", "area/{location}", new { controller = "MyAreas", action = "MyAreas", location = UrlParameter.Optional });  
locationRoute.RouteHandler = new PublishedPageRouteHandler((int)WellKnownPages.MyAreasPublishedPage);

The Handler:

public class PublishedPageRouteHandler : IRouteHandler
    {
        public PublishedPageRouteHandler(int pageId)
        {
            _pageId = pageId;
        }
        private readonly int _pageId;
        private UmbracoHelper _umbraco;
        public UmbracoHelper Umbraco
        {
            get { return _umbraco ?? (_umbraco = new UmbracoHelper(UmbracoContext.Current)); }
        }
        public IHttpHandler GetHttpHandler(RequestContext requestContext)
        {
            //we want to lookup the document by id
            var content = Umbraco.TypedContent(_pageId);
            if (content != null)
            {
                requestContext.RouteData.DataTokens["umbraco"] = new RenderModel(content, CultureInfo.CurrentUICulture);
                UmbracoContext.Current.HttpContext.Items["pageID"] = _pageId;

                var docRequest = UmbracoContext.Current.PublishedContentRequest;//this is null
                requestContext.RouteData.DataTokens.Add("umbraco-doc-request", UmbracoContext.Current.ContentCache.GetById(_pageId)); //required for RenderMvcController
            }
            return new MvcHandler(requestContext);
        }
    }

The Controller:

 public class MyAreasController : RenderMvcController
    {

    public ActionResult MyAreas(RenderModel model, string location)
    {
        return CurrentTemplate(new LocationModel(location));
    }

}

The Model:

 public class LocationModel :  RenderModel
    {
        public string SelectedLocation { get; set; }

        public LocationsModel(string location) : base(UmbracoContext.Current.PublishedContentRequest.PublishedContent)
        {
              SelectedLocation = location;
        }
    }

The exception happens when the model is created as UmbracoContext.Current.PublishedContentRequest.PublishedContent is null.

Any suggestions?

]]>
John Fri, 03 Jul 2015 07:36:52 +00:00
〔강남오피 무한〕밤워Bamwar5.com〔강남건마,로즈〕분당오피 소녀시대 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67204-강남오피-무한-밤워bamwar5com-강남건마-로즈-분당오피-소녀시대 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67204-강남오피-무한-밤워bamwar5com-강남건마-로즈-분당오피-소녀시대 Bamwar5.com, Bamwar5.com, Bamwar5.com, Bamwar5.com, Bamwar5.com, Bamwar5.com, Bamwar5.com, Bamwar5.com, Bamwar5.com, Bamwar5.com, Bamwar5.com, Bamwar5.com, Bamwar5.com, Bamwar5.com, Bamwar5.com,

]]>
maiko Fri, 03 Jul 2015 07:33:43 +00:00
《강남건마,깔아로마》밤전《강남오피 아모르》Bamwar5.com분당오피 11번가 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67203-강남건마-깔아로마-밤전-강남오피-아모르-bamwar5com분당오피-11번가 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67203-강남건마-깔아로마-밤전-강남오피-아모르-bamwar5com분당오피-11번가 , Bamwar5.com 11 , Bamwar5.com 11 , Bamwar5.com 11 , Bamwar5.com 11 , Bamwar5.com 11 , Bamwar5.com 11 , Bamwar5.com 11 , Bamwar5.com 11 , Bamwar5.com 11 , Bamwar5.com 11 , Bamwar5.com 11 , Bamwar5.com 11 , Bamwar5.com 11 , Bamwar5.com 11 , Bamwar5.com 11 , Bamwar5.com 11

]]>
maiko Fri, 03 Jul 2015 07:33:25 +00:00
밤의전쟁『강남오피 MASS』『강남건마,꽃비』Bamwar5.com분당오피 S스토리 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67202-밤의전쟁-강남오피-mass-강남건마-꽃비-bamwar5com분당오피-s스토리 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67202-밤의전쟁-강남오피-mass-강남건마-꽃비-bamwar5com분당오피-s스토리 MASS,Bamwar5.com S MASS,Bamwar5.com S MASS,Bamwar5.com S MASS,Bamwar5.com S MASS,Bamwar5.com S MASS,Bamwar5.com S MASS,Bamwar5.com S MASS,Bamwar5.com S MASS,Bamwar5.com S MASS,Bamwar5.com S MASS,Bamwar5.com S MASS,Bamwar5.com S MASS,Bamwar5.com S MASS,Bamwar5.com S MASS,Bamwar5.com S MASS,Bamwar5.com S MASS,Bamwar5.com S

]]>
maiko Fri, 03 Jul 2015 07:33:12 +00:00
Bamwar5.com「강남오피 아카데미」「강남건마,미인」밤워분당오피 루팡 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67201-bamwar5com-강남오피-아카데미-강남건마-미인-밤워분당오피-루팡 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67201-bamwar5com-강남오피-아카데미-강남건마-미인-밤워분당오피-루팡 Bamwar5.com , Bamwar5.com , Bamwar5.com , Bamwar5.com , Bamwar5.com , Bamwar5.com , Bamwar5.com , Bamwar5.com , Bamwar5.com , Bamwar5.com , Bamwar5.com , Bamwar5.com , Bamwar5.com , Bamwar5.com , Bamwar5.com , Bamwar5.com , Bamwar5.com , Bamwar5.com ,

]]>
maiko Fri, 03 Jul 2015 07:32:48 +00:00
Emilia Clarke【인천오피】유다이소「오산오피」Udaiso。com《영등포오피》 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67195-emilia-clarke-인천오피-유다이소-오산오피-udaiso-com-영등포오피 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67195-emilia-clarke-인천오피-유다이소-오산오피-udaiso-com-영등포오피 Emilia Clarke Emilia Clarke Emilia Clarke Emilia Clarke Emilia Clarke Emilia Clarke Emilia Clarke Emilia Clarke Emilia Clarke Emilia Clarke Emilia Clarke Emilia Clarke

]]>
weval Fri, 03 Jul 2015 06:12:56 +00:00
Tags URL not working with Vietnamese language. https://our.umbraco.org/projects/starter-kits/articulate/discussions/67179-tags-url-not-working-with-vietnamese-language https://our.umbraco.org/projects/starter-kits/articulate/discussions/67179-tags-url-not-working-with-vietnamese-language Hi Support,

I am using Articulate. It is working fine except tags field.

Actually I am using Vietnamese language in tags input.

When I click on tags on article page it did not open the page where same tags records exist. But when I use English Language in tags then its working fine. It goes to its same tags records page.

I did not understand why articulate not working with "tags url" in some languages.

Please Help. Thanks.

Best Regards, Dile Ram

]]>
Dile Ram Fri, 03 Jul 2015 05:40:06 +00:00
Event handler in Umbraco 7 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67176-event-handler-in-umbraco-7 https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67176-event-handler-in-umbraco-7 Hello,

Currently my blog is in umbraco 6. Now i want to switch into umbraco 7 but umbraco 6's event handler not working in umbraco 7 like Document.BeforePublish,Document.AfterPublish,Document.AfterSendToPublish etc....

so what could be the reason behind the same? please can you help ? bcz i am stuck in between this.

Awaiting your reply, With Regards...

]]>
glob Fri, 03 Jul 2015 05:32:05 +00:00
Get Current Page/Node https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67175-get-current-pagenode https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67175-get-current-pagenode Hi,

I am using Umbraco API Controller and I'm trying to get the current page so that I can access the properties on in the controller. But Umbraco throws a "No current node" or a null exception when I use "Node.GetCurrent". I tried everything I found in the internet but throws the same error. However, If I use IPublishedContent currentPage = Umbraco.TypedContent(1079);, as you can see, I hard-coded the NodeId, I do find my page/Node. But I do not want to hard-code my page/nodeId because I need it to be dynamic. Any help would be great.

Thanks.

]]>
Luyolo Mgodi Thu, 02 Jul 2015 22:08:29 +00:00
render image from a macro added to a RTE https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67174-render-image-from-a-macro-added-to-a-rte https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67174-render-image-from-a-macro-added-to-a-rte Dear Umbraco forum Team

can you render a media file from a Macro Parameter of a Macro added to a RTE ?

if so, how ?

Thanks Dibs

]]>
Dibs Thu, 02 Jul 2015 21:35:09 +00:00
DENMARK - looking to hire a skilled front-end developer - please help us find the right one :-) https://our.umbraco.org/forum/jobs/jobs/67173-denmark-looking-to-hire-a-skilled-front-end-developer-please-help-us-find-the-right-one https://our.umbraco.org/forum/jobs/jobs/67173-denmark-looking-to-hire-a-skilled-front-end-developer-please-help-us-find-the-right-one Jeg søger en stærk front-ender til snarlig tiltræden.

Vi er et mindre bureau i det sønderjyske der gerne vil etablere egen webafdeling. Til dette har vi brug for den helt rigtige profil, der ud over kompetencerne og erfaring med UMBRACO har lyst til at være med til at udvikle og sætte sit præg på netop denne afdeling hvor aktivitetsniveauet er støt stigende.

Du vil hos os få en fremtrædende rolle for alle digitale løsninger, der skal leveres til vores kunder. Kunderne er alt fra mindre og mellemstore, lokale virksomheder, til globale markedsledere. Fælles for alle er, at de tror på god og ærlig rådgivning før eksekvering af strategi. Så ud over at kunne fordybe dig i eksekvering er du god i kunde/rådgiver relationen.

Er det dig - eller kender du den rette - så send en mail med CV og ansøgning til Rico Rømer Soos på rico@adformation.dk eller ring til Rico på 70155900

Tiltrædelse snarest muligt, men vi venter gerne på den rigtige :-)

Se meget mere om os på adformation.dk

]]>
Rico Rømer Soos Thu, 02 Jul 2015 20:55:58 +00:00
Multi-Tenant Site https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67172-multi-tenant-site https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67172-multi-tenant-site We are analyzing CMS's for a new project. One of the requirements is to be able to support multi-tenancy. And not only that, but it must also support allowing a site admin to add new sites that are subordinate to a top-level site. (Think using Umbraco CMS to build a multi-tenant CMS.)

We're finding that Umbraco does support multiple sites, however it does not appear that there is an ability to add child sites to a particular site. It seems that sites follow a flat, non-hierarchical model. And further to that, it appears the user permission assignments are a little difficult to partition correctly so that a site admin would be able to do everything they'd need to do to manage doc types, etc. for their own site without exposing other sites' doc types, etc. also. It seems we'd have to roll our own CMS features.

Anyone have any input?

Much appreciated, thank you.

]]>
Eric Zachman Thu, 02 Jul 2015 20:43:38 +00:00
xPath Expressions https://our.umbraco.org/projects/backoffice-extensions/mr-n-picker/general/67171-xpath-expressions https://our.umbraco.org/projects/backoffice-extensions/mr-n-picker/general/67171-xpath-expressions Hi,

which xPath Expressions are supported. In my case I would have to go 2 Levels up. Is this possible?

g/h

]]>
Horst Sterr Thu, 02 Jul 2015 20:12:45 +00:00
Images aren't responsive? https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67170-images-dont-respond https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/67170-images-dont-respond Hello, I have a 3 column layout with an image in each column. These images are all large and I did set the img-responsive class in the media editor. It looks good in back office:

enter image description here

But when I preview in any mode, it isn't responsive. Is there something I am missing? For example, this is table mode:

enter image description here

]]>
Saied Thu, 02 Jul 2015 19:45:48 +00:00
Event when before record is retrieved? https://our.umbraco.org/forum/umbraco-pro/contour/67169-event-when-before-record-is-retrieved https://our.umbraco.org/forum/umbraco-pro/contour/67169-event-when-before-record-is-retrieved Hi !

In a similar vain to this post: https://our.umbraco.org/forum/umbraco-pro/contour/48123-Event-when-entry-is-deleted

Can we get an event raised before a record is retrieved? It seems Umbraco Forms v4.0.3 does not support getting data from an external data source, only sending data there and then using it's local RecordStorage. If I had an event before it retrieves the record I could refresh the RecordStorage from the external data source.

These events seemed to exist in Umbraco 6.

Cheers!

Tom

]]>
Tom Norwood Thu, 02 Jul 2015 18:10:13 +00:00
How do you recommend showing book on front end of web site https://our.umbraco.org/projects/backoffice-extensions/bookshelf/the-library/67166-how-do-you-recommend-showing-book-on-front-end-of-web-site https://our.umbraco.org/projects/backoffice-extensions/bookshelf/the-library/67166-how-do-you-recommend-showing-book-on-front-end-of-web-site Hi Kevin,

How do you suggest showing a book on the front side of the web site? Do you have an example any where I could look at?

Thx, Dina

]]>
DFBerry Thu, 02 Jul 2015 15:09:06 +00:00
Using Embed datatype in LeBlender https://our.umbraco.org/projects/backoffice-extensions/leblender/general-discussion/67164-using-embed-datatype-in-leblender https://our.umbraco.org/projects/backoffice-extensions/leblender/general-discussion/67164-using-embed-datatype-in-leblender When I try to add an Embed to LeBlender i get a 404 error when it tries to render the editor:

it can't find the property editor in Umbraco/Views/PropertyEditors/Embed/Embed.html

Embed does not seem to be a default datatype in Umbraco though it is createable.

]]>
Dan Evans Thu, 02 Jul 2015 14:45:10 +00:00
uCommerce multiple shipping address per customer/member https://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support/67159-ucommerce-multiple-shipping-address-per-customermember https://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support/67159-ucommerce-multiple-shipping-address-per-customermember Hi,

I'm using uCommerce 6.7.2 for Umbraco 7.2.6 and have searched high and low on the forum for adding multiple shipping addresses per customer/member.

I have a scenario where the returning customer is already an Umbraco Member (and signed in) and when they visit the Address page of the order process, I want to retrieve all previous shipping addresses that the customer has used in the past. At this point, the member is invited to select an address or "Enter a new address" which will then save the one that they enter for next time.

I can't figure out where in the API docs this is?

I can see in "_Address.cshtml":

var shipmentAddress = TransactionLibrary.GetShippingInformation();

... which retrieves the previously used shipping address (if there is one), however, I want to return a list of all shipping addresses that matches against the currently logged in member.

Can someone please help?

Thanks,

Rick

]]>
Rick Thu, 02 Jul 2015 13:00:18 +00:00
Error when installing uCommerce on fresh Umbraco site https://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support/67157-error-when-install-on-fresh-umbraco-site https://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support/67157-error-when-install-on-fresh-umbraco-site Hi,

When I try to install the uCommerce package locally I keep getting the following error:

Server error: Contact administrator, see log for full details. Server call failed for checking remaining seconds

After a while it will then give a Request timed out error message.

Which then breaks the Umbraco site I've created. Has anyone else come across this message and know how to fix it?

Thanks

]]>
Jeff Thu, 02 Jul 2015 12:52:15 +00:00
MemberGroup Discount applying to all users https://our.umbraco.org/projects/website-utilities/uwebshop2/uwebshop2-general-questions/67150-membergroup-discount-applying-to-all-users https://our.umbraco.org/projects/website-utilities/uwebshop2/uwebshop2-general-questions/67150-membergroup-discount-applying-to-all-users I've been experiencing an issue with one of my MemberGroup discounts for Free Delivery. I've already posted this issue on uWebshop's GitHub but am reposting here to try and catch the wider Umbraco audience.

When I get to the checkout stage, every single person gets the Free Delivery discount, despite the fact that I have restricted it to only a single MemberGroup. Even unregistered (i.e. not logged in) users get the Free Delivery.

When I look at the order in the database, I can see that it has the discount applied:

<Discounts>
    <OrderDiscount>
        <OriginalId>22484</OriginalId>
        <DiscountType>FreeShipping</DiscountType>
        <DiscountValue>0</DiscountValue>
        <RangesString />
        <Condition>None</Condition>
        <NumberOfItemsCondition>0</NumberOfItemsCondition>
        <RequiredItemIds />
        <MinimalOrderAmount>0</MinimalOrderAmount>
        <IncludeShippingInOrderDiscountableAmount>false</IncludeShippingInOrderDiscountableAmount>
        <MemberGroups>
            <string>Discount Member Group</string>
        </MemberGroups>
        <AffectedOrderlines />
        <Tags />
        <OncePerCustomer>false</OncePerCustomer>
        <Id>22484</Id>
        <TypeAlias>uwbsDiscountOrderMembergroup</TypeAlias>
    </OrderDiscount>
</Discounts>

Now, I've tried clearing my browser cache and cookies, using incognito mode, different browsers, different computers, and every time this happens. I've also cleared out the Umbraco TEMP folder and restarted IIS.

I'm beginning to suspect that something has become "stuck" in Umbraco somewhere but I'm not sure where to look or how to diagnose this issue. Anybody out there experienced this or have an idea where to start?

Any assistance greatly appreciated.

]]>
GShenanigan Thu, 02 Jul 2015 09:12:37 +00:00
Error when I change order status https://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support/67083-error-when-i-change-order-status https://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support/67083-error-when-i-change-order-status I want to change status on my order.

My code

var newOrderStatus = OrderStatus.All().Single(x => x.Name == statusName);
var orderService = ObjectFactory.Instance.Resolve<IOrderService>();
orderService.ChangeOrderStatus(order, newOrderStatus);

newOrderStatus, order & orderService look fine. What am I doing wrong?

I get this error:

NHibernate.PropertyValueException was unhandled by user code
  HResult=-2146232832
  Message=not-null property references a null or transient value UCommerce.EntitiesV2.OrderStatusAudit.NewOrderStatus
  Source=NHibernate
  EntityName=UCommerce.EntitiesV2.OrderStatusAudit
  PropertyName=NewOrderStatus
  StackTrace:
       at NHibernate.Engine.Nullability.CheckNullability(Object[] values, IEntityPersister persister, Boolean isUpdate)
       at NHibernate.Event.Default.AbstractSaveEventListener.PerformSaveOrReplicate(Object entity, EntityKey key, IEntityPersister persister, Boolean useIdentityColumn, Object anything, IEventSource source, Boolean requiresImmediateIdAccess)
       at NHibernate.Event.Default.AbstractSaveEventListener.SaveWithGeneratedId(Object entity, String entityName, Object anything, IEventSource source, Boolean requiresImmediateIdAccess)
       at NHibernate.Event.Default.DefaultSaveOrUpdateEventListener.SaveWithGeneratedOrRequestedId(SaveOrUpdateEvent event)
       at NHibernate.Event.Default.DefaultSaveOrUpdateEventListener.EntityIsTransient(SaveOrUpdateEvent event)
       at NHibernate.Event.Default.DefaultSaveOrUpdateEventListener.OnSaveOrUpdate(SaveOrUpdateEvent event)
       at NHibernate.Impl.SessionImpl.FireSaveOrUpdate(SaveOrUpdateEvent event)
       at NHibernate.Impl.SessionImpl.SaveOrUpdate(String entityName, Object obj)
       at NHibernate.Engine.Cascade.CascadeToOne(Object parent, Object child, IType type, CascadeStyle style, Object anything, Boolean isCascadeDeleteEnabled)
       at NHibernate.Engine.Cascade.CascadeCollectionElements(Object parent, Object child, CollectionType collectionType, CascadeStyle style, IType elemType, Object anything, Boolean isCascadeDeleteEnabled)
       at NHibernate.Engine.Cascade.CascadeCollection(Object parent, Object child, CascadeStyle style, Object anything, CollectionType type)
       at NHibernate.Engine.Cascade.CascadeOn(IEntityPersister persister, Object parent, Object anything)
       at NHibernate.Event.Default.AbstractFlushingEventListener.CascadeOnFlush(IEventSource session, IEntityPersister persister, Object key, Object anything)
       at NHibernate.Event.Default.AbstractFlushingEventListener.PrepareEntityFlushes(IEventSource session)
       at NHibernate.Event.Default.AbstractFlushingEventListener.FlushEverythingToExecutions(FlushEvent event)
       at NHibernate.Event.Default.DefaultFlushEventListener.OnFlush(FlushEvent event)
       at NHibernate.Impl.SessionImpl.Flush()
       at UCommerce.Transactions.OrderService.ChangeOrderStatus(PurchaseOrder purchaseOrder, OrderStatus newOrderStatus, String userName)
       at Weheart.Print.ChangeOrderStatus(PurchaseOrder order, String statusName) in c:\bastard\Bastard\weheart\Print.cs:line 247
       at Weheart.Print.SendOrders() in c:\bastard\Bastard\weheart\Print.cs:line 107
       at Bastard.Handler.ProcessRequest(HttpContext context) in c:\bastard\Bastard\Testing.ashx.cs:line 20
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
  InnerException: 
]]>
Henrik Stokbro Wed, 01 Jul 2015 13:37:01 +00:00
Texbox multiple linebreaks change from \n to \r\n after republish https://our.umbraco.org/forum/developers/api-questions/67069-texbox-multiple-linebreaks-change-from-n-to-rn-after-republish https://our.umbraco.org/forum/developers/api-questions/67069-texbox-multiple-linebreaks-change-from-n-to-rn-after-republish Hi, the linebreaks change from \n to \r\n after republish entire site.

Steps to reproduce in version 7.1.8 and 7.2.6:

  1. create a new document type named 'page' with matching template
  2. add a textbox multiple property to the 'page' document type named 'list'
  3. create a new page in the content tree fill in the 'list' property with 'one','two' and 'three' with a linebreak in between
  4. hit save and publish open the 'page' template change to

Page template:

@inherits Umbraco.Web.Mvc.UmbracoTemplatePage 
@{
Layout = null;
var list = Umbraco.Field("list").ToHtmlString();
}
@list

After a save a publish the variable will contain= "one\ntwo\nthree" After a republish entire site the variable will contain= "one\r\ntwo\r\nthree"

The convertLineBreaks option has no issue with this situation. But dependent code we use does a split using '\n' character to compare the values. After a republish this compare does not work anymore since the values are now "one\r", "two\r" and "three".

The cache (umbraco.config) saves the value as

<![CDATA[oneCRLF
twoCRLF
three]]>

Anyone any clue? Meanwhile I'm looking at the Umbraco sources but I'm not familiar with the internals of content retrieval.

Regards Bart

]]>
Bart ten Velde Wed, 01 Jul 2015 08:45:53 +00:00
adding language to internal links in rte https://our.umbraco.org/projects/backoffice-extensions/polyglot/polyglot-package-feedback-bug-reports-assistance-etc/67040-adding-language-to-internal-links-in-rte https://our.umbraco.org/projects/backoffice-extensions/polyglot/polyglot-package-feedback-bug-reports-assistance-etc/67040-adding-language-to-internal-links-in-rte Hi again, i have a website running with 2 different languages, the problem is when I add internal links to content in RTE: when the page is rendered in the links are missing the language part, so every time one click it fall back to the main language. Am I doing something wrong?

]]>
Claudio Ridolfi Tue, 30 Jun 2015 20:24:17 +00:00
Recursive property value https://our.umbraco.org/projects/backoffice-extensions/leblender/general-discussion/67022-recursive-property-value https://our.umbraco.org/projects/backoffice-extensions/leblender/general-discussion/67022-recursive-property-value Is it possible to add a recursive value to a LeBlender property (a value that has the same name but is in a standard Umbraco document type, e.g. a LeBlender version of:

@Umbraco.Field("line2Contact", recursive: true)"

]]>
Dan Evans Tue, 30 Jun 2015 13:59:57 +00:00
Erro when Loading Package https://our.umbraco.org/projects/website-utilities/frontend-editing/frontend-editing/67016-erro-when-loading-package https://our.umbraco.org/projects/website-utilities/frontend-editing/frontend-editing/67016-erro-when-loading-package Hi,

I am trying to update the package, since I have the latest umbraco version and when I am trying to load package in order to eventually install the latest package version, it is saying:

Binary file errors detected Read more... This package contains .NET binary files that might not be compatible with this version of Umbraco. If you aren't sure what these errors mean or why they are listed please contact the package creator.

Error report This package could not be verified for compatibility. An error occurred while loading a referenced assembly 'System.Web.Mvc' see error log for full details.

When I load it locally, this error does not show up. It only show when I try to load this package and try to install it on staging server.

Any Ideas pls? Appreciate any help.

Thank you.

]]>
Simon Tue, 30 Jun 2015 13:28:10 +00:00
U7: Publish At / Unpublish At [BUG] https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/66999-u7-publish-at-unpublish-at-within-azure-websites https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/66999-u7-publish-at-unpublish-at-within-azure-websites Hi all,

I'm experiencing some issues with the auto Publish At / Unpublish At functionality in Umbraco version 7.2.6

The Publish At function fails to make the page available after the datetime has passed. The backoffice registers the page as published, but with the "Oops: this document is published but is not in the cache (internal error)" message. This is fixed when someone manually fires the 'Republish Entire Site' function which then makes the page accessible.

The Unpublish At function also registers the page as unpublished in the backoffice after the set datetime but the page is still accessible on the website until someone manually fires the 'Republish Entire Site' function, then the page is unpublished properly and inaccessible.

I've tried a number of workarounds to no avail, including adding ContentServicePublished / ContentServiceUnPublished events that try to 'Republish Entire Site' on auto pub/unpublish. I've listed the code below:

    protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
    {
        base.ApplicationStarted(umbracoApplication, applicationContext);
        ContentService.Published += ContentService_Published;
        ContentService.UnPublished += ContentService_UnPublished;
    }
    void ContentService_Published(global::Umbraco.Core.Publishing.IPublishingStrategy sender, PublishEventArgs<IContent> e)
    {
        bool isAutoPublish = false;
        foreach (var item in e.PublishedEntities)
        {
            if (item.ReleaseDate.HasValue && (item.ReleaseDate.Value - DateTime.Now).TotalMinutes < 10)
            {
                isAutoPublish = true;
            }
        }
        if (isAutoPublish)
        {
            umbraco.cms.businesslogic.web.Document.RePublishAll();
            umbraco.library.RefreshContent();
        }
    }
    void ContentService_UnPublished(Umbraco.Core.Publishing.IPublishingStrategy sender, PublishEventArgs<IContent> e)
    {
        bool isAutoUnpublish = false;
        foreach (var item in e.PublishedEntities)
        {
            if (item.ExpireDate <= DateTime.Now)
            {
                isAutoUnpublish = true;
            }
        }
        if (isAutoUnpublish)
        {
            umbraco.cms.businesslogic.web.Document.RePublishAll();
            umbraco.library.RefreshContent();
        }
    }

I realise 'umbraco.cms.businesslogic.web.Document.RePublishAll();' is obsolete but I had to try it seeing 'umbraco.library.RefreshContent();' wasn't working for me (in Azure).

I also noticed is that the .ReleaseDate property is always null, making it very difficult to determine whether an item was published manually or automatically published via the Publish At function. Is there another way to determine the auto published nature of the item in this context?

Steps to recreate all of the above issues:

  1. In the backoffice, create a page node anywhere, populate it with any misc content, then hit Save and Publish. Visit the URL to see the page live.
  2. Back in the backoffice, select an Unpublish At datetime for a few mins from now.
  3. Wait it out and hit the expected URL for a while after the scheduled datetime, the page should still be incorrectly accessible as described above. Refresh the backoffice to see that Umbraco registers the page as unpublished, yet the page still renders.
  4. Click 'Republish Entire Site' and try the page again, it should be properly unpublished.
  5. Create a new node/page and just hit Save this time, not Save and Publish. Hopefully you can determine the expected URL, it'll help to test.
  6. Set a Publish At datetime to a few mins from now. Hit the expected URL to see the page correctly not load or exist.
  7. Wait it out and hit the expected URL for a while after the scheduled datetime and see if the page loads. Did the page load?
  8. Check in the backoffice to see that the node is registered as published but doesn't resolve on the site. You may see the "Oops: this document is published but is not in the cache (internal error)" message displayed.
  9. Republish the entire site again and access the page, it should load fine now.

I hope to find a solution to these issues as scheduled content are integral. I'd even accept a hack job / workaround at this point seeing I've already invested much into this project build.

Looking forward to hearing from anyone.

]]>
Chris Tue, 30 Jun 2015 06:39:42 +00:00
Courior and locallinks https://our.umbraco.org/forum/umbraco-pro/courier/66948-courior-and-locallinks https://our.umbraco.org/forum/umbraco-pro/courier/66948-courior-and-locallinks Hey there,

Ive ran into an issue with courier and locallinks which I cannot get around. The links works on my staging, when I then push content they get turned into these :

/{localLink:9538c67f-1e36-4a04-abf6-af07fe8481e7}

Ive tried anything i could find, parseinternallinks, umbraco.field, but what every i try they are not getting parsed. The pages exist but the html is just not changed.

Its running on Umbraco 6.1.6 and contour 2

]]>
Rasmus Fjord Mon, 29 Jun 2015 13:25:40 +00:00
List all nodes by node nodeTypeAlias(es) https://our.umbraco.org/forum/templating/templates-and-document-types/66932-list-all-nodes-by-node-nodetypealias-es https://our.umbraco.org/forum/templating/templates-and-document-types/66932-list-all-nodes-by-node-nodetypealias-es Hi,

I would like a like with all nodes from home page through all the site by different node nodeTypeAliases. Is that possible somehow using razor? So far I have this:

@{
    dynamic root = @Umbraco.Content(1060);
    var news_items = root.Descendants("type1")
}
<ul>
    @foreach (var news_item in news_items)
    {
        <li>
            @news_item.Name
        </li>
    }
</ul>
]]>
Levente Kosa Sun, 28 Jun 2015 11:42:56 +00:00
Item.GetValue("header") Value cannot be null. https://our.umbraco.org/projects/backoffice-extensions/leblender/bug-reports/66931-itemgetvalue-header-value-cannot-be-null https://our.umbraco.org/projects/backoffice-extensions/leblender/bug-reports/66931-itemgetvalue-header-value-cannot-be-null Hi,

I created a custom header, with only 1 property, a single textstring. Every time I try to show the values, I get the error: : Value cannot be null.

HTML:

@inherits UmbracoViewPage<Lecoati.LeBlender.Extension.Models.LeBlenderModel>
@foreach (var item in Model.Items)
{
    <div class="row">
        <div class="col-sm-6 col-sm-offset-3">
            <h2 class="module-title font-alt">@item.GetValue("Header")</h2>
        </div>
    </div>
}

The stacktrace:

   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at System.Int32.Parse(String s)
   at Lecoati.LeBlender.Extension.Helper.GetTargetContentType()
   at Lecoati.LeBlender.Extension.Models.LeBlenderPropertyModel.GetValue[T]()
   at Lecoati.LeBlender.Extension.Models.LeBlenderValue.GetValue[T](String propertyAlias)
   at Lecoati.LeBlender.Extension.Models.LeBlenderValue.GetValue(String propertyAlias)
   at ASP._Page_views_partials_grid_editors_ModuleTitel_cshtml.Execute() in c:\Projects\keystroke\Rovasac website\Web solution\Source\Rovasac\Views\Partials\Grid\Editors\ModuleTitel.cshtml:line 6
   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
   at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
   at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
   at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)
   at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)
   at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

The backend enter image description here

The wierd thing is, it is only on some document types, not on all of them.

Any ideas?

Thanks :)

]]>
Bert Hoorne Sun, 28 Jun 2015 06:25:33 +00:00
Remove item from basket https://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support/66921-remove-item-from-basket https://our.umbraco.org/projects/website-utilities/ucommerce/ucommerce-support/66921-remove-item-from-basket Hi,

I'm having some issues with removing an item from the basket.

I'm using the demo store and can see that it appears to be falling over when I click the remove button next to the product on cart.aspx

The offending script is _Actions.Cart.cshtml which is referenced before the closing...

</head>

...on the masterpage

It breaks on the line...

var basket = TransactionLibrary.GetBasket(true).PurchaseOrder;

...and I really don't know why!

var request = HttpContext.Current.Request;

var basket = TransactionLibrary.GetBasket(true).PurchaseOrder;

if (request.HttpMethod == "POST")
{
    @* For these helper functions refer to /App_Code/uCommerce/Functions/Basket.cshtml *@
    uCommerce.Functions.Basket.RemoveItem("basket-remove-item");
    uCommerce.Functions.Basket.AddVoucher("add-voucher", "voucher-code");
    uCommerce.Functions.Basket.UpdateCartLines("update-basket", "quantity-input-", basket);
}

I get the error:

"PipelineException was unhandled by user code"

Exception occoured while processing pipeline 'UCommerce.Pipelines.Transactions.Baskets.GetBasket.GetBasketPipeline'

Inner Exception: {"Server cannot append cookies after HTTP headers have been sent."}

Thanks very much for the continued work/support on the package - really appreciate it :-)

Thanks,

Rick

]]>
Rick Fri, 26 Jun 2015 15:03:29 +00:00
Wont run on default install https://our.umbraco.org/projects/developer-tools/sticky-profiler/sticky-profiler/66676-wont-run-on-default-install https://our.umbraco.org/projects/developer-tools/sticky-profiler/sticky-profiler/66676-wont-run-on-default-install Installed this on 7.2.6 with the default fanoe starter kit and the debugger isnt showing?

]]>
Tony Thu, 18 Jun 2015 21:29:13 +00:00
Umbraco Forms - submit message https://our.umbraco.org/forum/umbraco-pro/contour/66622-umbraco-forms-submit-message https://our.umbraco.org/forum/umbraco-pro/contour/66622-umbraco-forms-submit-message Hi,

I am using the latest release of Umbraco Forms to build a form containing 2 pages (steps). On submit, a redirect to another page is set. On the target page, there is a link to access the form again. When I click this link, I get the form page, but only see the submit message (text). Only if I hit F5 then, I get to the first page of the form again.

Why? How can I solve this? The users should be able to access the form again after submitting (for making another submission) just by clicking a standard link and without hitting F5.

Best Regards Andreas

]]>
Andreas Pfanner Wed, 17 Jun 2015 16:11:39 +00:00
Umbraco.Core.Persistence, ntext deprecated, nvarchar(MAX) https://our.umbraco.org/forum/developers/extending-umbraco/66609-umbracocorepersistence-ntext-deprecated-nvarchar-max https://our.umbraco.org/forum/developers/extending-umbraco/66609-umbracocorepersistence-ntext-deprecated-nvarchar-max I am trying to create a table on application start using PetaPoco. Since 2008 the column type ntext has been deprecated and replaced by nvarchar(MAX). ntext will be removed at some point. nvarchar allows for more operations on the column without having to cast or convert.

With MS SQL Server using nvarchar(n), n can be 0-4000 and MAX.

How do I create a nvarchar(MAX) column in Umbraco using PetaPoco? LengthAttribute is an int. https://github.com/umbraco/Umbraco-CMS/tree/7.2.4/src/Umbraco.Core/Persistence/DatabaseAnnotations

SpecialDbTypes has ntext and nchar. I am (probably) missing something like a nvarcharmax special type or an enum allowing me to do:

[Column("Description")] [SpecialDbType(SpecialDbTypes.NVARCHARMAX)] public string Description { get; set; }

What is the Umbraco-way of creating a nvarchar column with more than 4.000 characters?

]]>
Morten B Wed, 17 Jun 2015 14:10:21 +00:00
Deploying the "contents only" to "Apache web server" https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/66561-deploying-the-contents-only-to-apache-web-server https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/66561-deploying-the-contents-only-to-apache-web-server Hi all,

I am working on responsive POC, using Umbraco V 7.0 and we already done the job but one the other requirement of client is that they wanted us to deploy just contents to Apache web server;

So my question is:

Can we deploy the only contents (such as text, images, css, js etc) to Webserver?

Second is: Can we deploy to Apache server? as Umbraco is .NET and works fine on IIS.

Please let me know your thoughts in this regard...

Many thanks :)

]]>
M.Usman Tue, 16 Jun 2015 15:41:56 +00:00
Pages falls out of cache https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/66422-pages-falls-out-of-cache https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/66422-pages-falls-out-of-cache We have some website on Umbraco 7.2+. Some of them has a strange thing going on. When we publish a page, sometimes after some hours it falls out of the cache. It gets published and it shows up on the website as it should. Then, just all of the sudden, the page is still published but it will not show. We then find this message:

Oops: this document is published but is not in the cache (internal error)

Very annoying for our customer. They publish their web page, everything is nice and dandy, and next day the page isn't there.

Is it a bug in newer versions? We have been working with Umbraco for some years, and nothing like this has happened before.

]]>
Jerker Stigsson Fri, 12 Jun 2015 09:40:43 +00:00
Export documents of a DocumentType to XML, CSV or Excel formats https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/64936-Export-documents-of-a-DocumentType-to-XML,-CSV-or-Excel-formats https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/64936-Export-documents-of-a-DocumentType-to-XML,-CSV-or-Excel-formats Hi to all,

My question is if there's any way to export the documents of a DocumentType to XML/CSV/Excel formats.

For instance, I'll need this to export newsletter subscribers from my website to import them in Mailchimp.

Thanks for your help!

]]>
Avanzis Tue, 19 May 2015 16:53:55 +00:00
Primary Key Constraint error on new Umbraco 7 install https://our.umbraco.org/forum/getting-started/installing-umbraco/60304-Primary-Key-Constraint-error-on-new-Umbraco-7-install https://our.umbraco.org/forum/getting-started/installing-umbraco/60304-Primary-Key-Constraint-error-on-new-Umbraco-7-install I've completely new to Umbraco but have developed a few basic websites in the past.

When running through the initial setup of Umbraco i get the following error: The database failed to install. ERROR: The database configuration failed with the following message: Violation of PRIMARY KEY constraint 'PK_structure'. Cannot insert duplicate key in object 'dbo.umbracoNode'. The duplicate key value is (-1). The statement has been terminated.

I'm installing on IIS8 on Server 2012 in a SQL server Express 2012 database. The database is a brand new completely blank database and the SQL login im using in the Umbraco setup has owner rights on the database.

Doing a search i see lots of errors with primary keys on upgrades to newer versions but i dont see anything about errors on a new install. How can their be a primary key violation when nothing yet exists in the database?

]]>
David Wilson Fri, 09 Jan 2015 17:58:04 +00:00
Status of Examine and Azure blob storage providers https://our.umbraco.org/forum/developers/api-questions/56303-Status-of-Examine-and-Azure-blob-storage-providers https://our.umbraco.org/forum/developers/api-questions/56303-Status-of-Examine-and-Azure-blob-storage-providers Hello All,

Previously when deploying Umbraco to Azure it was recommended to use a different set of provider DLLs - https://github.com/Shandem/Examine/wiki/ExamineWithAzure

The first thing we would like to query is why this was necessary? Is this a hangover from WebRoles or is there still a reason to use these different DLLs when in an Azure VMs setup or Azure Websites setup.

Secondly - I know that in a load balanced environment it was recommended to exclude Examine indexes from DFS file replication and have each instance create their own Examine index (I think because writes to lucene indexes are not thread safe). Is this still the recommendation for multiple instance Azure deployments, and if so what is the solution for Azure websites (multi instance) as they use a common filesystem and one can't "exclude" stuff. I assume the solution is to use the Azure providers mentioned in the first question?

Lastly, are the Azure DLLs still maintained as part of the project? I've pulled the current binary release from github and they aren't included - do I need to build those DLLs separately?

Thanks for any light that you can shed upon this.

]]>
Darren Ferguson Fri, 05 Sep 2014 09:39:11 +00:00
User Message (former Speech bubble) in custom event https://our.umbraco.org/forum/umbraco-7/developing-umbraco-7-packages/53699-User-Message-(former-Speech-bubble)-in-custom-event https://our.umbraco.org/forum/umbraco-7/developing-umbraco-7-packages/53699-User-Message-(former-Speech-bubble)-in-custom-event Hi,

I wrote a custom publish event. When the event has been canceled cause some conditions do not fit, the user gets the message "Publishing was cancelled by a 3rd party plugin". Is there any way to customize and change this feedback, so that you can tell the user more exactly what went wrong?

Best regards -

 

Tom

]]>
Thomas Beckert Mon, 16 Jun 2014 17:06:51 +00:00
Unable to login to back office after deploying Umbraco 7 to server https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/48023-Unable-to-login-to-back-office-after-deploying-Umbraco-7-to-server https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/48023-Unable-to-login-to-back-office-after-deploying-Umbraco-7-to-server Hi

As this issue is specific to Umbraco 7, I'm reposting from the Installing Umbraco forum.

I've got a number of Umbraco sites successfully deployed at my shared hosting provider, ranging from version 4.5.2 to 6.1.4, but when I deploy a 7.0.2 umbraco site there, I can't login to the back office.

I initially encountered the problem with a site I'd developed on my local machine, then deployed to my hosting provider. I've since tried uploading a fresh copy of umbraco 7.0.2 to the server, successfully run through the installation there, but when I try to login for the first time I get the same error:

As you can see, the javascript error "The user object is invalid, the remainingAuthSeconds is required" shows up in the console and there's a red bar that looks like it should have an error message in the UI, but no message.

This appears to be a client-side problem, so I've tried a number of different browsers (IE/FF/Chrome) with the same result. I wondered if it could be time zone-related as my hosting company is in another country, but when I try changing my local timezone to match the server, it hasn't helped.

The umbraco logs show no problems either. These are the entries when I attempt to login:

2014-01-28 14:26:45,350 [27] INFO  umbraco.BusinessLogic.Log - [Thread 26] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Login | User: 0 | NodeId: -1 | Comment: User XXXXXX has logged in
2014-01-28 14:26:45,365 [27] INFO  Umbraco.Web.Security.WebSecurity - [Thread 16] User Id: 0 logged in

Which, to me, looks like the server has successfully handled my login request.

I'm not sure where to go from here. Can anyone suggest further troubleshooting steps I can try?

Cheers,
Andrew

]]>
Andrew Tregonning Sat, 01 Feb 2014 03:22:54 +00:00
Connect and insert to custom database table in V6 MVC https://our.umbraco.org/forum/developers/api-questions/46411-Connect-and-insert-to-custom-database-table-in-V6-MVC https://our.umbraco.org/forum/developers/api-questions/46411-Connect-and-insert-to-custom-database-table-in-V6-MVC Hi,

I need to add a simple record to a custom database table from within a WebApiController in Umbraco 6.1.6 MVC. What's the best current approach to doing this? I've seen suggestions of using PetaPoco but with my limited .NET skills this is over my head.

Is this the best approach nowadays, and if so are there any starter guides as to how to do a simple SQL insert in the context of a WebApiController?

Thanks

]]>
Dan Mon, 25 Nov 2013 15:10:18 +00:00
Confused by results from Node.ChildrenAsTable() https://our.umbraco.org/forum/developers/api-questions/28170-Confused-by-results-from-NodeChildrenAsTable() https://our.umbraco.org/forum/developers/api-questions/28170-Confused-by-results-from-NodeChildrenAsTable() Hi,

I am relatively new to Umbraco and come from an ASP.NET programming background, therefore I am trying to use the API.

My website has 6 pages, producing the following document type structure:

---- Homepage
--------News List
--------TextPage
--------TextPage
--------TextPage
--------News List

If I set my Node variable to be equal to the Homepage, via the following hardcoded ID and then call ChildrenAsTable:

Dim RootNode As New Node(1050)
RootNode.GetChildrenAsTable()

 

this seems to return a datatable with only two rows, i.e. the two pages of type "News List". I would expect it to have 5 rows, one for each child?

If I view RootNode.ChildrenAsList() then there are clearly 5 children, so I'm quite confused. Is this a known bug, or I am doing something wrong?

Thanks,
Jenni

 

 

 

 

 

 

]]>
Jenni Marsh Mon, 30 Jan 2012 17:41:26 +00:00
Can i change admin panel URL? https://our.umbraco.org/forum/getting-started/installing-umbraco/5050-Can-i-change-admin-panel-URL https://our.umbraco.org/forum/getting-started/installing-umbraco/5050-Can-i-change-admin-panel-URL Hi All,

Is there any configuration in admin panel or in umbraco settings folder files using which i can change umbraco admin panel url?

basically what i want to do is i want to change http://myweb/umbraco/umbraco.aspx to http://myweb/myname/umbraco.aspx.

Please let me know if there is any way out or you didn't get my question.

Regards,

Jigar

 

 

 

]]>
jigar Sat, 31 Oct 2009 08:40:32 +00:00