Ошибка в login_by_phone.php
Добавлено: 01 июн 2026, 10:07
Доброго дня . После обновления на 3.7.1 и попытке входа по номеру телефона получаем :
Database Error: 1054 - Unknown column 'e.field_400' in 'WHERE'
Query: select id from app_entity_1 where length(field_400)>0 and REGEXP_REPLACE(e.field_400, '[^0-9]','') = '7*********'
Page: /index.php?module=users/login_by_phone&action=login
#0 includes/functions/database.php(104): mysqli_query(Object(mysqli), 'select id from ...')
#1 modules/users/actions/login_by_phone.php(56): db_query('select id from ...')
#2 index.php(31): require('/sites/lk....')
#3 {main}
Замена на файл старой версии решает проблему
Database Error: 1054 - Unknown column 'e.field_400' in 'WHERE'
Query: select id from app_entity_1 where length(field_400)>0 and REGEXP_REPLACE(e.field_400, '[^0-9]','') = '7*********'
Page: /index.php?module=users/login_by_phone&action=login
#0 includes/functions/database.php(104): mysqli_query(Object(mysqli), 'select id from ...')
#1 modules/users/actions/login_by_phone.php(56): db_query('select id from ...')
#2 index.php(31): require('/sites/lk....')
#3 {main}
Замена на файл старой версии решает проблему