worxsteven
asked on
cakephp error Argument is not an array
i have a cakephp application that works on several webservers (LAMP). But on one server i get an error when saving or deleting items.
I guess it may have something to do with the tmp/cache folder which should have some content when using the app. It has 777 permission.
This is the error:
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array [CORE/cake/basics.php, line 528]
Code | Context
$params = "i18nmodels"
$type = "views"
$ext = ".php"
$cache = "/home/relink/public_html/ backoffice /app/tmp/c ache/views /*i18nmode ls_*.php"
$files = false
array_merge - [internal], line ??
clearCache - CORE/cake/basics.php, line 528
clearCache - CORE/cake/basics.php, line 543
Model::_clearCache() - CORE/cake/libs/model/model .php, line 2627
Model::save() - CORE/cake/libs/model/model .php, line 1188
TranslateBehavior::afterSa ve() - APP/models/behaviors/trans late.php, line 303
ModelBehavior::dispatchMet hod() - CORE/cake/libs/model/behav ior.php, line 164
BehaviorCollection::trigge r() - CORE/cake/libs/model/behav ior.php, line 436
Model::save() - CORE/cake/libs/model/model .php, line 1180
JobsItemsController::edit( ) - APP/plugins/jobs/controlle rs/jobs_it ems_contro ller.php, line 66
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
Warning (2): array_merge() [function.array-merge]: Argument #2 is not an array [CORE/cake/basics.php, line 528]
Code | Context
$params = "i18nmodels"
$type = "views"
$ext = ".php"
$cache = "/home/relink/public_html/ backoffice /app/tmp/c ache/views /*i18nmode ls_*.php"
$files = false
array_merge - [internal], line ??
clearCache - CORE/cake/basics.php, line 528
clearCache - CORE/cake/basics.php, line 543
Model::_clearCache() - CORE/cake/libs/model/model .php, line 2627
Model::save() - CORE/cake/libs/model/model .php, line 1188
TranslateBehavior::afterSa ve() - APP/models/behaviors/trans late.php, line 303
ModelBehavior::dispatchMet hod() - CORE/cake/libs/model/behav ior.php, line 164
BehaviorCollection::trigge r() - CORE/cake/libs/model/behav ior.php, line 436
Model::save() - CORE/cake/libs/model/model .php, line 1180
JobsItemsController::edit( ) - APP/plugins/jobs/controlle rs/jobs_it ems_contro ller.php, line 66
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
Warning (2): Invalid argument supplied for foreach() [CORE/cake/basics.php, line 534]
-------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
I guess it may have something to do with the tmp/cache folder which should have some content when using the app. It has 777 permission.
This is the error:
--------------------------
Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array [CORE/cake/basics.php, line 528]
Code | Context
$params = "i18nmodels"
$type = "views"
$ext = ".php"
$cache = "/home/relink/public_html/
$files = false
array_merge - [internal], line ??
clearCache - CORE/cake/basics.php, line 528
clearCache - CORE/cake/basics.php, line 543
Model::_clearCache() - CORE/cake/libs/model/model
Model::save() - CORE/cake/libs/model/model
TranslateBehavior::afterSa
ModelBehavior::dispatchMet
BehaviorCollection::trigge
Model::save() - CORE/cake/libs/model/model
JobsItemsController::edit(
Object::dispatchMethod() - CORE/cake/libs/object.php,
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 261
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 233
[main] - APP/webroot/index.php, line 84
Warning (2): array_merge() [function.array-merge]: Argument #2 is not an array [CORE/cake/basics.php, line 528]
Code | Context
$params = "i18nmodels"
$type = "views"
$ext = ".php"
$cache = "/home/relink/public_html/
$files = false
array_merge - [internal], line ??
clearCache - CORE/cake/basics.php, line 528
clearCache - CORE/cake/basics.php, line 543
Model::_clearCache() - CORE/cake/libs/model/model
Model::save() - CORE/cake/libs/model/model
TranslateBehavior::afterSa
ModelBehavior::dispatchMet
BehaviorCollection::trigge
Model::save() - CORE/cake/libs/model/model
JobsItemsController::edit(
Object::dispatchMethod() - CORE/cake/libs/object.php,
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 261
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 233
[main] - APP/webroot/index.php, line 84
Warning (2): Invalid argument supplied for foreach() [CORE/cake/basics.php, line 534]
--------------------------
Could you post the php code from lines 501 to 540?
ASKER
function clearCache($params = null, $type = 'views', $ext = '.php') {
if (is_string($params) || $params === null) {
$params = preg_replace('/\/\//', '/', $params);
$cache = CACHE . $type . DS . $params;
if (is_file($cache . $ext)) {
@unlink($cache . $ext);
return true;
} elseif (is_dir($cache)) {
$files = glob("$cache*");
if ($files === false) {
return false;
}
foreach ($files as $file) {
if (is_file($file)) {
@unlink($file);
}
}
return true;
} else {
$cache = CACHE . $type . DS . '*' . $params . $ext;
$files = glob($cache);
$cache = CACHE . $type . DS . '*' . $params . '_*' . $ext;
$files = array_merge($files, glob($cache));
if ($files === false) {
return false;
}
foreach ($files as $file) {
if (is_file($file)) {
@unlink($file);
}
}
return true;
}
} elseif (is_array($params)) {
foreach ($params as $key => $file) {
clearCache($file, $type, $ext);
}
return true;
}
return false;
}
if (is_string($params) || $params === null) {
$params = preg_replace('/\/\//', '/', $params);
$cache = CACHE . $type . DS . $params;
if (is_file($cache . $ext)) {
@unlink($cache . $ext);
return true;
} elseif (is_dir($cache)) {
$files = glob("$cache*");
if ($files === false) {
return false;
}
foreach ($files as $file) {
if (is_file($file)) {
@unlink($file);
}
}
return true;
} else {
$cache = CACHE . $type . DS . '*' . $params . $ext;
$files = glob($cache);
$cache = CACHE . $type . DS . '*' . $params . '_*' . $ext;
$files = array_merge($files, glob($cache));
if ($files === false) {
return false;
}
foreach ($files as $file) {
if (is_file($file)) {
@unlink($file);
}
}
return true;
}
} elseif (is_array($params)) {
foreach ($params as $key => $file) {
clearCache($file, $type, $ext);
}
return true;
}
return false;
}
ASKER
any ideas?
Digging ionto your code: one of the 2 arrays probably happens to be empty or non-set at line
$files = array_merge($files, glob($cache));
1 - Below I show your code with some debugging info display as well.
2 - It might even happen that it works without the error you have met, because I have set the arrays (presumed parts of the merge) with a array() assignation.
3 - If it does not, can you paste the error messages?
<?PHP
function clearCache($params = null, $type = 'views', $ext = '.php') {
if (is_string($params) || $params === null) {
$params = preg_replace('/\/\//', '/', $params); //** what if null?
$cache = CACHE . $type . DS . $params; // CACHE and DS were declared as constants, right?
$debug = true; //easy to change
if ($debug) {echo "** After entry - params is [$params], cache is [$cache]";}
if (is_file($cache . $ext)) {
@unlink($cache . $ext);
return true;
} elseif (is_dir($cache)) {
$files = glob("$cache*");
if ($files === false) {
return false;
}
foreach ($files as $file) {
if (is_file($file)) {
@unlink($file);
}
}
return true; //any subdirectory in $files will be left intact
} else { // not is_file and not is_dir
$cache = CACHE . $type . DS . '*' . $params . $ext;
if ($debug) {echo "** Before first glob - params is [$params], cache is [$cache]";}
$files = array(); $files = glob($cache);
if ($debug) {echo "Found in this cache " . count($files) . "elements (files or directories)<br>";}
$cache = CACHE . $type . DS . '*' . $params . '_*' . $ext;
if ($debug) {echo "** Before second -- cache is [$cache]";}
$files2 = array();$files2 = glob($cache);
if ($debug) {echo "Found in this cache " . count($files2) . "elements (files or directories)<br>";}
$files = array_merge($files, $files2); //was glob($cache));
if ($debug) {echo "Merged " . count($files) . "elements (files or directories)<br>";}
if ($files === false) {
return false;
}
foreach ($files as $file) {
if (is_file($file)) {
@unlink($file);
}
}
return true;
}
} elseif (is_array($params)) {
foreach ($params as $key => $file) {
clearCache($file, $type, $ext);
}
return true;
}
return false;
}
?>
$files = array_merge($files, glob($cache));
1 - Below I show your code with some debugging info display as well.
2 - It might even happen that it works without the error you have met, because I have set the arrays (presumed parts of the merge) with a array() assignation.
3 - If it does not, can you paste the error messages?
<?PHP
function clearCache($params = null, $type = 'views', $ext = '.php') {
if (is_string($params) || $params === null) {
$params = preg_replace('/\/\//', '/', $params); //** what if null?
$cache = CACHE . $type . DS . $params; // CACHE and DS were declared as constants, right?
$debug = true; //easy to change
if ($debug) {echo "** After entry - params is [$params], cache is [$cache]";}
if (is_file($cache . $ext)) {
@unlink($cache . $ext);
return true;
} elseif (is_dir($cache)) {
$files = glob("$cache*");
if ($files === false) {
return false;
}
foreach ($files as $file) {
if (is_file($file)) {
@unlink($file);
}
}
return true; //any subdirectory in $files will be left intact
} else { // not is_file and not is_dir
$cache = CACHE . $type . DS . '*' . $params . $ext;
if ($debug) {echo "** Before first glob - params is [$params], cache is [$cache]";}
$files = array(); $files = glob($cache);
if ($debug) {echo "Found in this cache " . count($files) . "elements (files or directories)<br>";}
$cache = CACHE . $type . DS . '*' . $params . '_*' . $ext;
if ($debug) {echo "** Before second -- cache is [$cache]";}
$files2 = array();$files2 = glob($cache);
if ($debug) {echo "Found in this cache " . count($files2) . "elements (files or directories)<br>";}
$files = array_merge($files, $files2); //was glob($cache));
if ($debug) {echo "Merged " . count($files) . "elements (files or directories)<br>";}
if ($files === false) {
return false;
}
foreach ($files as $file) {
if (is_file($file)) {
@unlink($file);
}
}
return true;
}
} elseif (is_array($params)) {
foreach ($params as $key => $file) {
clearCache($file, $type, $ext);
}
return true;
}
return false;
}
?>
ASKER
this is the debug message i get:
** After entry - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/permissions]** Before first glob - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php]Found in this cache 1elements (files or directories)
Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array [CORE/cake/basics.php, line 535]
Code | Context
$params = "permissions"
$type = "views"
$ext = ".php"
$cache = "/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php"
$debug = true
$files = false
$files2 = false
array_merge - [internal], line ??
clearCache - CORE/cake/basics.php, line 535
clearCache - CORE/cake/basics.php, line 551
Model::_clearCache() - CORE/cake/libs/model/model.php, line 2627
Model::save() - CORE/cake/libs/model/model.php, line 1188
DbAcl::allow() - CORE/cake/libs/controller/components/acl.php, line 398
DbAcl::deny() - CORE/cake/libs/controller/components/acl.php, line 410
AclComponent::deny() - CORE/cake/libs/controller/components/acl.php, line 115
SystemsController::update() - APP/controllers/systems_controller.php, line 167
Object::dispatchMethod() - CORE/cake/libs/object.php, line 114
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 261
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 233
[main] - APP/webroot/index.php, line 84
Warning (2): array_merge() [function.array-merge]: Argument #2 is not an array [CORE/cake/basics.php, line 535]
Code | Context
$params = "permissions"
$type = "views"
$ext = ".php"
$cache = "/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php"
$debug = true
$files = false
$files2 = false
array_merge - [internal], line ??
clearCache - CORE/cake/basics.php, line 535
clearCache - CORE/cake/basics.php, line 551
Model::_clearCache() - CORE/cake/libs/model/model.php, line 2627
Model::save() - CORE/cake/libs/model/model.php, line 1188
DbAcl::allow() - CORE/cake/libs/controller/components/acl.php, line 398
DbAcl::deny() - CORE/cake/libs/controller/components/acl.php, line 410
AclComponent::deny() - CORE/cake/libs/controller/components/acl.php, line 115
SystemsController::update() - APP/controllers/systems_controller.php, line 167
Object::dispatchMethod() - CORE/cake/libs/object.php, line 114
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 261
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 233
[main] - APP/webroot/index.php, line 84
Merged 0elements (files or directories)
Warning (2): Invalid argument supplied for foreach() [CORE/cake/basics.php, line 542]
Code | Context
$params = "permissions"
$type = "views"
$ext = ".php"
$cache = "/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php"
$debug = true
$files = null
$files2 = false
}
foreach ($files as $file) {
clearCache - CORE/cake/basics.php, line 542
clearCache - CORE/cake/basics.php, line 551
Model::_clearCache() - CORE/cake/libs/model/model.php, line 2627
Model::save() - CORE/cake/libs/model/model.php, line 1188
DbAcl::allow() - CORE/cake/libs/controller/components/acl.php, line 398
DbAcl::deny() - CORE/cake/libs/controller/components/acl.php, line 410
AclComponent::deny() - CORE/cake/libs/controller/components/acl.php, line 115
SystemsController::update() - APP/controllers/systems_controller.php, line 167
Object::dispatchMethod() - CORE/cake/libs/object.php, line 114
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 261
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 233
[main] - APP/webroot/index.php, line 84
** After entry - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/aros]** Before first glob - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/acos]** Before first glob - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/permissions]** Before first glob - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/aros]** Before first glob - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/acos]** Before first glob - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/permissions]** Before first glob - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/aros]** Before first glob - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/acos]** Before first glob - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/permissions]** Before first glob - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/aros]** Before first glob - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/acos]** Before first glob - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/permissions]** Before first glob - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/aros]** Before first glob - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/acos]** Before first glob - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/permissions]** Before first glob - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/aros]** Before first glob - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/acos]** Before first glob - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/permissions]** Before first glob - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/aros]** Before first glob - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/acos]** Before first glob - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/permissions]** Before first glob - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/aros]** Before first glob - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/acos]** Before first glob - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/permissions]** Before first glob - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/aros]** Before first glob - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/acos]** Before first glob - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/permissions]** Before first glob - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/aros]** Before first glob - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/acos]** Before first glob - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/permissions]** Before first glob - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/aros]** Before first glob - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/acos]** Before first glob - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/permissions]** Before first glob - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/aros]** Before first glob - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/acos]** Before first glob - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/permissions]** Before first glob - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/aros]** Before first glob - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/acos]** Before first glob - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/permissions]** Before first glob - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/aros]** Before first glob - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/acos]** Before first glob - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/permissions]** Before first glob - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/aros]** Before first glob - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/acos]** Before first glob - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/permissions]** Before first glob - params is [permissions], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*permissions_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/aros]** Before first glob - params is [aros], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*aros_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
** After entry - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/acos]** Before first glob - params is [acos], cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos.php]Found in this cache 1elements (files or directories)
** Before second -- cache is [/home/relink/public_html/backoffice/app/tmp/cache/views/*acos_*.php]Found in this cache 1elements (files or directories)
Merged 0elements (files or directories)
Warning (2): Cannot modify header information - headers already sent by (output started at /home/relink/public_html/backoffice/cake/basics.php:507) [CORE/cake/libs/controller/controller.php, line 578]
Code | Context
$status = "Location: http://www.relink.be/backoffice/systems/permissions"
header - [internal], line ??
Controller::header() - CORE/cake/libs/controller/controller.php, line 578
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 559
SystemsController::update() - APP/controllers/systems_controller.php, line 175
Object::dispatchMethod() - CORE/cake/libs/object.php, line 114
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 261
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 233
[main] - APP/webroot/index.php, line 84
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.