Problem: activation elasticsearch
Moderator: Thorsten
Problem: activation elasticsearch
Hello,
my instance of your FAQ is working very well so far.
When im going to activate the elasticsearch-plugin in the admin configuration menu, the "System Information" and the new "Elasticsearch configuration" menu just showing a blank page (uploaded Attachement).
I´ve successful started an elastic-search-service with starting the elasticsearch.bat, with the correct IP like in the config file.
What did i wrong ?
btw. : Is it true that none of your Demo FAQ´s got an active elasticsearchplugin?
Thanks
my instance of your FAQ is working very well so far.
When im going to activate the elasticsearch-plugin in the admin configuration menu, the "System Information" and the new "Elasticsearch configuration" menu just showing a blank page (uploaded Attachement).
I´ve successful started an elastic-search-service with starting the elasticsearch.bat, with the correct IP like in the config file.
What did i wrong ?
btw. : Is it true that none of your Demo FAQ´s got an active elasticsearchplugin?
Thanks
You do not have the required permissions to view the files attached to this post.
Re: Problem: activation elasticsearch
Hi,
we don't have any Elasticsearch instance running in our demos.
Please enable the debug mode to see the errors regarding Elasticsearch.
bye
Thorsten
we don't have any Elasticsearch instance running in our demos.
Please enable the debug mode to see the errors regarding Elasticsearch.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Problem: activation elasticsearch
Hi, 2.9.6, on the configuration Elasticsearch page:
In System Information:
phpMyFAQ notice [8]: Undefined index: core.elasticsearch in C:\xampp\htdocs\faq\inc\PMF\Configuration.php on line 321
phpMyFAQ notice [8]: Undefined index: core.elasticsearch in C:\xampp\htdocs\faq\inc\PMF\Configuration.php on line 321
phpMyFAQ notice [8]: Undefined index: core.elasticsearch in C:\xampp\htdocs\faq\inc\PMF\Configuration.php on line 321
Fatal error: Call to a member function indices() on null in C:\xampp\htdocs\faq\admin\elasticsearch.php on line 37
In System Information:
phpMyFAQ notice [8]: Undefined index: core.elasticsearch in C:\xampp\htdocs\faq\inc\PMF\Configuration.php on line 321
Fatal error: Call to a member function cat() on null in C:\xampp\htdocs\faq\admin\system.php on line 38
Re: Problem: activation elasticsearch
Hi,
did you create an index in the admin backend?
bye
Thorsten
did you create an index in the admin backend?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Problem: activation elasticsearch
hi,
no, should i ? and where do i can manipulate indices anyway
no, should i ? and where do i can manipulate indices anyway
Re: Problem: activation elasticsearch
Hi,
yes, you have to! Otherwise there's no index.
You can manipulate the index after creation.
bye
Thorsten
yes, you have to! Otherwise there's no index.
You can manipulate the index after creation.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Problem: activation elasticsearch
thanks for the quick answer.
in the database ? cause theres no entry in the backend or im just blind?
in the database ? cause theres no entry in the backend or im just blind?
Re: Problem: activation elasticsearch
Hi,
you can enable the support in the admin search configuration. After adding the elasticsearch.php configuration file in /config you should see the Elastic search configuration panel in the admin section. The config/elasticsearch.php file could look like this:
bye
Thorsten
you can enable the support in the admin search configuration. After adding the elasticsearch.php configuration file in /config you should see the Elastic search configuration panel in the admin section. The config/elasticsearch.php file could look like this:
Code: Select all
<?php
$PMF_ES['hosts'] = ['127.0.0.1:9200'];
$PMF_ES['index'] = 'phpmyfaq';
$PMF_ES['type'] = 'faqs';
Thorsten
You do not have the required permissions to view the files attached to this post.
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Problem: activation elasticsearch
ah nvm, of course i activated the elasticsearch support, otherwise the menu in my uploaded screenshot would be invisible and i couldnt even reach the elasticsearch configuration page that leads to a blank page. :/
phpMyFAQ notice [8]: Undefined index: core.elasticsearch in C:\xampp\htdocs\faq\inc\PMF\Configuration.php on line 321
phpMyFAQ notice [8]: Undefined index: core.elasticsearch in C:\xampp\htdocs\faq\inc\PMF\Configuration.php on line 321
phpMyFAQ notice [8]: Undefined index: core.elasticsearch in C:\xampp\htdocs\faq\inc\PMF\Configuration.php on line 321
Fatal error: Call to a member function indices() on null in C:\xampp\htdocs\faq\admin\elasticsearch.php on line 37
Re: Problem: activation elasticsearch
Hi,
can you please try to add an index manually in Elasticsearch?
bye
Thorsten
can you please try to add an index manually in Elasticsearch?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Problem: activation elasticsearch
Hi,
re-checked the source code. Did you have the config file config/elasticsearch.php?
bye
Thorsten
re-checked the source code. Did you have the config file config/elasticsearch.php?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Problem: activation elasticsearch
Hi,
nope, just the "original"
nope, just the "original"
You do not have the required permissions to view the files attached to this post.
Re: Problem: activation elasticsearch
Hi,
you need that file
bye
Thorsten
you need that file
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Problem: activation elasticsearch
so i just rename the file and remove the ".original"?Thorsten wrote:Hi,
you need that file
bye
Thorsten
Im feeling dumb now, but that wasnt really obvious for me
Re: Problem: activation elasticsearch
Hi,
no worries. Just add it like I posted above.
bye
Thorsten
no worries. Just add it like I posted above.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist