Copied to clipboard

Flag this post as spam?

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


  • Ayman 11 posts 41 karma points
    Dec 23, 2012 @ 09:50
    Ayman
    0

    Media Gallery Pictures are not showing

    Dear Ones,

    In our website when i click on Media and browse the galary, i am not able to see any of the pics, it seems like its broken, i have run ?umbDebugShowTrace=True on this link and it is giving me the following errors

    1. umbracoMacro InnerException An item of type 'Attribute' cannot be constructed within a node of type 'Root'. An item of type 'Attribute' cannot be constructed within a node of type 'Root'. at System.Xml.Xsl.Runtime.XmlQueryOutput.ThrowInvalidStateError(XPathNodeType constructorType) at System.Xml.Xsl.Runtime.XmlQueryOutput.ConstructInEnumAttrs(XPathNodeType rootType) at System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStartAttribute(String prefix, String localName, String ns) at System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStartAttributeLocalName(String localName) at System.Xml.Xsl.CompiledQuery.Query.<xsl:template name="styles">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList1 {urn:schemas-microsoft-com:xslt-debug}namespaces, IList1 level) in D:\InetPub\vhosts\o5event.com\httpdocs\xslt\MainNav.xslt:line 31 at System.Xml.Xsl.CompiledQuery.Query.<xsl:template match="/">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, Double {urn:schemas-microsoft-com:xslt-debug}position, Double {urn:schemas-microsoft-com:xslt-debug}last, IList1 {urn:schemas-microsoft-com:xslt-debug}namespaces) in D:\InetPub\vhosts\o5event.com\httpdocs\xslt\MainNav.xslt:line 18 at System.Xml.Xsl.CompiledQuery.Query.&lt;xsl:apply-templates&gt;(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator , Double , Double ) at System.Xml.Xsl.CompiledQuery.Query.Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) at System.Xml.Xsl.CompiledQuery.Query.Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, XmlWriter results, XmlResolver documentResolver) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results) at umbraco.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary2 parameters) at umbraco.macro.loadMacroXSLT(macro macro, MacroModel model, Hashtable pageElements)
    2. library Error returning dictionary item 'theEvent' No key theEvent exists in dictionary at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key) at umbraco.library.GetDictionaryItem(String Key)
    3. library Error returning dictionary item 'Media' No key Media exists in dictionary at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key) at umbraco.library.GetDictionaryItem(String Key)
    4. library Error returning dictionary item 'History' No key History exists in dictionary at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key) at umbraco.library.GetDictionaryItem(String Key) 0.00412457063455209 0.000087 item Start parsing '#History'
    5. library Error returning dictionary item 'Contact' No key Contact exists in dictionary at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key) at umbraco.library.GetDictionaryItem(String Key)

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 23, 2012 @ 11:26
    Jan Skovgaard
    0

    Hi Ayman

    What does your code for running through the images look like? And is it a multiple language site since you get the dictionary errors above?

    Also what version of Umbraco are you seeing this on?

    Looking forward to hearing more from you.

    /Jan

  • Ayman 11 posts 41 karma points
    Dec 23, 2012 @ 12:23
    Ayman
    0

    Hi Jan,

    For the code part you were asking for, i am getting this error message from inside Umbraco cpanel when i chose one of those images to edit it.

    • Error creating control 
      System.Security.VerificationException: Operation could destabilize the runtime. at IMediaFileSystem_PhysicalFileSystem_Wrapper.GetRelativePath(String ) at umbraco.editorControls.uploadField.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at umbraco.uicontrols.PropertyPanel.Render(HtmlTextWriter writer)
    And yes it is a multiple lang. site " English / Arabic " and about the version it is Umbraco Version = 4.9.0
    I just restored that website from a backup file into my new hosting space. Now i am trying to ensure that the website is functioning correctly before pointing the domain to my name servers.
Please Sign in or register to post replies

Write your reply to:

Draft