PhantomVl / sccp_manager

SCCP Manager
35 stars 19 forks source link

Error saving changes on Server Config #109

Open evazzoler opened 3 years ago

evazzoler commented 3 years ago

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

josh2893 commented 3 years ago

Also now getting same error since updating from an old version

evazzoler commented 3 years ago

My installation was clean and first.

Ahh6483 commented 3 years ago

I have this same issue.

steve-lad commented 3 years ago

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

Nelnamara commented 3 years ago

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

vaDrn commented 3 years ago

can someone say how to pull pull request 108 properly?

Terrabytee commented 3 years ago

can someone say how to pull pull request 108 properly?

git fetch origin pull/108/head

vaDrn commented 3 years ago

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.

evazzoler commented 3 years ago

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.

Terrabytee commented 3 years ago

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

steve-lad commented 3 years ago

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

vaDrn commented 3 years ago

@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.

steve-lad commented 3 years ago

@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

vaDrn commented 3 years ago

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.

steve-lad commented 3 years ago

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