The client address is 10.20.30.10 and these are the errors pertaining to it:
[Thu Jun 11 18:18:31 2015] [error] [client 10.20.30.10] File does not exist: /var/www/html/ucp, referer: http://10.20.30.253/ucp/?display=dashboard&mod=settings&sub=100 sh: amportal: command not found [Thu Jun 11 18:55:29 2015] [error] [client 10.20.30.10] PHP Strict Standards: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 2195, referer: http://10.20.30.253/admin/config.php [Thu Jun 11 18:55:29 2015] [error] [client 10.20.30.10] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 1217, referer: http://10.20.30.253/admin/config.php [Thu Jun 11 18:55:29 2015] [error] [client 10.20.30.10] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 1666, referer: http://10.20.30.253/admin/config.php [Thu Jun 11 18:55:29 2015] [error] [client 10.20.30.10] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB.php on line 1387, referer: http://10.20.30.253/admin/config.php [Thu Jun 11 18:55:29 2015] [error] [client 10.20.30.10] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 1683, referer: http://10.20.30.253/admin/config.php [Thu Jun 11 18:55:29 2015] [error] [client 10.20.30.10] PHP Strict Standards: Non-static method DB::isError() should not be called statically in /var/www/html/admin/libraries/sql.functions.php on line 24, referer: http://10.20.30.253/admin/config.php [Thu Jun 11 18:55:29 2015] [error] [client 10.20.30.10] PHP Strict Standards: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 2195, referer: http://10.20.30.253/admin/config.php [Thu Jun 11 18:55:29 2015] [error] [client 10.20.30.10] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 1217, referer: http://10.20.30.253/admin/config.php [Thu Jun 11 18:55:29 2015] [error] [client 10.20.30.10] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 1666, referer: http://10.20.30.253/admin/config.php [Thu Jun 11 18:55:29 2015] [error] [client 10.20.30.10] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB.php on line 1387, referer: http://10.20.30.253/admin/config.php [Thu Jun 11 18:55:29 2015] [error] [client 10.20.30.10] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 1683, referer: http://10.20.30.253/admin/config.php [Thu Jun 11 18:55:29 2015] [error] [client 10.20.30.10] PHP Strict Standards: Non-static method DB::isError() should not be called statically in /var/www/html/admin/libraries/sql.functions.php on line 24, referer: http://10.20.30.253/admin/config.php [Thu Jun 11 18:55:29 2015] [error] [client 10.20.30.10] PHP Strict Standards: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 2195, referer: http://10.20.30.253/admin/config.php [Thu Jun 11 18:55:29 2015] [error] [client 10.20.30.10] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 1217, referer: http://10.20.30.253/admin/config.php [Thu Jun 11 18:55:29 2015] [error] [client 10.20.30.10] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB/common.php on line 1292, referer: http://10.20.30.253/admin/config.php [Thu Jun 11 18:55:29 2015] [error] [client 10.20.30.10] PHP Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/DB.php on line 1387, referer: http://10.20.30.253/admin/config.php
I had checked several times before posting and 12.0.24 wasn’t showing as an option. Just checked now, updated and applied config. but still the same issue.
Just updated post subject - it’s ANY change in UCP. Always get a 403 forbidden - it definitely seems to be a permissions issue. I HAVE run amportal chown.
I resolved this. I had selectively created a Linked User for a couple of extensions and set a Custom Username and password. These were the users I was having issues with UCP.
I discovered the resolution when I ran “amportal a userman m” to migrate all users into User Manager and then ran “amportal a ucp enableall” to enable them. Any of the users that WEREN’T the ones I had created the Linked User for manually WORKED. So I deleted the users I created manually, ran the above commands again, and now UCP works for all users.
Can you reproduce this reliably? If so please file a bug at http://issues.freepbx.org with version numbers and the precise steps to reproduce. I have been unable to confirm based on the above.
I know the topic is old but i was able to reproduce the issue very easily ( just end up with same issue).
Asterisk 11.21.2
and freepbx 6.12.65-31
i know it’s end of life but for me it’s still the most stable version. you will experience the probleme if you create the user from the extension config ( like stated in earlier).