Copied to clipboard

Flag this post as spam?

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


  • Fernando Garcia 4 posts 24 karma points
    Mar 05, 2012 @ 08:41
    Fernando Garcia
    0

    Problems with UMP

    Hello.

    I'm trying to integrate UMP on a site i'm developing. Installed the last version of it (v1.5, directly from Umbraco backoffice) and a few providers for testing (Facebook, Flickr and Youtube).

    Then I did all the required setup (post installation):

    • Added new data type
    • Authenticated account
    • Added new property to document type (of new data type)
    • Activated the sample macro ([UMP] Facebook Example) visibility in the RTE.
    • Edited content page and choosed media item for the previous property (the picker perfectly showed all the available items in the account)
    • Added the macro directly on the main page content markup (RTE).

    It didn't worked. Just showed "Error parsing XSLT file: \xslt\[UMP]FacebookExample.xslt" on the rendered html.

    I setup a new macro for testing (visualize) on the XSLT editor, but it returned the next error (I'm translating it from spanish):

    Error parsing the XSLT:

    System.Xml.Xsl.XslTransformException: Can't find any script or extension object associated with the namespace 'urn:facebook'. in System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args) in (XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) in Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) in System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer) in System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results) in umbraco.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary`2 parameters) in umbraco.presentation.umbraco.developer.Xslt.xsltVisualize.visualizeDo_Click(Object sender, EventArgs e)}

    I'm suspecting than the installation went wrong, but just can't figure out where to start checking: the Flickr provider also generated an error (ASP.NET exception): Access to the path 'FlickrNet' is denied (which somebody else has posted here).

    Any ideas about these problems??

    Thanks in advance.

  • Fernando Garcia 4 posts 24 karma points
    Mar 05, 2012 @ 21:00
    Fernando Garcia
    0

    I just installed the package/providers on a fresh umbraco installation and got the same error. I suppose the errors are in the providers, because this time I also installed the Picasa provider and it worked just fine.

    Btw: My setup is: Windows Server 2008 R2 (IIS 7.5), SQL Server 2008 R2 Express, and VS 2010 (non related right now).

  • Morten Christensen 596 posts 2773 karma points admin hq c-trib
    Mar 31, 2012 @ 15:19
    Morten Christensen
    0

    Hi Fernando,

    Sorry about the late reply.
    With regards to the facebook provider please make sure this extension is added to the xsltExtensions.config file:

      <ext assembly="Sitereactor.FacebookMediaPicker" type="Sitereactor.FacebookMediaPicker.FacebookXsltExtension" alias="facebook">
    </ext>

     

    The error with the FlickrNet provider sounds like its related to web.config configuration. During installation a couple of elements should be added in order for the Flickr provider to work. If you look for the following lines in your web.config:

    <configSections>
    <!-- standard umbraco web.config configsections would appear before the flickrNet section -->
    <section name="flickrNet" type="FlickrNet.FlickrConfigurationManager,FlickrNet" />
    </configSections>
    <flickrNet cacheDisabled="true" />

    - Morten

  • Fernando Garcia 4 posts 24 karma points
    Apr 12, 2012 @ 04:49
    Fernando Garcia
    0

    Hi Morten, thanks for the reply.

    I'll check those tips as soon as I can. For now we're using the Picasa option to upload and link images in our Umbraco installation, but we're still interested (at least) in using the Facebook provider too.

    Fernando.

Please Sign in or register to post replies

Write your reply to:

Draft