We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40904
    • 9 Posts
    В общем, всегда всё было в порядке с другими сайтами. А в этот раз, когда захожу в админке в раздел Элементы управления, выскакивает ошибка «MODX Parse Error» и пишет что-то про кодировку. Я залез в БД, выяснилось что кодировки не совпадают. В MODx настроено utf8_general_ci, а в БД везде latin1_swedish_ci. Исправил всё, но ошибку по-прежнему показывает.

    Текст ошибки следующий:

    Warning: Cannot modify header information - headers already sent by (output started at /home/bh51398/public_html/manager/includes/header.inc.php:11) in /home/bh51398/public_html/manager/includes/document.parser.class.inc.php on line 3026
    « MODX Parse Error »
    MODX encountered the following error while attempting to parse the requested resource:
    « Execution of a query to the database failed - Illegal mix of collations (utf8_general_ci,COERCIBLE) and (latin1_swedish_ci,IMPLICIT) for operation 'if' »

    Скрин прикрепил.

    P.S. Может быть проблема из-за домена? всегда был .ru, а в этот раз .com.
      • 40904
      • 9 Posts
      Решил проблему.
      Снёс всё, переустановил на базы с нормальной кодировкой.