sccp_manager icon indicating copy to clipboard operation
sccp_manager copied to clipboard

PHP Parse Error on Installation

Open justinkoby opened this issue 7 years ago • 4 comments

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?

justinkoby avatar Sep 13 '18 17:09 justinkoby

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

josh2893 avatar Sep 27 '18 11:09 josh2893

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"

PhantomVl avatar Sep 27 '18 15:09 PhantomVl

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

justinkoby avatar Oct 01 '18 16:10 justinkoby

Fix in master

PhantomVl avatar Oct 08 '18 07:10 PhantomVl