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

Error Class 'cronmanager' not found #26

Open
4-FLOSS-Free-Libre-Open-Source-Software opened this issue Jul 14, 2020 · 1 comment
Open

Comments

@4-FLOSS-Free-Libre-Open-Source-Software
Copy link

url: admin/config.php?display=concurrentcalls
or
admin/config.php?display=extbreakdown
Error
/var/www/html/admin/modules/callstatistics/page.concurrentcalls.php:6
/var/www/html/admin/modules/callstatistics/page.extbreakdown.php:6

FreePBX Framework15.0.16.64

@mavhc
Copy link

mavhc commented Mar 11, 2021

Simplest fix is to remove the check:

// check to see if user has automatic updates enabled in FreePBX settings
if($quietmode && $_REQUEST['ccgraph']) {
        include_once(dirname(__FILE__).'/concurrentcalls/cc_graph.php');
} else {
        //$cm =& cronmanager::create($db);
        //$online_updates = $cm->updates_enabled() ? true : false;
        // check dev site to see if new version of module is available
        //if ($online_updates && $foo = callstatistics_vercheck()) {
        //      echo "<br>A <b>new version of this module is available</b> from the <a target='_blank' href='http://pbxossa.org'>PBX Open Source Software Alliance</a><br>";
        //}
        include_once(dirname(__FILE__).'/concurrentcalls/concurrentcalls.php');
        $module_local = callstatistics_xml2array("modules/callstatistics/module.xml");
        echo $module_local[module][name]." ver: ".$module_local[module][version];
}
?>

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

2 participants