R
R
ragnar_ok2019-11-10 13:50:35
1C-Bitrix
ragnar_ok, 2019-11-10 13:50:35

How to install user module?

Why is the user module not installed on a freshly installed Bitrix? There is no /user/ in /modules / . There is also no user [/bitrix/admin/module_admin.php] in "Modules". How to install? Explanation: In "Tables" [/bitrix/admin/perfmon_tables.php?lang=ru&orm=y] I generate a model for b_user_field_enum . The model is generated here: File: /bitrix/modules/user/lib/fieldenum.php At the same time, when trying, it displays Class 'Bitrix\User\FieldEnumTable' not found . b_user_field_enum stores "List" type properties in highloads . Posted by /php_interface/classes/fieldenum.php .


\Bitrix\User\FieldEnumTable::getList()->fetchAll()

Bitrix\Main\Loader::registerAutoLoadClasses(null, [
    'Bitrix\User\FieldEnumTable' => '/local/php_interface/classes/fieldenum.php',
]);

Now, of course, it works. I would still like to figure out why there is no user module and how to install it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Filippenko, 2019-11-10
@ragnar_ok

Because there is no such module in Bitrix. All work with users is part of the main module.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question