Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sören Deger 733 posts 2844 karma points c-trib
    Jul 19, 2012 @ 17:06
    Sören Deger
    0

    503 error message in frontend after delete and create products

    Hello,

    after I have delete and create any products at first time I get an 503 error message in frontend if I open pages of level greater than 3 under the shop root node. I can open http://mydomain.de/shop/ and http://mydomain.de/shop/de, but i can not open http://mydomain.de/frontpage and all other pages under the "de" node. The other pages of the websites, i.e. my blog and an complete website with nodes of 5 levels are shown and works perfect!

    I have integrated the starter kit 2.0 in an existing website and at begin it works perfect. But if I delete and create products in content I get this error message at first in frontend and after this in backend, too.

     

    I've already checked and done the following:

    - umbraco log shows no errors!
    - permissions are checked and correct!
    - delete browser cache
    - delete umbraco cache in content
    - delete App_Data/Temp - folder
    - delete
    Tea.UmbracoRedirect.dll from bin-folder

     

    This are my settings:

    Server: Windows Server 2008 R2, ASP.NET 4.0

    Umbraco-Version: 4.7.1.1 (Assembly version: 1.0.4393.24044)

    Installed packages:

    - Best Case Technologies presents Doc2Form v 3.0
    - Config Tree v 2.0
    - Digibiz Advanced Media Picker v 2.0
    - Delete All Children Context Menu Item v 0.9.0
    - Google Maps for Umbraco 2.0.3
    - MySnippets for TinyMCE v 1.0.2
    - Structure Extensions 1.0
    - tswe.log4umbraco 4.5.0
    - uComponents v 3.0.3
    - uGoLive v 1.1
    - uHidesy v 1.13
    - Waffel Multiple Image Uploader (WMIU) v 0.5
    - XSLTsearch v 3.0.4
    - Document Type Fieldsets v 0.5.1
    - Language Selector v 0.9
    - uBlogsy v 2.1.0.0
    - Import Media v 1.4
    - Bilis XML Sitemap v 2.0
    - Robots.txt Editor v 3.0
    - Tea Commerce v 1.4.2.4
    - XSLTouch v 1.1
    - Media Icons v 1.0
    - XSLT Macro Engine v 1.0.1
    - jesperEasyNames v 0.000003
    - ImageGen v 2.5.7

    It's a big multilingual Website with a blog and TeaCommerce-Shop.

    Have anyone an idea, how i can solve this error?

     

    Best regards

    Sören

  • Sören Deger 733 posts 2844 karma points c-trib
    Jul 19, 2012 @ 17:13
    Sören Deger
    0

    And of course I have recycle the application pool.

  • Sören Deger 733 posts 2844 karma points c-trib
    Jul 19, 2012 @ 17:32
    Sören Deger
    0

    Now, I have delete 3 other pages and empty recycle bin and in umbraco log i see for every deleted node this message:

    Couldn't find any page with the nodeId = 1805. This is most likely caused by the page isn't published! Parameter name: nodeId

     

    I have search in umbraco log to older error messages and I have found this, too:

    Can't import MacroEngine 'Our.Umbraco.XsltMacroEngine': System.ArgumentException: Ein Element mit dem gleichen Schlüssel wurde bereits hinzugefügt. bei System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) bei System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) bei umbraco.cms.businesslogic.macro.MacroEngineFactory.getEngines(List`1 types)

  • Sören Deger 733 posts 2844 karma points c-trib
    Jul 19, 2012 @ 17:47
    Sören Deger
    0

    I have found the solution!!!

    I have deleted the original product "Product B2" from starter kit, but in the box "Featured products" this product was selected! This has stopped the application pool without any error messages!

    After I have deleted this product in the "Featured products"-box, it works!

    This exception can't be avoided? It took me several hours to debug the site and find this little error........

     

    Best regards Sören

  • Anders Burla 2560 posts 8256 karma points
    Jul 19, 2012 @ 23:43
    Anders Burla
    0

    Hi Sören

    Glad you found the solution! This is a common Umbraco problem :) But we should have guarded the starter kit against it. It happens when you try to get an xml node which has been deledted by the id. This causes the app pool to crash! We will be sure to not have this error in a future release of the starter kit.Have a great day - and sorry for the trouble.

    Kind regards
    Anders

  • Rune Grønkjær 1372 posts 3103 karma points
    Jul 20, 2012 @ 08:13
    Rune Grønkjær
    0

    Hi Sören,

    Check the box_productList.xslt. After this line

    <xsl:variable name="product" select="umbraco.library:GetXmlNodeById(.)" />

    Should be this line:

    <xsl:if test="string($product/@id) != ''">

    If it's not there, insert it. Insert the end of the if statement just before the end of the for-each loop.

    That will make sure that deleted products is not breaking the website.

    /Rune

  • Sören Deger 733 posts 2844 karma points c-trib
    Jul 20, 2012 @ 10:10
    Sören Deger
    0

    Hi Anders & Rune,

    thank you for the good support! This line has failed. After I insert this, it works perfect!

     

    Sören

Please Sign in or register to post replies

Write your reply to:

Draft