Advertisement

10.15.2008 at 10:48PM PDT, ID: 23819333 | Points: 500
[x]
Attachment Details

error on cakephp cache

Asked by worxsteven in PHP Scripting Language, PHP Frameworks

Tags:

i've got this error:

Warning (2): extract() [function.extract]: First argument should be an array [CORE/cake/libs/cache.php, line 295]

Code | Context

$check      =      false
$config      =      false
$_this      =      Cache
Cache::$_Engine = array
Cache::$__config = array
Cache::$__name = NULL
Cache::$_log = NULL
$current      =      null

extract - [internal], line ??
Cache::clear() - CORE/cake/libs/cache.php, line 295
MenusController::__grantAccess() - APP/controllers/menus_controller.php, line 157
MenusController::edit() - APP/controllers/menus_controller.php, line 78
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 261
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 233
[main] - APP/webroot/index.php, line 84

Notice (8): Undefined variable: engine [CORE/cake/libs/cache.php, line 297]

------------------------------------------------------------------------------------------------
This is the code on these 2 errors:

(295)            extract($config);

(297)            if (!$_this->isInitialized($engine)) {
                  return false;
            }

------------------------------------------------------------------------------------------------

Does anyone have any idea on how to solve it?
I have several errors with the cake-libs. Most of them on cache i guess. I've also noticed there is nothing being written to the /app/tmp/cache directory. Is this due to a cakephp- or serversetting? If so, what setting?
Start Free Trial
[+][-]10.15.2008 at 10:58PM PDT, ID: 22728365

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.15.2008 at 11:01PM PDT, ID: 22728376

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.15.2008 at 11:04PM PDT, ID: 22728383

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.15.2008 at 11:29PM PDT, ID: 22728470

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.15.2008 at 11:51PM PDT, ID: 22728538

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.16.2008 at 12:10AM PDT, ID: 22728599

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.16.2008 at 12:41AM PDT, ID: 22728701

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.16.2008 at 01:13AM PDT, ID: 22728821

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42 / EE_QW_2_20070628