![]() |
|
Related Items in 1.6 - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Related Items in 1.6 (/thread-13905.html) |
Related Items in 1.6 - Ralf - 14-01-2024 Hi, in zenphoto 1.6. ? The above code does not work anymore in 1.6. Would be great if someone can help. Ralf Related Items in 1.6 - acrylian - 14-01-2024 Actually nothing changed, the above code should work although the last "news" is actually wrong as that is a boolean parameter: Related Items in 1.6 - acrylian - 14-01-2024 Did you clear the search cache? Related Items in 1.6 - Ralf - 14-01-2024 Hi , It does not matter if i change the last 'news' to 'false' Any other ideas? Related Items in 1.6 - fretzl - 15-01-2024 Something was indeed wrong. This is now fixed. Please try the Support build. Related Items in 1.6 - acrylian - 15-01-2024 We can sadly confirm meanwhile that this is unwantedly broken. Somehow that slipped through although I was sure I tested it… Related Items in 1.6 - Ralf - 15-01-2024 No problem at all :-) Related Items in 1.6 - Ralf - 20-01-2024 Hi, Changing the language in the settings does not change the text. It stays english. Related Items in 1.6 - acrylian - 20-01-2024 Normally you should not use just files from a support build but the support build in total because of dependencies in numerous files. Regarding related items and the early stage of 1.6.2a you can just use the plugin files Regarding the language. Please use a separate topic. "1.6" is pretty generic - it's even about 1.6.1 ;-) - and this is a general topic. Please see: https://www.zenphoto.org/news/problems-with-languages/ Also this may still apply: https://www.zenphoto.org/news/translations-gettext-not-working-on-some-servers/ If using MAMP 6.8 locally gettext does not work using PHP 8.2 for unknown reasons on the MAMP vendor knows. It otherwise works including our own server. Related Items in 1.6 - Ralf - 20-01-2024 Thanks for your answer - what makes me wondering: Anyway: I only need the related items plugin :-) Related Items in 1.6 - acrylian - 20-01-2024 I don't think there has been any change between 1.6 and 1.6.1 regarding languages. Note that if you user account has a language set it may override the general setting. But that's not new either. Related Items in 1.6 - Ralf - 20-01-2024 OK, thanks. Related Items in 1.6 - Ralf - 21-01-2024 Hi, with related items from the support built there seems to be something wrong - sometimes the related items are not shown and the error protocol in the backend shows: trigger_error called from dbMySQLi->query (class-dbmysqli.php [83]) from SearchEngine->cacheSearch (class-searchengine.php [1968]) from SearchEngine->getSearchArticles (class-searchengine.php [1918]) from SearchEngine->getArticles (class-searchengine.php [1850]) from getRelatedItems (related_items.php [63]) from printRelatedItems (related_items.php [156]) from include (news.php [55]) from include (index.php [128]) from index.php [79] As far as i can see the error is only produced with a logged in user. For non-logged in users everything seems fine. Related Items in 1.6 - acrylian - 21-01-2024 The change has nothing to do with the search cache actually. Please clear and/or disable the search cache. Related Items in 1.6 - Ralf - 21-01-2024 Ok, Related Items in 1.6 - acrylian - 21-01-2024 Great. Let us know if it happens again. Related Items in 1.6 - Ralf - 21-01-2024 Will do - what maked me wonder is that this happend only with an article which has number in the title and title link like "My Article 2024" |