[contact-form-7 id="24078" title="Feedback EN"]

Featured templates

Drupal Troubleshooter. The testing framework requires the PHP open_basedir restriction to be disabled.

This tutorial shows how to avoid the "The testing framework requires the PHP open_basedir restriction to be disabled" error message when trying to update database using update.php file.

1) Open "modules/simpletest/simpletest.install" file.

2) Locate and delete/comment out the following code.

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) Save the file, update the database and revert your changes.