- Веб-Шаблоны
- Шаблон интернет-магазина
- Шаблоны для CMS
- Facebook шаблоны
- Конструктор сайтов
Drupal. Решение проблем: The testing framework requires the PHP open_basedir restriction to be disabled.
Апрель 17, 2012
Эта инструкция продемонстрирует, как решить проблему с сообщением об ошибке "The testing framework requires the PHP open_basedir restriction to be disabled" при попытке обновить базу данных использую файл update.php.
1) Откройте файл "modules/simpletest/simpletest.install".
2) Найдите и удалите/закомментируйте следующий код.
if ($open_basedir) { $requirements['php_open_basedir']['severity'] = REQUIREMENT_ERROR; $requirements['php_open_basedir']['description'] = $t('The testing framework requires the PHP open_basedir restriction to be disabled. Check your webserver configuration or contact your web host.', array('@open_basedir-url' => 'http://php.net/manual/en/ini.core.php#ini.open-basedir')); }
3) Сохраните файл, обновите базу данных и верните файл в исходное состояние.