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
wrong requirements?
Moderator: Thorsten
Re: wrong requirements?
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
oops, that's wrong, sorry, I'll fix that!
Thanks for the hint, you need PHP 8.3+ for phpMyFAQ 4.1
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: wrong requirements?
https://faq.die-formel.de/content/55/29 ... ntend.html
Ideen? Super-Admin Status hast Du.
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 28Re: wrong requirements?
Hi,
das ist sehr wahrscheinlich kaputtes/ungültiges HTML in einem FAQ-Artikel, das beim Sanitizing crasht.
bye
Thorsten
das ist sehr wahrscheinlich kaputtes/ungültiges HTML in einem FAQ-Artikel, das beim Sanitizing crasht.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: wrong requirements?
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?
Hi,
der wird anders interpretiert.
bye
Thorsten
der wird anders interpretiert.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist