sccp_manager icon indicating copy to clipboard operation
sccp_manager copied to clipboard

Installation Issue

Open ninjoan opened this issue 5 years ago • 4 comments

Hi guys i just install the module in a fresh FreePBX and after the installation i get this screen https://imgur.com/a/qGFTCKh

PD: i upload pictures because i dont know what date to collect and put in the github issue.


/var/www/html/admin/libraries/utility.functions.php
 
function compress_framework_css() {
    compress::web_files();
}
 
/**
 * Throw FreePBX DIE Message
 * @param string $text The message
 * @param string $extended_text The Extended Message (Optional)
 * @param string $type The message type (Optional)
 */
function die_freepbx($text, $extended_text="", $type="FATAL") {
    if(is_object($extended_text) && method_exists($extended_text,"getMessage")) {
        $e = $extended_text;
        $extended_text = htmlentities($e->getMessage());
        $code = $e->getCode();
        throw new \Exception($text . "::" . $extended_text,$code,$e);
    } else {
        $extended_text = htmlentities($extended_text);
        throw new \Exception($text . "::" . $extended_text);
    }
}
 
/**
 * Get the FreePBX/Framework Version
 * @param bool $cached Whether to pull from the DB or not
 * @return string The FreePBX version number
 */
function getversion($cached=true) {
    global $db;
    static $version;
    if (isset($version) && $version && $cached) {
        return $version;
    }
    $sql        = "SELECT value FROM admin WHERE variable = 'version'";
    $results    = $db->getRow($sql);
    if($db->IsError($results)) {
        die_freepbx($sql."<br>\n".$results->getMessage());
    }
    return $results[0];
Arguments
"""
!!!! Installation error: Can not find required sccpdevice table !!!!!!\n
::
"""


ninjoan avatar Feb 12 '20 21:02 ninjoan

First blush guess would be that you haven't installed the database script yet.

Cynjut avatar Feb 12 '20 23:02 Cynjut

First blush guess would be that you haven't installed the database script yet.

Database script?? I don't have can you share the scripts please.

ninjoan avatar Feb 12 '20 23:02 ninjoan

It's part of the Chan-SCCP-B installation. That needs tone installed and working to get this working.

Cynjut avatar Feb 13 '20 00:02 Cynjut

Violated the sequence of steps during installation. https://github.com/PhantomVl/sccp_manager/wiki/Instal-on-CentOS-7

PhantomVl avatar Feb 13 '20 07:02 PhantomVl