I just installed the Search Plugin for my TeaCommerce. The installer went stuck in the "restarting" progress.
Since then, I keep getting this error:
Could not load all types from "ProductSearchPage.Install, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" due to LoaderExceptions, skipping:
. System.TypeLoadException on TeaCommerce.Umbraco.Install.PackageActions.AMergeXmlFile: Could not load type 'TeaCommerce.Umbraco.Install.PackageActions.AMergeXmlFile' from assembly 'TeaCommerce.Umbraco.Install, Version=3.3.6977.16238, Culture=neutral, PublicKeyToken=null'.
I tried manually downloading the Search plugin and overwrite the existing ProductSearchPage.install.dll but, without any success.
Ahh, oops, looks like we might have missed updating it when we released the latest version. Will look to get an update out as soon as I can, but in the meantime you can try grabbing the source code from github here https://github.com/TeaCommerce/Starter-Kit-for-Umbraco-Packages, and update the Tea Commerce dlls in the Lib folder and recompile it.
An alternative fix might be (though I've not tested this) to see if you can redirect the TeaCommerce.Umbraco.Install dlls version using a binding redirect in your web.config
I tried grapping the Tea Comerce dlls in the Lib folder but that generates a new error:
Could not load all types from "TeaCommerce.Umbraco.Configuration, Version=3.3.6977.16237, Culture=neutral, PublicKeyToken=null" due to LoaderExceptions, skipping:
. System.TypeLoadException on TeaCommerce.Api.Infrastructure.Ping.ICmsPingDataProvider: Could not load type 'TeaCommerce.Api.Infrastructure.Ping.ICmsPingDataProvider' from assembly 'TeaCommerce.Api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
. System.TypeLoadException on TeaCommerce.Umbraco.Configuration.Infrastructure.Logging.LoggingProvider: Method 'Log' in type 'TeaCommerce.Umbraco.Configuration.Infrastructure.Logging.LoggingProvider' from assembly 'TeaCommerce.Umbraco.Configuration, Version=3.3.6977.16237, Culture=neutral, PublicKeyToken=null' does not have an implementation.
. System.TypeLoadException on TeaCommerce.Api.InformationExtractors.IProductInformationExtractor`2: Could not load type 'TeaCommerce.Api.InformationExtractors.IProductInformationExtractor`2' from assembly 'TeaCommerce.Api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
. System.TypeLoadException on TeaCommerce.Api.InformationExtractors.IProductInformationExtractor`2: Could not load type 'TeaCommerce.Api.InformationExtractors.IProductInformationExtractor`2' from assembly 'TeaCommerce.Api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null'.
Did you copy the DLLs from the SearchPage lib folder to your websites bin folder?
If so, that won't work as that'll then break all of the main Tea Commerce (TC) because those DLLs are too old and TC will be looking for newer versions (which is ultimately what you are seeing). You need to do it the other way, copy the DLLs from your website bin folder, to the SeachPage lib folder and recompile the SearchPage package.
I managed to revert all my changes and are now back to Umbraco 7.13.2 using TeaCommerce 3.3.0 so everything is back to normal.
I think it's best I wait for a official fix because I'm not even sure where to copy my DLL files from the bin folder, I can't find the Searchpage Lib folder.
Before I blow my entire project and home up, I think it's best to wait for you backend guys to release a fix, I'm not that much in a hurry ;)
Really sorry I haven't tackled this sooner it's just I'm literally spending every possible moment I can on getting a v8 version ready. That's no excuse though. I'll try and get something updated as soon as possible.
Just to let you know, I tried to take a look at this over the weekend, but it looks like the public GitHub repo for it hasn't been kept updated with the latest source so it appears I don't have it.
I've requested to see if the previous maintainers have a copy, but I'm currently waiting on a response for this.
I did get some comments from them though and they said "That package was pretty thin from the beginning, and is very outdated at this point. So I don’t think it’s any good." so based on that, I don't think it's going to be something we look to update at this point (I'm currently working on a v8 port, so it might be we look to redo it then).
Is it just a product search feature you are after? If so, it might be best looking into Umbraco's Examine API and use the built in indexes. Thankfully, given that products are Umbraco nodes they will already be in the index so it should be a case of working out a suitable query.
Let me know what you are trying to achieve and I will see what I can do to suggest alternatives to get you there.
Could not load all types from "ProductSearchPage.Install"
Hi guys,
I just installed the Search Plugin for my TeaCommerce. The installer went stuck in the "restarting" progress.
Since then, I keep getting this error:
I tried manually downloading the Search plugin and overwrite the existing ProductSearchPage.install.dll but, without any success.
Do you have any idea what went wrong?
// Mike
Ahh, oops, looks like we might have missed updating it when we released the latest version. Will look to get an update out as soon as I can, but in the meantime you can try grabbing the source code from github here https://github.com/TeaCommerce/Starter-Kit-for-Umbraco-Packages, and update the Tea Commerce dlls in the Lib folder and recompile it.
An alternative fix might be (though I've not tested this) to see if you can redirect the TeaCommerce.Umbraco.Install dlls version using a binding redirect in your web.config
It may not work, but might be worth a try as it'll be the easiest option for now.
Will get an update out as soon as I can.
Matt
Hey Matt!
I tried grapping the Tea Comerce dlls in the Lib folder but that generates a new error:
Did you copy the DLLs from the SearchPage lib folder to your websites bin folder?
If so, that won't work as that'll then break all of the main Tea Commerce (TC) because those DLLs are too old and TC will be looking for newer versions (which is ultimately what you are seeing). You need to do it the other way, copy the DLLs from your website bin folder, to the SeachPage lib folder and recompile the SearchPage package.
Hi Matt,
I managed to revert all my changes and are now back to Umbraco 7.13.2 using TeaCommerce 3.3.0 so everything is back to normal.
I think it's best I wait for a official fix because I'm not even sure where to copy my DLL files from the bin folder, I can't find the Searchpage Lib folder.
Before I blow my entire project and home up, I think it's best to wait for you backend guys to release a fix, I'm not that much in a hurry ;)
// Mike
Hi Matt,
I know your backlog is most likely filled but just out of curiosity, do you know if you guys have any plans to update the search plugin? :)
// Mike
Hi Mike,
Really sorry I haven't tackled this sooner it's just I'm literally spending every possible moment I can on getting a v8 version ready. That's no excuse though. I'll try and get something updated as soon as possible.
Appologies for the delay.
Matt
Hi Mike,
Just to let you know, I tried to take a look at this over the weekend, but it looks like the public GitHub repo for it hasn't been kept updated with the latest source so it appears I don't have it.
I've requested to see if the previous maintainers have a copy, but I'm currently waiting on a response for this.
I did get some comments from them though and they said "That package was pretty thin from the beginning, and is very outdated at this point. So I don’t think it’s any good." so based on that, I don't think it's going to be something we look to update at this point (I'm currently working on a v8 port, so it might be we look to redo it then).
Is it just a product search feature you are after? If so, it might be best looking into Umbraco's Examine API and use the built in indexes. Thankfully, given that products are Umbraco nodes they will already be in the index so it should be a case of working out a suitable query.
Let me know what you are trying to achieve and I will see what I can do to suggest alternatives to get you there.
is working on a reply...