Problems with Freepbx GUI

Hi

I’m using Freepbx 2.11.0 for a year and everything was going well until a few weeks ago.

I lost access to the GUI interface and, when I tryied to access, a message appeared saying the password was wrong.

I followed many tips that I found on Google, checking configuration files and file attributes.

I saw that the user ‘admin’ wasn´t in the DB table ampusers and added again.

However, same message still appears when a tried to login. Menu bar was displayed stating that the admin user was logged in, but when any item of the menu are clicked they dont open.

Any clue or tip?

Thanks in advance

Please run

amportal chown

I made it … but doesn´t work in my case.

I checked /etc/amportal.conf, /etc/freepbx.conf, /etc/asterisk/manager.conf … rechecked mysql reg and everything are equal. :frowning:

My problem is a hacked system! I just compare with a similar installation and found a bunch of .php files and a diferent version of config.php.

I changed and delete files and I restored access. I ll reinstall in next month.

But I need to change some configuration and another problem appear… some of configuration don´t appear like my extensions (endpoints).

Thye are there (in DB and we can see tham in CLI of Asterisk).

Again … any clue or tip? :smile:


Logged errors

[2014-Aug-12 00:25:17] [PHP-NOTICE] (/var/www/html/admin/modules/ringgroups/page.ringgroups.php:201) - Undefined variable: gresult
[2014-Aug-12 00:25:17] [PHP-WARNING] (/var/www/html/admin/modules/ringgroups/page.ringgroups.php:269) - Invalid argument supplied for foreach()
[2014-Aug-12 00:25:17] [PHP-WARNING] (/var/www/html/admin/modules/core/functions.inc.php:793) - textdomain() expects exactly 1 parameter, 0 given

[2014-Aug-12 00:32:55] [PHP-NOTICE] (/var/www/html/admin/modules/core/page.ampusers.php:156) - Undefined variable: password_sha1

[2014-Aug-12 00:32:55] [PHP-NOTICE] (/var/www/html/admin/modules/core/page.ampusers.php:156) - Undefined variable: password_sha1
[2014-Aug-12 00:35:02] [PHP-NOTICE] (/var/www/html/admin/modules/customappsreg/functions.inc.php:224) - Undefined variable: my_hash
[2014-Aug-12 00:35:30] [PHP-NOTICE] (/var/www/html/admin/modules/customappsreg/page.customextens.php:11) - Undefined variable: custom_exten
[2014-Aug-12 00:35:38] [PHP-NOTICE] (/var/www/html/admin/modules/languages/page.languages.php:76) - Undefined variable: tabindex
[2014-Aug-12 00:35:38] [PHP-WARNING] (/var/www/html/admin/modules/core/functions.inc.php:793) - textdomain() expects exactly 1 parameter, 0 given
[2014-Aug-12 00:35:41] [PHP-NOTICE] (/var/www/html/admin/modules/parking/page.parking.php:82) - Undefined index: paging
[2014-Aug-12 00:35:41] [PHP-NOTICE] (/var/www/html/admin/modules/parking/page.parking.php:85) - Undefined index: pagingpro
[2014-Aug-12 00:35:41] [PHP-NOTICE] (/var/www/html/admin/modules/parking/page.parking.php:88) - Undefined index: parkpro
[2014-Aug-12 00:35:45] [PHP-NOTICE] (/var/www/html/admin/modules/queues/page.queues.php:270) - Undefined variable: tabindex
[2014-Aug-12 00:35:45] [PHP-WARNING] (/var/www/html/admin/modules/queues/page.queues.php:396) - Invalid argument supplied for foreach()
[2014-Aug-12 00:35:45] [PHP-NOTICE] (/var/www/html/admin/modules/queues/page.queues.php:407) - Undefined variable: dynmembers
[2014-Aug-12 00:35:45] [PHP-NOTICE] (/var/www/html/admin/modules/queues/page.queues.php:407) - Undefined variable: dynmembers
[2014-Aug-12 00:35:45] [PHP-WARNING] (/var/www/html/admin/modules/queues/page.queues.php:424) - Invalid argument supplied for foreach()
[2014-Aug-12 00:35:45] [PHP-WARNING] (/var/www/html/admin/modules/core/functions.inc.php:793) - textdomain() expects exactly 1 parameter, 0 given
[2014-Aug-12 00:35:59] [PHP-WARNING] (/var/www/html/admin/modules/core/functions.inc.php:793) - textdomain() expects exactly 1 parameter, 0 given
[2014-Aug-12 00:36:03] [PHP-WARNING] (/var/www/html/admin/modules/core/functions.inc.php:793) - textdomain() expects exactly 1 parameter, 0 given

I made another test accessing directly my extension information in

http://10.30.200.100/admin/config.php?type=&display=extensions&extdisplay=1560

and when I tried to save I received a message saing “warning extension 1560 is not allowed for your account”

Any clue?

TIA