I am new to solr 4.1.0 and was trying to set it up on my MacOSX machine using Tomcat7 and the instructions on the following page:
http://contextllc.com/node/76
I was able to do everything properly, and it worked! I then followed instructions on the haystack documentation to setup haystack and output a schema.xml file. I then created a new core using SolrAdmin and used that schema and keep getting:
org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Plugin init failure for [schema.xml] fieldType "text": Plugin init failure for [schema.xml] analyzer/filter: Error loading class 'solr.EnglishPorterFilterFactory'
Is there something i'm missing in the above? I have included all of the solr jar files and cannot find anything else that would be required?
Not sure why..but the issue went away after I switched to solr 3.6.2... Something definitely changed with the versions.
Related
I am trying to upgrade apache-superset from 0.38.0 to 1.0.0. But even though the UI version says it is 1.0.0, I don't see most of the new UI components like filters, advanced search options, and thumbnail views on Dashboard, Charts, and Query views.
I can see the updated UI on my local which I build from source. I even tried creating a wheel file from my local source installed it on the server but sees the same old UI.
Can someone please help me understand the issue?
Some of the new features are behind feature flags. In your config, add:
FEATURE_FLAGS = {
"THUMBNAILS": True,
"DASHBOARD_NATIVE_FILTERS": True,
"OMNIBAR": True
}
Other feature flag options can be found in config.py
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?
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.
I asked a recent question about how to load your own parameters in Symfony2, which was answered here How do you load config settings from the database in Symfony2?, but I now need to know how to actually access the database in the import file.
I have tried using:
$container->get('doctrine.orm.entity_manager');
Unfortunately, I then get a "The service definition doctrine.orm.entity_manager does not exist." error.
Can anyone help?
Your code should work.
$this->container->get('doctrine.orm.entity_manager');
But only if Doctrine is enabled.
Have you the Doctrine Bundle in your kernel ? Have you uncommented the doctrine settings in config.yml ?
After asking and looking around for a while the only solution I found to accessing doctrine while Symfony is still configuring its services is using this bundle. Take a look at the readme as it describes a solution to the scenario we are both experiencing.
I am trying to migrate from CFMX 6.1 to Railo 3.1.
I have custom tags in this directory for CFMX 6.1
C:\cfusionmx\customtags\myapp
I copied the directory to
{railo-web}/customtags/
and added this mapping through the Railo administrator and also enabled the "Search subdirectories" setting.
I get this error the moment I try to access a page that calls anything from this directory:
invalid component definition, can't find mycfc
My Railo installation is deployed through GlassFish v3.
I see the error the moment this script is loaded:
<cfscript>
mycfcinstance = createobject("component","mycfc");
</cfscript>
In the legacy app that I try to migrate, a lot of CFCs have been stored in CFMX 6.1's customtag path.
First of all, Railo simply does not support search for CFC's inside the Custom Tag directory. Seems that it will, one day.
Second, it looks like small misunderstanding the meaning of the Railo CFC-based custom tags, which you can manage using that "Archives & Resources > Custom Tags" page in Admin. You can find more about it in Railo's blog, for example in these posts: part one and two.
As for the Railo workaround for this legacy app, I couldn't find the way to imitate desired behaviour.
It can be inappropriate, but maybe you will end with batch-replacing
createobject("component","components.
with
createobject("component","
and creating mapping in the Application.cfc or Admin.
So, if you want to put cfc somewhere in the application root.
this.mappings["/components"] = getDirectoryFromPath(getCurrentTemplatePath()) & "components";
Yes, it's not really matches your problem, just an example.