Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Issue #60

Open
ninjoan opened this issue Feb 12, 2020 · 4 comments
Open

Installation Issue #60

ninjoan opened this issue Feb 12, 2020 · 4 comments

Comments

@ninjoan
Copy link

ninjoan commented Feb 12, 2020

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
::
"""


@Cynjut
Copy link

Cynjut commented Feb 12, 2020

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

@ninjoan
Copy link
Author

ninjoan commented Feb 12, 2020

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.

@Cynjut
Copy link

Cynjut commented Feb 13, 2020

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

@PhantomVl
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants