- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
Drupal Troubleshooter. The testing framework requires the PHP open_basedir restriction to be disabled.
April 17, 2012
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.