sccp_manager icon indicating copy to clipboard operation
sccp_manager copied to clipboard

Error saving changes on Server Config

Open evazzoler opened this issue 3 years ago • 15 comments

Since first installation I get an error whem I save config in Server Config: "Illegal string offset 'Response" - File:/var/www/html/admin/modules/sccp_manager/Sccp_manager.class.php:694". I have no issues on my installation, so I can't figure out the problem.

See attachment. manager_issue

evazzoler avatar Mar 10 '21 16:03 evazzoler

Also now getting same error since updating from an old version

josh2893 avatar Mar 19 '21 14:03 josh2893

My installation was clean and first.

evazzoler avatar Mar 19 '21 21:03 evazzoler

I have this same issue.

Ahh6483 avatar Mar 21 '21 04:03 Ahh6483

This has been fixed in PR 108 - you need to pull this.

steve-lad avatar Mar 23 '21 06:03 steve-lad

Can confirm this is fixed with PR 108. I also learned how to merge a pull into my install!

Nelnamara avatar May 27 '21 06:05 Nelnamara

can someone say how to pull pull request 108 properly?

vaDrn avatar Jun 06 '21 01:06 vaDrn

can someone say how to pull pull request 108 properly?

git fetch origin pull/108/head

Terrabytee avatar Jun 06 '21 01:06 Terrabytee

thank you. git fetch origin pull/108/head - still gives config file save error git fetch origin pull/108/head:NewBranchName and then switching to it with git checkout NewBranchName fixed the issue.

vaDrn avatar Jun 06 '21 01:06 vaDrn

I tried all the suggestions but I can't get the fix. I'm not a git expert. If someone can point me to the correct PR 108 code, I'll copy it to my local installation manually. Thanks.

evazzoler avatar Jun 07 '21 06:06 evazzoler

I tried all the suggestions but I can't get the fix. I'm not a git expert. If someone can point me to the correct PR 108 code, I'll copy it to my local installation manually. Thanks.

In order for any git commands to work you will have needed to download the repository through git commands instead of just uploading the zip file into FreePBX.

If you have done that, and the commands listed by myself or vaDrn above are not working, then go into the module's directory at /var/www/html/admin/modules/sccp_manager and run this command git reset then try running git fetch origin pull/108/head

Terrabytee avatar Jun 07 '21 12:06 Terrabytee

Forget using GIT. Already posted, we have moved the repository to chan-sccp and have a release with all fixes that does not need you to use git. Read the installation instructions there in the section FreePBX and you should be good. https://github.com/chan-sccp/chan-sccp/wiki

steve-lad avatar Jun 07 '21 13:06 steve-lad

@steve-lad I followed install instructions on https://github.com/chan-sccp/chan-sccp/wiki dev module didn't istalled (broken page with with errors), stable one installed successfully but didn't setup realtime db after install

image

very likely i did something wrong, but I had no similar issues on this repo with git install.

vaDrn avatar Jun 10 '21 03:06 vaDrn

@vaDrn If you had no issues with git install, then the files listed above must be there and correct; except that they are not! Stable does not fix these files, Develop does. Post the contents of /etc/asterisk/extconfig.conf

steve-lad avatar Jun 10 '21 12:06 steve-lad

sorry for being bit misleading. I meant that PhantomV's sccp_manager installs correctly through git.

I'ts sccp_manager on sccp-chan git that i can't install correctly.

I'll make issue ticket on sccp-chan git.

vaDrn avatar Jun 10 '21 21:06 vaDrn

@vaDrn This issue has been fixed in Develop https://github.com/chan-sccp/chan-sccp/wiki

steve-lad avatar Jun 11 '21 15:06 steve-lad