Copied to clipboard

Flag this post as spam?

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


  • Matt Taylor 873 posts 2086 karma points
    Feb 01, 2015 @ 16:51
    Matt Taylor
    0

    Tea Commerce 3 and Umbraco 7.2.1 Gift Cards error

    I've just installed the TC 3 package in my Umbraco 7.2.1 installation and after browsing the config I get the following error when clicking on 'Gift Cards'.

    Server Error in '/' Application.

    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS0104: 'Constants' is an ambiguous reference between 'ClientDependency.Core.Constants' and 'TeaCommerce.Umbraco.Application.Constants'

    Source Error:

    Line 58:         <ItemTemplate>
    Line 59:           <tr>
    Line 60:             <td><asp:HyperLink runat="server" Text='<%# Eval( "Code" ) %>' NavigateUrl='<%# WebUtils.GetPageUrl( Constants.Pages.EditGiftCard, false ) + "?storeId=" + StoreId + "&id=" + Eval("Id") %>' /></td>
    Line 61:             <td><%# ((decimal)Eval( "OriginalAmount" )).ToString("0.####") %></td>
    Line 62:             <td><%# ((decimal)Eval( "UsedAmount" )).ToString("0.####") %></td>


    Source File: d:\Websites\MySite\Umbraco.Site\App_Plugins\TeaCommerce\Views\GiftCards\GiftCardOverview.aspx    Line: 60

  • Anders Burla 2560 posts 8256 karma points
    Feb 02, 2015 @ 13:55
    Anders Burla
    0

    Hi Matt

    We have had this error reported and will fix it ASAP so Tea Commerce works with Umbraco 7.2

    Kind regards
    Anders

  • Matt Taylor 873 posts 2086 karma points
    Feb 02, 2015 @ 15:01
    Matt Taylor
    0

    Cheers. Matt

  • Matt Taylor 873 posts 2086 karma points
    Feb 04, 2015 @ 21:27
    Matt Taylor
    0

    I almost raised this again as it happens when you try to view orders too.

    For now I've just qualified Constants with TeaCommerce.Umbraco.Application.Constants and it works.

    Regards, Matt

  • Anders Burla 2560 posts 8256 karma points
    Feb 05, 2015 @ 10:16
Please Sign in or register to post replies

Write your reply to:

Draft