Re: [Tiki-devel] Tiki Wiki and ElasticSearch version
Jonny Bradley via TikiWiki-devel <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Bernard One thing is that notice in ArticleSource.php should be fixed (fix coming). Another thing is which versions of php are you using? Are they the same? Also, what are the error reporting levels set to on each? You can do `php --info | grep error_reporting` to get that (but it's a binary number, here's a calculator that will decode it for you https://maximivanov.github.io/php-error-reporting-calculator/ ) Lastly, i usually use the --log option when rebuilding which sends all the errors and less into the log file. HTH jonny > On 8 Dec 2022, at 10:32, Bernard Sfez via TikiWiki-devel <[email protected]> wrote: > > Hello Devs, > > Is there some undocumented requirements about Tiki24 and ElsaticSearch ? > > I see TONS of errors while indexing a Tiki24.x site running elasticSearch on a remote server: > NAME="CentOS Linux”, VERSION="7 (Core)” > > php console.php i:r -p > [2022-12-08 11:08] Started rebuilding index... > > Unified search > -------------- > > Engine: Elastic, version 6.8 > 34 secs/5 mins [===>------------------------] -- Processing article documentsTrying to access array offset on value of type bool on line 53 of /var/www/vhosts/xxxx/httpdocs/lib/core/Search/ContentSource/ArticleSource.php > Trying to access array offset on value of type bool on line 56 of /var/www/vhosts/xxxx/httpdocs/lib/core/Search/ContentSource/ArticleSource.php > Trying to access array offset on value of type bool on line 53 of /var/www/vhosts/xxxx/httpdocs/lib/core/Search/ContentSource/ArticleSource.php > > This is about the site title and site url in RSS. > > $rssModule = TikiLib::lib('rss')->get_rss_module($rssId); > if ($rssModule['sitetitle']) { > $sitetitle = $rssModule['sitetitle']; > } > if ($rssModule['siteurl']) { > $siteurl = $rssModule['siteurl']; > } > > When I do the same operation with the same files and database on my local OSX running es 7.17 I don’t see those errors... > > I have checked for possible version requirement but nothing I see to justify these errors: > https://doc.tiki.org/Requirements > https://doc.tiki.org/Elasticsearch > > Thanks for sharing lights, > Bernard > _______________________________________________ > TikiWiki-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel _______________________________________________ TikiWiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel