Quantcast
Channel: FreePBX - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 17396

User Control Panel error after restoring FreePBX13 backup set to FreePBX15

$
0
0

@ivana72 wrote:

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.

Posts: 6

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17396

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>