Title is empty

Discussion in 'Говорим по-русски' started by Junius, Nov 12, 2019.

  1. Junius

    Junius New Member

    Please, can you help me?

    I can not change any page, because if to put the button save, system tells "title is empty"
    Yes, system tell the title is emply even if it is not empty ;(

    upload_2019-11-13_1-24-4.png

    I switched to debug mode and found following:
    line 148 of
    admin/pages.php

    upload_2019-11-13_1-26-53.png

    if (empty($data['title'][iaLanguage::getMasterLanguage()->iso])) {
    $this->addMessage(iaLanguage::getf('field_is_empty',
    ['field' => iaLanguage::get('title')]),false);

    Can it be the problem I deleted "Master Language"?
    (I translated all into Ukrainian and just deleted Engish)

    If yes, how to recover it? Or how to make the system think the Ukrainian as MasterLanguage....
    or how to change the script.....


    Thank you!

    Attached Files:

  2. Junius

    Junius New Member

    just add another picture
    upload_2019-11-13_1-32-52.png
  3. Vasily_B.

    Vasily_B. Project Manager

    Hi,

    Yes, that's the problem. You MAY not delete master language and you should always have it. I guess you did that in db directly as the system does not allow to delete master language.
    In this case you could just change the title of your master language and it's ISO code to Ukranian and it would work.

    Cheers

Share This Page