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

Module installation issue: a non-numeric value encountered #73

Open
DJUnreal opened this issue May 3, 2020 · 2 comments
Open

Module installation issue: a non-numeric value encountered #73

DJUnreal opened this issue May 3, 2020 · 2 comments

Comments

@DJUnreal
Copy link

DJUnreal commented May 3, 2020

When trying to install the sccp_manager module into a FreePBX system (freshly built, using the latest Raspbian, php 7.3, pre-packaged asterisk and chan_sccp compiled from source), I get partway through the installation either via the GUI or CLI (have tried both). The most recent attempt, using source pulled from this git repo and the install process at https://github.com/PhantomVl/sccp_manager/wiki throws the following error:

<li>Checking for Sccp_manager database tables..</li><li>Checking Asterisk Version : </li><li>Sccp model Compatible code : 433</li><li>Checking for previw version Sccp_manager..</li><li>Create Config BackUp</li><li>Create Config BackUp: /etc/asterisk/sccp_instal_backup20200503.zip</li><li>Move Old Config</li><li>Creating sccpuser table...</li><li>Creating buttons table...</li><li>Creating sccpsettings table...</li><li>Creating sccpdevmodel table...</li><li>Modify Database schema</li><li>Update table row :6</li><li>Modify table</li><li>Total modify count :1</li><li>Fill sccpdevmodel</li><li>Update sccpdevice</li><li>(Re)Create buttonconfig trigger</li><li>(Re)Create trigger Ok</li><li>(Re)Create sccpdeviceconfig view</li><li>Update DB Ver</li>
In install.php line 744:
                                   
  A non-numeric value encountered  
                                   

moduleadmin [-f|--force] [-d|--debug] [--edge] [--stable] [--color] [--skipchown] [-e|--autoenable] [--skipdisabled] [--snapshot SNAPSHOT] [--format FORMAT] [-R|--repo REPO] [-t|--tag TAG] [--skipbreakingcheck] [--sendemail] [--onlystdout] [--] [<args>]...

As an aside, it also throws warnings that:

!******! 'amportal' IS DEPRECIATED. PLEASE USE 'fwconsole' !******!
FORWARDING ALL COMMANDS TO 'fwconsole', OUTPUT WILL BE MODIFIED
CONTINUING TO RELY ON AMPORTAL WILL HAVE UNDESIRED CONSEQUENCES

Might want to update the instructions for that.

@PhantomVl
Copy link
Owner

Fix

@DJUnreal
Copy link
Author

DJUnreal commented May 4, 2020

Thanks - the new version worked nicely for installing via the GUI

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