tomwin Posted April 23, 2020 Posted April 23, 2020 Hi, I trying to move my domain and website to my new VPS but there is some error when I trying run support tools in AdminCP. It looks like I have an open_basedir restriction enabled on my server but have disable Open Basedir on my domain. But the error won’t go away. Anyone that can help me what I should do? Please. UnexpectedValueException: DirectoryIterator::__construct(): open_basedir restriction in effect. File(/home/test/public_html/datastore) is not within the allowed path(s): (/home/admin/:/tmp:/var/tmp:/opt/alt/php73/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php73/lib/php/) (0) #0 /home/admin/domains/domain.com/public_html/system/Data/Store/FileSystem.php(224): DirectoryIterator->__construct('/home/test/...') #1 /home/admin/domains/domain.com/public_html/applications/core/modules/admin/support/support.php(202): IPS\Data\Store\_FileSystem->clearAll() #2 /home/admin/domains/domain.com/public_html/applications/core/modules/admin/support/support.php(163): IPS\core\modules\admin\support\_support->_clearCaches() #3 /home/admin/domains/domain.com/public_html/system/Helpers/Wizard/Wizard.php(218): IPS\core\modules\admin\support\_support->_selfService(Array) #4 /home/admin/domains/domain.com/public_html/applications/core/modules/admin/support/support.php(52): IPS\Helpers\_Wizard->__toString() #5 /home/admin/domains/domain.com/public_html/system/Dispatcher/Controller.php(96): IPS\core\modules\admin\support\_support->manage() #6 /home/admin/domains/domain.com/public_html/applications/core/modules/admin/support/support.php(33): IPS\Dispatcher\_Controller->execute() #7 /home/admin/domains/domain.com/public_html/system/Dispatcher/Dispatcher.php(152): IPS\core\modules\admin\support\_support->execute() #8 /home/admin/domains/domain.com/public_html/admin/index.php(14): IPS\_Dispatcher->run() #9 {main} And in my log file I have these error Could not write to Store-FileSystem (template_1_c8c276c9a99811c050a8036df5d2db06_forms) #0 /home/admin/domains/domain.com/public_html/system/Data/AbstractData.php(108): IPS\_Log::log('Could not write...', 'datastore') #1 /home/admin/domains/domain.com/public_html/system/Data/Store.php(219): IPS\Data\_AbstractData->__set('template_1_c8c2...', 'namespace IPS\\T...') #2 /home/admin/domains/domain.com/public_html/system/Theme/Theme.php(2583): IPS\Data\_Store->__set('template_1_c8c2...', 'namespace IPS\\T...') #3 /home/admin/domains/domain.com/public_html/system/Theme/Theme.php(807): IPS\_Theme->compileTemplates('core', 'global', 'forms') #4 /home/admin/domains/domain.com/public_html/system/Helpers/Form/Form.php(139): IPS\_Theme->getTemplate('forms', 'core', 'global') #5 /home/admin/domains/domain.com/public_html/system/Helpers/Table/Table.php(359): IPS\Helpers\_Form->__construct('advanced_search', 'search', Object(IPS\Http\Url\Internal), Array) #6 /home/admin/domains/domain.com/public_html/system/Helpers/Table/Table.php(717): IPS\Helpers\Table\_Table->advancedSearch() #7 /home/admin/domains/domain.com/public_html/system/Helpers/Table/Table.php(484): IPS\Helpers\Table\_Table->getAdvancedSearchValues() #8 /home/admin/domains/domain.com/public_html/system/Theme/Theme.php(847) : eval()'d code(1859): IPS\Helpers\Table\_Table->__toString() #9 /home/admin/domains/domain.com/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_admin_global->globalTemplate('9bfe8dd7ee630f1...', Object(IPS\Helpers\Table\Db), Array) #10 /home/admin/domains/domain.com/public_html/system/Dispatcher/Dispatcher.php(172): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #11 /home/admin/domains/domain.com/public_html/system/Dispatcher/Standard.php(112): IPS\_Dispatcher->finish() #12 /home/admin/domains/domain.com/public_html/system/Dispatcher/Dispatcher.php(154): IPS\Dispatcher\_Standard->finish() #13 /home/admin/domains/domain.com/public_html/admin/index.php(14): IPS\_Dispatcher->run() #14 {main}
Recommended Posts