Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Как запустить модуль на DLE 15 ? #107

Open
aazzz opened this issue Oct 20, 2021 · 2 comments
Open

Как запустить модуль на DLE 15 ? #107

aazzz opened this issue Oct 20, 2021 · 2 comments
Assignees
Labels

Comments

@aazzz
Copy link

aazzz commented Oct 20, 2021

Описание ошибки:

Fatal error: Uncaught Error: Class 'HTMLPurifier_Config' not found in /var/www/poker/data/www/pokerblog.ru/engine/classes/parse.class.php:61 Stack trace: #0 /var/www/poker/data/www/pokerblog.ru/engine/modules/uniform/uniform.php(96): ParseFilter->__construct() #1 /var/www/poker/data/www/pokerblog.ru/engine/ajax/uniform.php(99): include('/var/www/poker/...') #2 /var/www/poker/data/www/pokerblog.ru/engine/ajax/controller.php(196): include_once('/var/www/poker/...') #3 {main} thrown in /var/www/poker/data/www/pokerblog.ru/engine/classes/parse.class.php on line 61
При каких условиях воспроизводится ошибка:
после клика на кнопку отправить
Страница, на которой наблюдается ошибка:
https://pokerblog.ru/about.html

Вносились ли модификации в движок: нет

Версия DLE: 15

Версия PHP: 7.4

@m3tam0rph
Copy link

в modules/uniform.php
перед
require_once (DLEPlugins::Check(ENGINE_DIR . '/classes/parse.class.php'));
вставить
include_once (DLEPlugins::Check(ENGINE_DIR . '/classes/htmlpurifier/HTMLPurifier.standalone.php'));

@aazzz
Copy link
Author

aazzz commented Jan 17, 2022

Спасибо, заработал :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants