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
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.<xsl:apply-templates>(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)
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)
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)
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'
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)
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.
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 {urn:schemas-microsoft-com:xslt-debug}namespaces, IList
1 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.<xsl:apply-templates>(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, Dictionary
2 parameters) at umbraco.macro.loadMacroXSLT(macro macro, MacroModel model, Hashtable pageElements)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
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.
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)
is working on a reply...