Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Fop2 Admin Panel not log in

Fop2 Admin Panel not log in

Scheduled Pinned Locked Moved Support
11 Posts 6 Posters 4.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N
    N
    njackson
    wrote on last edited by
    #2

    I found this to be the case with FreePBX 10.13.66 distro (FreePBX 13.0.192.9) and FOP2 (2.31.11)/FOP2 Manager (1.1.8).

    I am able to login using FreePBX gui credentials but for some reason after logging into FreePBX the login information is not carrying over to FOP2 Manager as advertised.

    1 Reply Last reply
    0
    • A
      A
      asifahmed009
      wrote on last edited by
      #3

      But My FreePBX Version is 2.11.0 , I m Using Elastix 4.0 and asterisk 11.25.
      Any suggestion ??

      1 Reply Last reply
      0
      • F
        F
        FreerPBXer
        wrote on last edited by
        #4

        Having the same problem here. Just updated FOP2 to 2.31.12. Now cannot login to the admin panel. FreePBX 10.13.66-20. Have restarted the FOP2 service several times.

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #5

          I will push a new FOP2 version shortly, in the meantime, edit /var/www/html/fop2/admin/secure/secure-functions.php, line 115, from this:

          $query = "SELECT username AS login,IF(sections LIKE '%*%','admin','user') AS level,username AS name FROM ";
          

          to this

          $query = "SELECT username AS login,IF(sections LIKE '%%*%%','admin','user') AS level,username AS name FROM ";
          

          Also, edit /var/www/html/fop2/admin/config.php and if you have:

          define('USE_FREEPBX_AUTH',true);
          

          change it to

          define('USE_BACKEND_AUTH',true);
          

          That should do the trick.

          1 Reply Last reply
          0
          • A
            A
            asifahmed009
            wrote on last edited by
            #6

            Not resolved same error.

            1 Reply Last reply
            0
            • F
              F
              FreerPBXer
              wrote on last edited by
              #7

              Just upgraded an affected system from 2.31.11 to 2.31.14 and still cannot login to the admin panel with the integrated fr33pbx login. Help?

              1 Reply Last reply
              0
              • N
                N
                nicolas
                wrote on last edited by
                #8

                First of all, it is not needed to restart FOP2 at all if you have issues with the FOP2 Manager. They are not related, one thing is the switchboard, a different application is the manager. So, if you have issues with the FOP2 manager, you can let alone the fop2 service, as a change in /fop2/admin/config.php does not affect the switchboard.

                As for unable to login, you might have three different problems:

                1. invalid credentials alert
                2. insufficient privileges alert
                3. nothing

                And also two possible scenarios:

                1. running a 'known' auth backend like FPBX, Issabel or Ombutel
                2. not running a 'nown' auth backend or using vanilla Asterisk

                Depending on the problem, you should review different things.

                If you want to share authentication credentials with your asterisk config backend (if supported), then set USE_BACKEND_AUTH to true, if not, set it to false and authentication/authorization will be made against FOP2 Manager own user tables (fop2managerusers, fop2manageracl and fop2managersecurelevel)

                If you set backend auth to false, then you should try to log with the default user/pass that was configured in /var/www/html/fop2/admin/config.php... if you see invalid credentials, then either the user or password is wrong, if you get insuficient privileges, then acl is not set or wrong. fop2manageracl table should have around 17 entries with sections and their required secure level, and fop2managersecurelevel both the admin and user levels set). If any of those tables is empty, then you will need them populated.

                Best regards,

                1 Reply Last reply
                0
                • P
                  P
                  Parlanoo974
                  wrote on last edited by
                  #9

                  Hello,

                  I have a similar problem, just upgraded fop2admin (to 1.19 if memory is good) and no more login.

                  The credentials are default and I get no error message.
                  If I try different credentials I Get an error message

                  In ssl_error_log I got :
                  PHP Fatal error: Call to undefined function fop2_get_plugins_menu() in /var/www/html/fop2/admin/menu.php on line 6

                  I think it was during the upgrade process

                  1 Reply Last reply
                  0
                  • P
                    P
                    Parlanoo974
                    wrote on last edited by
                    #10

                    Hello, I forgot to say, I use Elatix 3 MTE. All was working fine before upgrade of the manager

                    1 Reply Last reply
                    0
                    • X
                      X
                      xptpa2020
                      wrote on last edited by
                      #11

                      We run FreePBX v13 (completely updated modules and core). That box has FOP2 running, updated to the most recent version (.15). The "default" admin account in FreePBX can access fop2 manager without issues. There is another account, called CAAdmin, that has been created in FreePBX user manager and given full admin rights. That account works perfect in FreePBX to admin anything on the PBX in FreePBX. However, that account cannot log into FOP2 Manager; it always states "invalid credentials".

                      I thought if the account (CAAdmin in this instance) has full FreePBX admin rights it should be able to log into FOP2 Manager.

                      Direction is appreciated.

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      Powered by NodeBB Contributors
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups