Copied to clipboard

Flag this post as spam?

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


  • Lewis Smith 195 posts 581 karma points c-trib
    Jan 04, 2018 @ 10:05
    Lewis Smith
    0

    Umbraco Server Error

    Hi All,

    I have just run a rebuild on my Umbraco installation (which has the latest version of Tea Commerce installed) and have been presented with this error.

    enter image description here

    I'm about 90% through the build so having to start again at this stage is not something I want to be doing!

    Thanks, Lewis

  • Lewis Smith 195 posts 581 karma points c-trib
    Jan 04, 2018 @ 10:13
    Lewis Smith
    0

    I have tried going through the bin directory to see if there are anything dlls missing but nothing stands out.

    I have the following tea commerce dlls.

    TeaCommerce.Api
    TeaCommerce.Api.Persistence
    TeaCommerce.Api.Web
    TeaCommerce.Api.PaymentProviders
    TeaCommerce.Api.PaymentProviders.XmlSerializers
    TeaCommerce.Api.Umbraco.Application
    TeaCommerce.Api.Umbraco.Configuration
    TeaCommerce.Api.Umbraco.Install
    TeaCommerce.Api.Umbraco.Web
    

    Thanks, Lewis

  • Brian Lyk Larsen 19 posts 259 karma points
    Jan 08, 2018 @ 09:11
    Brian Lyk Larsen
    100

    Hi Lewis,

    It looks like the Autofac.dll is missing from your bin directory.

    You can download it from here if needed: https://github.com/TeaCommerce/Tea-Commerce-for-Umbraco/tree/master/Source/Lib/Tea%20Commerce

  • Lewis Smith 195 posts 581 karma points c-trib
    Jan 09, 2018 @ 13:20
    Lewis Smith
    0

    Thanks! Worked a treat

  • Lewis Smith 195 posts 581 karma points c-trib
    Jan 10, 2018 @ 13:12
    Lewis Smith
    0

    Hi Brian,

    Discovered another error, not sure if its related but it wasnt happening before this happened and now it is!

    When i add a product to my basket it doesnt add now!

    (My application has the top script that needs to be in the head)

    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery.form/3.51/jquery.form.min.js"></script>
    <script type="text/javascript" src="/App_Plugins/TeaCommerce/Assets/Scripts/tea-commerce.min.js"></script>
    <script type="text/javascript">
        _storeId = @Model.Content.GetPropertyValue("store", true);
    </script>
    

    Now when i click the add to basket, it redirects me to http://localhost:61884/base/TC/FormPost.aspx instead of adding the item to the basket

    I'm getting the following console error `POST http://localhost:61884/base/TC/FormPost.aspx 500 (Internal Server Error)

    Any ideas?

    I have run through the default setup to make sure nothing has changed and it all seems to be set up as expected?

    Thanks. Lewis

  • Lewis Smith 195 posts 581 karma points c-trib
    Jan 10, 2018 @ 13:38
    Lewis Smith
    0

    I uninstalled tea commerce and re installed in (risky i know) and this fixed this. if anyone has the answer to why this stopped working id love to know!

Please Sign in or register to post replies

Write your reply to:

Draft