Cannot find configuration node with WFFM - sitecore

I'm trying to upgrade our Web Forms For Marketers to the latest available on SDN, however when I come to install I get the follow exception throw:
Could not find configuration node: databases/database[#id='production']
However, this is correct so far as the only databases configured are Core, Master and Web.
I tried adding a production node (pointing to Master) to Databases.config/ConnectionStrings.config however it still throws this error.
Has anyone encountered this and has a solution?

The error is telling you it cannot find a <database> node in your web.config for "production" so you'll need to have that. Something you have must be referencing that.

The problem lies with a bug in Sitecore not correctly cleaning and rebuilding the Links database.
Sitecore Support provided this solution:
Back up.
Truncate the links table in the Core database.
Rebuild Link Database from the Sitecore Control Panel.
This seemed to solve the issue in the short term. I'm sure it'll be addressed in a Sitecore update in the future.

Related

OpenCart 3.0.3.8 upgrade to 4.0.1.1

I recently upgraded an old store from 2.0.1.1 to 3.0.3.8 but to comply with PHP8 I need to upgrade again from 3.0.3.8 to 4.x. My question stems because I was able to successfully install the new 4.0.1.1 storefront, but I am no longer able to access my admin panel. Attempting to login to my admin will always give me the error that the account does not exist.
I have double checked the config.php files in both my root & admin folders and the database information stored there is correct. Also, I checked my actual database to make sure the user accounts weren't deleted in the upgrade and they were not.
I don't see a lot of documentation about the upgrade process to a 4.x OpenCart storefront so I am coming here in hopes someone has been brave enough to attempt this upgrade that may be able to point me in the right direction. Some tips and tricks would be greatly welcomes because I imagine this is just the first of many moles I am going to need to whack.
Let me know if any code would be needed/handy, but keep in mind this install is basically all stock barebones at this point because I haven't even tried to activate my custom theme yet (mostly because I can't access the admin to activate it).
Solved this by upgrading to the OpenCart 3.x.x_Maintenace branch, instead of OpenCart 4.x.x version, as it is also PHP8 compliant and much more stable.
For anyone with similar issues, they can refer this link.

Installed version not tested with active version of WooCommerce 4.4.1

I continue to get this error message on my wordpress front page:
Warning: Cookie paths cannot contain any of the following ',; \t\r\n\013\014' in /var/www/aveugle-shop.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 1035
I can't figure out why this message is showing?
My hosting said that it was because they updated their php database (or something), and all i needed to do, was to run back their old one, by inserting a snippet into .htaccess file.
This worked for a day or two, and now it's showing again.
Do anyone know what the actual issue is, and how to fix it?
My woocommerce status also says this on a bunch of plugins, and i don't know if that's the fault:
Installed version not tested with active version of WooCommerce 4.4.0
I dont know if this is the correct solution but I got the same error just now.
It happened to me when I upgraded PHP from 7.2=>7.4.
It seems to originate somewhere from the database because I solved it by just importing the database again from my testserver, same database, same codebase but all of a sudden, it started to work after reimporting db... A cache issue maybe?

Sitecore null value exception

I had a Sitecore installation running until I made a deploy with some code changes. After that it completely broke.
Prior to this I create a new template item with a field of type "multilist with search". I didn't generate synthesis code before deploying.
Following is the exception from the IIS.
This exception is thrown on all pages. This also means that I can't access the content editor. I can't use Sitecore rocks either.
does anybody have any idea on what to do?
For right now, rename /App_Config/Include/.../Synthesis.config to Synthesis.config.disabled. That should allow you to bring the site back to a state where you can communicate with it.
Be aware that the Multilist with Search field relies on Sitecore ContentSearch - and it appears to be incorrectly configured in your solution.

Sitecore > Default Storefront(pbCS) installation > Product detail page returns a Null Refference Exception

I was trying to install the default Storefront site(powered by Commerce Server). It looks good at the moment, I managed to rebuild all indexes and publish the content. However, I can't reach product detail page - I receive an exception.
Example here.
I had faced with the similar issue when I tried to click on any catalog category.
The log-file contains the same error message without any details. Could you please suggest something to fix this issue?
P.S. After the finishing the installation I didn't have any products on the site. I fixed that issue:
selected the default Adventure Works catalog in the Sitecore tree(using content manager).
Filled in field CategoryDatasource(with the path to categories)
I think it might cause the error which I described above.
Thank you in advance for the help.
You have to set the catalog for the site via a home node property.

Sitecore: InvalidOperationException: Post condition failed

I'm relatively new to Sitecore.
In my Pre-Prod server I'm getting below error whenever I click on Content Editor. Page Editor seems to work fine. Please help.
InvalidOperationException: Post condition failed
Log Details are below:
Exception: System.InvalidOperationException Message: Post condition
failed Source: Sitecore.Kernel at
Sitecore.Diagnostics.Assert.ResultNotNull[T](T result, String message)
at
Sitecore.Web.UI.HtmlControls.Data.DataViewFactory.GetDataViewByName(String
name) at
Sitecore.Web.UI.HtmlControls.Data.DataViewFactory.GetDataView(String
name, String parameters) at
Sitecore.Web.UI.HtmlControls.DataContext.GetItem(String id) at
Sitecore.Web.UI.HtmlControls.DataContext.GetState(Item& root, Item&
folder, Item[]& selected
This sounds like something is not right with the config files in the site.
It's very hard to tell exactly what is the issue with that error message. And finding the issue will more than likely be a process of elimination.
I would suggest the the best course of action is to compare the configuration of the site with a known working version or a basic Sitecore install with no customisations. You can use the ShowConfig tool in Sitecore to show you all the configuration settings after the includes (as the config does not just consist of Web.config). More info on this here: -https://sitecorejohn.wordpress.com/2010/03/11/tool-to-examine-sitecore-web-config-after-accounting-for-include-files/
It's worth checking the App_config/include directory in Sitecore to see if you have any modules in place (E.g. Sitecore.MediaFramework.config) that are not in place where your site is working. You can disable these config settings by renaming the file to be .example.
I know it is an old question but in case it helps someone.
Very likely you are trying to access Sitecore Content Editor from your CD node.
Access Sitecore from CM only.