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. Phonebook fails after FOP Framework update to 2.8.0.6

Phonebook fails after FOP Framework update to 2.8.0.6

Scheduled Pinned Locked Moved Support
6 Posts 2 Posters 65 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.
  • R
    R
    rob
    wrote on last edited by
    #1

    First of all, FOP2 is a great tool, gratz for that, we appreciate it a lot. Its been working perfectly for a couple of days.

    After a Fop Framework update to version 2.8.0.6 via the FreePBX Module Admin the Phonebook stopped working. Which means clicking on the phonebook button in the top right opens a popup without content, no progress bar or sth, not even an error message after waiting for a couple of minutes, just the "close" button at the bottom works.

    Unfortunately I cannot downgrade the FOP Framework via the Module Admin. The only benefit that update brought was that FOP1 works correct now (did not update when new sip clients registered, so we only saw our four testphones registered from the beginning, is running on port 4446 by the way)

    So far my debugging:

    • fop2_server --test says everything is ok
    • mysql -u fop2 --database=fop2 -pXXXXX -e "desc visual_phonebook" works fine
    • the mysql query log does not get any queries when opening the phonebook in the gui
    • fop2_server --debugLevel=5 did not provide any helpful information

    Any help welcome, I'm kinda stuck on this one 😕

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

      The phonebook is the only php part of fop2. Check your apache error log file for php errors or something similar. fop2 server is not related to the phonebook itself, you can try it also by just pointing your browser to /fop2/phonebook.php

      Best regards,

      1 Reply Last reply
      0
      • R
        R
        rob
        wrote on last edited by
        #3

        Thanks, good hint, my fault, there was a typo in the config.php, unfortunately this brought me to another error. I can see the phonebook data, but above it says:

        notice
        /var/www/html/fop2/lib/dblib.php (line 233)
        mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource

        Also the dropdown below the dial box does not open up.

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

          It seems there is still a typo, or that your mysql credentials or config are not correct. Did you create the phonebook database? is the mysql user, pass and database name correct in config.php?

          1 Reply Last reply
          0
          • R
            R
            rob
            wrote on last edited by
            #5

            I reinstalled fop2 via make install which seems just to create new config files. Filled in the credentials and everything works again. Thanks for the fast reply, great support!

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

              Good to hear..

              perhaps you made a symlink in fop2 to panel , in that way, you are sharing the location between fop1 and fop2, and after the update several files where copied over?

              If you want to replace /panel with /fop2 the best way is to use an apache alias, as described in the FAQ. That way you can update the fop1 framework without modifying the fop2 files, and every link to fop1 will open up fop2 instead.

              Best regards,

              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