Thank you so much for sharing it .........
$r = $_obj->$_method($parent->manifest->version, $this);
if(!$this->{$_0x4}) {
$this->{$_0x3} = null;
}
return $r;
if($this->minimum_joomla_release) {
return false; // ← Installation fails here!
}
public function isn($uvn, $isn) {
return true; // ← This line bypasses everything
//or set all returns false to true of the isn method
}
I installed it and it doesn't work on the sites I tested it on.Thanks for sharing.. I tried to install it several times but it always failed.
analyzing the code the problem seems to be in the isn() method which contains license/version validation logic.
There are obfuscated variables $_0x3 and $_0x4 representing minimum_joomla_release and maximum_joomla_release.
In the preflight() method, there is this logic:
PHP:$r = $_obj->$_method($parent->manifest->version, $this); if(!$this->{$_0x4}) { $this->{$_0x3} = null; } return $r;
And then in the method install():
PHP:if($this->minimum_joomla_release) { return false; // ← Installation fails here! }
The solution is to change the isn() method inside installscript.php
I hope I was helpful, like it!PHP:public function isn($uvn, $isn) { return true; // ← This line bypasses everything //or set all returns false to true of the isn method }
I load the version for joomla 5 fixed and tested on j. 5.3.3
I nulled it differently. Try this version for Joomla 5. It works for me and for those who installed it, it also works...I installed it and it doesn't work on the sites I tested it on.
I don't know what you find "weird", but if you're afraid to install it on your production project, you can always check the component on a test site.This code looks weird. Is it safe to install?
Спасибо, что поделились. Я пытался установить его несколько раз, но это всегда заканчивалось неудачей.
При анализе кода проблема, по-видимому, заключается в методе isn(), который содержит логику проверки лицензии/версии.
Имеются запутанные переменные $_0x3 и $_0x4, представляющие minimum_joomla_release и maximum_joomla_release.
В методе preflight() есть такая логика:
PHP:$r = $_obj->$_method($parent->manifest->version, $this); если(!$this->{$_0x4}) { $this->{$_0x3} = null; } вернуть $r;
И затем в методе install():
PHP:if($this->minimum_joomla_release) { return false; // ← Установка здесь не удалась! }[/КОД] Решение — изменить метод isn() внутри installscript.php [CODE=php]публичная функция isn($uvn, $isn) { return true; // ← Эта строка обходит все //или установите все возвращаемые false значения true метода isn }[/КОД] Надеюсь, я был полезен, ставьте лайк! Загружаю версию для Joomla 5 исправленную и протестированную на J. 5.3.3 [/QUOTE] Thanks Thanks Thanks Thanks Thanks Thanks
My fix in the archive has nothing to do with the "Search engines/AI metainfo working" feature.Great, thanks but your version if you click on "Search engines/AI metainfo working" return an error -Parsererror- SyntaxError: Unexpected token '<', ". Can you fix it?