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. Refresh labels is not working

Refresh labels is not working

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 248 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.
  • E
    E
    elnino
    wrote on last edited by
    #1

    I have a licensed copy of FOP2 and it is installed and working on my FreePBX install with some minor exceptions:

    I'm trying to refresh the labels of the extensions and it is not working - One extension has been deleted alltogether and the other has been renamed but they remain in the FOP2 panel.

    The extension list in the buttons tab (fop2admin) is correct but in FOP2 it's incorrect.

    Running the refresh labels option in fop2admin gives:

    /var/www/html/fop2/admin/functions.inc.php (line 2005)
    Invalid argument supplied for foreach()
    

    And I also notice this in the templates section:

    /var/www/html/fop2/admin/pagebs.fop2templates.php (line 47)
    Function ereg_replace() is deprecated
    

    I have also tried running /usr/local/fop2/autoconfig-buttons-freepbx.sh and this does not seem to fix it either.

    Any suggestions?

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

      It seem you do not have the final version of fop2manager, but a beta? ereg_replace is nowhere in the source. Try downloading fop2manager again, or upgrade to FOP 2.28 that already includes the latest fop2manager version.

      Another thing you might see after renaming an extension in FreePBX is actually a FreePBX bug, where the queue member names are not changed. As fop2 will rename button labels to their queue member names if they are queue members, then you will see the old name on some buttons, because that old name is set in queues. To verify if you have that issue, do an:

      asterisk -rx "queue show"

      And check the member names. If you see an old name there, you will have to edit the queue, remove the member, save&apply, then add the member again and save&apply.

      Best regards,

      1 Reply Last reply
      0
      • E
        E
        elnino
        wrote on last edited by
        #3

        The installed version was 2.27 - I have updated it to 2.28 and this seems to have resolved all of the problems with no other intervention.

        Apologies for not doing this first, I only installed it a few weeks ago so I didn't consider that a new version would be available.

        Thank you very much for your assistance.

        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