BUG Ticket (pending)
open_basedir problems
When running DebugKit 1.1 with open_basedir set, I'm getting these errors (some parts of the paths removed). Any ideas? Didn't see this problem with 1.0.
{{{
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/persistent) is not within the allowed path(s): (/home/.../:...) in .../cake/libs/folder.php on line 134
Warning (2): is_dir() [function.is-dir]: open_basedir restriction in effect. File(/persistent) is not within the allowed path(s): (/home/...) [CORE/cake/libs/folder.php, line 134]
Code | Context
$path = "/persistent/"
}
echo $_this->_output($level, $error, $code, $helpCode, $description, $file, $line, $context);
Debugger::handleError() - CORE/cake/libs/debugger.php, line 222
is_dir - [internal], line ??
Folder::cd() - CORE/cake/libs/folder.php, line 134
FileEngine::init() - CORE/cake/libs/cache/file.php, line 96
Cache::set() - CORE/cake/libs/cache.php, line 195
Cache::read() - CORE/cake/libs/cache.php, line 277
Configure::corePaths() - CORE/cake/libs/configure.php, line 492
App::__paths() - CORE/cake/libs/configure.php, line 1131
App::import() - CORE/cake/libs/configure.php, line 859
SqlLogPanel::beforeRender() - APP/plugins/debug_kit/controllers/components/toolbar.php, line 492
ToolbarComponent::_gatherVars() - APP/plugins/debug_kit/controllers/components/toolbar.php, line 204
ToolbarComponent::beforeRender() - APP/plugins/debug_kit/controllers/components/toolbar.php, line 158
Component::beforeRender() - CORE/cake/libs/controller/component.php, line 128
Controller::render() - CORE/cake/libs/controller/controller.php, line 767
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 230
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84}}}
on 07.13.09
reported by: oscar
on 08.14.09
by oscar
Doesn't seem to depend only on open_basedir, because what seems to happen for me is that FileEngine::init() gets called with settings that belongs to my default XCache cache, for some odd reason. There, the path is for example /persistent/, and FileEngine fails..
