Page 1 of 1
wrong requirements?
Posted: Mon Apr 27, 2026 10:01 am
by bitseeker
Hi there,
for ver 4.1.1 the requirements on
https://www.phpmyfaq.de/requirements/ say:
PHP Requirements
PHP 8.2+ (8.3+ recommended)
When upgrading from 3.2.5 to 4.1.1, there is following error:
"Fatal error: Uncaught RuntimeException: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.3.0". You are running 8.2.15"
So php 8.2.15 is within allowed php-version. Why this error? Or is it a wrong requirement?
thx Olli
Re: wrong requirements?
Posted: Tue Apr 28, 2026 5:30 pm
by Thorsten
Hi Olli,
oops, that's wrong, sorry, I'll fix that!
Thanks for the hint, you need PHP 8.3+ for phpMyFAQ 4.1
bye
Thorsten
Re: wrong requirements?
Posted: Thu Apr 30, 2026 8:24 am
by bitseeker
Hi Thorsten,
dann hier auch noch fixen ;o)
https://www.phpmyfaq.de/download/
Olli
Re: wrong requirements?
Posted: Thu Apr 30, 2026 2:03 pm
by scape
https://faq.die-formel.de/content/55/29 ... ntend.html
Code: Select all
phpMyFAQ Fatal error
Uncaught exception: 'ErrorException'
Message: 'Dom\HTMLDocument::createFromString(): tokenizer error unexpected-character-in-attribute-name in Entity, line: 20, column: 875'
Stack trace:
#0 [internal function]: phpMyFAQ\Core\Error::errorHandler(2, 'Dom\\HTMLDocumen...', 'NativeParser.ph...', 28)
#1 /www/htdocs/w0109a4a/faq/src/libs/symfony/html-sanitizer/Parser/NativeParser.php(28): Dom\HTMLDocument::createFromString('...')
#2 /www/htdocs/w0109a4a/faq/src/libs/symfony/html-sanitizer/HtmlSanitizer.php(74): Symfony\Component\HtmlSanitizer\Parser\NativeParser->parse('
Elektroden<...', 'body')
#3 /www/htdocs/w0109a4a/faq/src/libs/symfony/html-sanitizer/HtmlSanitizer.php(42): Symfony\Component\HtmlSanitizer\HtmlSanitizer->sanitizeFor('body', '
Elektroden<...')
#4 /www/htdocs/w0109a4a/faq/src/phpMyFAQ/Helper/FaqHelper.php(175): Symfony\Component\HtmlSanitizer\HtmlSanitizer->sanitize('
Elektroden<...')
#5 /www/htdocs/w0109a4a/faq/faq.php(143): phpMyFAQ\Helper\FaqHelper->cleanUpContent('
Elektroden<...')
#6 /www/htdocs/w0109a4a/faq/index.php(655): require('/www/htdocs/w01...')
#7 {main}
Thrown in 'NativeParser.php' on line 28
Ideen? Super-Admin Status hast Du.
Re: wrong requirements?
Posted: Thu Apr 30, 2026 2:26 pm
by Thorsten
Hi,
das ist sehr wahrscheinlich kaputtes/ungültiges HTML in einem FAQ-Artikel, das beim Sanitizing crasht.
bye
Thorsten
Re: wrong requirements?
Posted: Thu Apr 30, 2026 3:07 pm
by scape
Ich schau mir den Code mal in Ruhe an. Aber müsste das im Adminbereich geöffnet dann nicht auch crashen oder wird der sehr anders interpretiert?
Re: wrong requirements?
Posted: Thu Apr 30, 2026 3:09 pm
by Thorsten
Hi,
der wird anders interpretiert.
bye
Thorsten