Hello all,
When trying to use the search command from the website I get the following error : HTTP ERROR 500
I dont know if this is linked to my elasticsearch problems (I'v 0 documents) or anything else.
I tried to display the developper tools but I just get the same message (cf linked pic) :
I tried to activate debug mode but doesnt know howto read it ..
Any idea is welcome
Thanks
--- Addons -- When Debg Mode is activated, I get the following error message :
phpMyFAQ user deprecated warning [16384]: Specifying types in urls has been deprecated in /var/www/html/phpmyfaq/src/libs/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Search.php on line 27
Fatal error: Uncaught TypeError: Argument 1 passed to phpMyFAQ\Search\SearchResultSet::reviewResultSet() must be of the type array, bool given, called in /var/www/html/phpmyfaq/search.php on line 155 and defined in /var/www/html/phpmyfaq/src/phpMyFAQ/Search/SearchResultSet.php:101 Stack trace: #0 /var/www/html/phpmyfaq/search.php(155): phpMyFAQ\Search\SearchResultSet->reviewResultSet(false) #1 /var/www/html/phpmyfaq/index.php(709): require('/var/www/html/p...') #2 {main} thrown in /var/www/html/phpmyfaq/src/phpMyFAQ/Search/SearchResultSet.php on line 101
[Solved] Error 500 using search tool
Moderator: Thorsten
[Solved] Error 500 using search tool
You do not have the required permissions to view the files attached to this post.
Last edited by forstera on Sun Sep 20, 2020 9:49 am, edited 1 time in total.
Re: Error 500 using search tool
Hi,
I'll check it, but looks like, if you have no documents in Elasticsearch, something goes wrong.
bye
Thorsten
I'll check it, but looks like, if you have no documents in Elasticsearch, something goes wrong.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Error 500 using search tool
Hello Thorsten,
Yes your'e right, I've no document in Elastic search but it's running and the index has been created ...
Do you know what else could I check ?
Thanks
Yes your'e right, I've no document in Elastic search but it's running and the index has been created ...
Do you know what else could I check ?
Thanks
[solved] Re: Error 500 using search tool
hello all,
finally I made it working
Here's what I did :
- manually editet elasticsearch.php and
- under 'index' I added a name like 'phpmyfaq'
- under 'type' I put the value 'text'
Restarted my apache web server and bingo
Thanks to all for your help
finally I made it working
Here's what I did :
- manually editet elasticsearch.php and
- under 'index' I added a name like 'phpmyfaq'
- under 'type' I put the value 'text'
Restarted my apache web server and bingo
Thanks to all for your help
Re: Error 500 using search tool
Hi,
yay, this is awesome!
bye
Thorsten
yay, this is awesome!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist