Concrete CMS - The length of any one label is limited to between 1 and 63 octets

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2025
Версия от 19:17, 17 декабря 2024; Admin iph (обсуждение | вклад) (Новая страница: «=== Concrete CMS - The length of any one label is limited to between 1 and 63 octets === Ошибка The length of any one label is limited to between 1 and 6...»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к:навигация, поиск

Concrete CMS - The length of any one label is limited to between 1 and 63 octets

Ошибка

The length of any one label is limited to between 1 and 63 octets

возникает из-за длинного домена.
Решение - в файле

concrete/vendor/true/punycode/src/Punycode.php"

поменять

            if ($length > 63 || $length < 1) {
               throw new LabelOutOfBoundsException(sprintf('The length of any one label is limited to between 1 and 63 octets, but %s given.', $length));
           }

на

            if ($length > 100 || $length < 1) {
               throw new LabelOutOfBoundsException(sprintf('The length of any one label is limited to between 1 and 63 octets, but %s given.', $length));
           }