PhantomVl / sccp_manager

SCCP Manager
35 stars 19 forks source link

PHP Parse Error on Installation #26

Open justinkoby opened 6 years ago

justinkoby commented 6 years ago

When I go into Module Administration to install the manager module, I get an error that states:

syntax error, unexpected '('

/var/www/html/admin/modules/sccp_manager/Sccp_manager.class.php
     *  Show form information - General
     */

    public function myShowPage() {
        $request = $_REQUEST;
        $action = !empty($request['action']) ? $request['action'] : '';

        if (!empty(($this->sccpvalues['displayconfig']))) {
            if (!empty(($this->sccpvalues['displayconfig']['data'] == 'sccpsimple'))) {
            $this->pagedata = array(

It appears as if it is on the if (!empty(($this->sccpvalues['displayconfig']))) line. Anybody seen a similar issue?

josh2893 commented 6 years ago

Yes I got the same issue on a newer version of asterisk. Had to use this distro then it worked FreePBX 10.13.66-64bit

PhantomVl commented 6 years ago

Specify which version of OS / Astrisk / Freepbx is the problem. The latest version that was tested "sccp_manager" is Centos 7.5 Asterisk-15 Freepbx 14.0.3.18. At live CD , for example "SNG7-PBX-64bit-1805-1", I can't to compile "chan-sccp"

justinkoby commented 6 years ago

I installed with the AsteriskNow iso.

Currently, it appears as if I am running FreePBX 13.0.195.12.

cat /etc/*release reports I am running SHMZ release 6.6

PHP 5.3.28 & apache 2.2.15

PhantomVl commented 6 years ago

Fix in master