на сайте нет администраторов и бюрократов вообще

Fragment of a discussion from Project:Support desk
Jump to: navigation, search

при использовании описанной инструкции - какой? createAndPromote.php? Если этот скрипт не работает, включите вывод ошибок, посмотрим, что не срабатывает.

Max Semenik08:35, 24 September 2010

нет, у нас версия 1.13

JuliayDubrovina08:48, 24 September 2010

Sometimes, the installer fails to create the default user, or the user table is lost for some reason. There are a couple of options for solving this: maintenance/createAndPromote.php If your MediaWiki is older than 1.16, make sure AdminSettings.php is set up (see AdminSettings.sample) Execute maintenance/createAndPromote.php --username <new user name> --password <password for that user> from the shell. Append --bureaucrat to command line if you want that user to become a bureaucrat, in addition to becoming an administrator. This will create a new user and promote them to an administrator. For help, run the script with the parameter --help.

Или: Alter the database Register a new account using the regular method (Special:UserLogin). Check the user ID in Special:Preferences. Execute the following SQL statement against the database: INSERT INTO user_groups ( ug_user, ug_group ) VALUES ( <id>, 'bureaucrat' ), ( <id>, 'sysop' ); <id> above should be replaced with the appropriate user ID which you can see on the user's preference page

JuliayDubrovina08:52, 24 September 2010
 

createAndPromote.php присутствует и в 1.13.х.

Max Semenik08:56, 24 September 2010

напишите пожалуйста полную пошаговую инструкцию по восстановлению прав пользователей с помощью createAndPromote.php я не профи в этом

JuliayDubrovina10:08, 24 September 2010

php createAndPromote.php --bureaucrat <имя_пользователя> <его_пароль> из командной строки. Для пошаговой инструкции недостаточно данных о вашем сервере: какая операционка, есть ли к нему физический доступ, или SSH и т.д.

Max Semenik11:30, 24 September 2010

есть только доступ через ftp-клиент

213.80.160.16606:14, 30 September 2010
 
 
 
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox