Доступ запрещен из под админа

Главные вкладки

Аватар пользователя Zonder Zonder 14 декабря 2011 в 23:09

Странный глюк периодически возникает на странице
/batch?op=start&id=
из под аккаунта админа (user == 1)

Возникает иногда во время обновления переводов модулем l10n_update
Подскажите где рыть и в чем может быть проблема?

Комментарии

Аватар пользователя sibero sibero 15 декабря 2011 в 2:21

Лучше копировать ошибку, чтобы было хоть понятно в чем она заключается. Думаю дело в параметре max_allowed_packet в mysql, в большинстве хостингов стоит "1", а этого мало

Аватар пользователя Zonder Zonder 15 декабря 2011 в 3:50

Дк в том то и дело, что никакого сообщения кроме "Доступ запрещен" не вылезает. Даже в отчете об ошибках тоже самое^ Адрес страницы и сообщение "доступ запрещен". Буду пинать админа. Походу действительно чтото с пакетами.

Аватар пользователя psyh psyh 16 декабря 2011 в 11:41

Сейчас дали сайт делать. Тоже беда с доступом (7 Друпал). При попытке запустить /update.php выдает следующее:

Access denied. You are not authorized to access this page. Log in using either an account with the administer software updates permission or the site maintenance account (the account you created during installation). If you cannot log in, you will have to edit settings.php to bypass this access check. To do this:

    With a text editor find the settings.php file on your system. From the main Drupal directory that you installed all the files into, go to sites/your_site_name if such directory exists, or else to sites/default which applies otherwise.
    There is a line inside your settings.php file that says $update_free_access = FALSE;. Change it to $update_free_access = TRUE;.
    As soon as the update.php script is done, you must change the settings.php file back to its original form with $update_free_access = FALSE;.
    To avoid having this problem in the future, remember to log in to your website using either an account with the administer software updates permission or the site maintenance account (the account you created during installation) before you backup your database at the beginning of the update process.

FALSE на TRUE менял, не помогает. Да и не правильно это.
Делаю все под суперадмином, т.е. uid=1
Права проверял - выставлены все.

Грешу на то что Друпал был предустановлен на хостинге. Причем как-то коряво. Наверное проще перезалить его своими руками.