Copied to clipboard

Flag this post as spam?

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


  • Larre Ländin 3 posts 23 karma points
    Oct 26, 2009 @ 15:05
    Larre Ländin
    0

    Error when using multiple Media Picker control

    Hello,

    This is my first post to this forum and as you understand I am quite new to Umbraco.

    I have a problem with my local development installation of Umbraco. On a "Document Type" I have added two properties containing a Media Picker, one called "Top Image" and another called "Right Image".

    When I try to edit a page based on the Document Type I get the script-error below for both of the controls. If I remove one of the controls everything is working fine.

    Any ideas?

     

    BR Larre

    My setup:
    Windows 7
    IIS7
    .net 3.5
    Umbraco 4.0.2.1
    VistaDB
    IE8 and Opera

    The error:

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)

    Timestamp: Mon, 26 Oct 2009 13:52:12 UTC

    Message: Expected '('

    Line: 425

    Char: 28

    Code: 0

    URI: http://umbraco/umbraco/editContent.aspx?id=1049

    Message: Expected ';'

    Line: 1

    Char: 18

    Code: 0

    URI: http://umbraco/umbraco/editContent.aspx?id=1049

    Message: Object expected

    Line: 1

    Char: 1

    Code: 0

    URI: http://umbraco/umbraco/editContent.aspx?id=1049

  • Larre Ländin 3 posts 23 karma points
    Oct 30, 2009 @ 23:22
    Larre Ländin
    0

    Ok, tried to reinstall, this time with MS SQL 2005 and the Cassini web server. Same result.

     

    Please, is there anyone that has any ideas, I am totally lost here.

     

    BR, Larre

  • Larre Ländin 3 posts 23 karma points
    Nov 15, 2009 @ 07:57
    Larre Ländin
    0

    Found a solution:

    When I changed the names of the properties to names without spaces everything worked fine. Strange however.

    BR Larre

  • Petr Snobelt 923 posts 1535 karma points
    Nov 15, 2009 @ 12:53
    Petr Snobelt
    0

    Property alias with spaces is problematic, there should be validator...

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies