When selecting UCP exception error is thrown showing:
Exception
please ask for a valid directory
/var
/www
/html
/admin
/modules
/userman
/Userman.class.php
*/
public function getAllUsers($directory=null) {
if(!empty($directory)) {
$users = $this->directories[$directory]->getAllUsers();
} else {
$users = $this->globalDirectory->getAllUsers();
}
return $users;
}
/**
* Get All Groups
*
* Get a List of all User Manager users and their data
*
* @return array
*/
public function getAllGroups($directory=null) {
if (!empty($directory) && empty($this->directories[$directory])) {
throw new Exception("Please ask for a valid directory");
}
if(!empty($directory)) {
$groups = $this->directories[$directory]->getAllGroups();
} else {
$groups = $this->globalDirectory->getAllGroups();
}
return $groups;
}
/** Get Default Groups
*
* Get a list of all default groups
*
If I delete the Directory and recreate probably all stored user passwords and access rights will be erased. This is a 180+ users system. Any suggestion to fix the issue without deleting the directory and all user’s group? Already did UCP and User Manager re-install.