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. Fault in autoconfig-buttons-freepbx.sh

Fault in autoconfig-buttons-freepbx.sh

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 110 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.
  • K
    K
    Karesz
    wrote on last edited by
    #1

    I installed FOP2 v2.11 on Elastix 2.0.0.42; FreePBX 2.7.0.9. Even after installing the FreePBX module, I did not have any buttons (not even the menu buttons). So I started to investigate how the buttons are generated and found the following:
    In the file autoconfig-buttons-freepbx.sh, line 36 the mysql command has an option -N. It directs mysql to skip column names. Since there are no column names none of the sed commands work correctly and the output is a mess, making FOP2 crazy. When I removed the -N option, buttons just appeared.

    Is is a real fault or it is intentionally made like this and it usually works with -N, only my system misinterprets it in some way?

    Thanks for the tool, by the way 🙂

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

      Hello,

      There are some post in the forums related to this. The problem is that mysql have changed command line parameters in its latest version. There is an updated autoconfig-buttons-freepbx.sh script available for download at:

      http://www.fop2.com/downloads/autoconfi ... reepbx.txt

      I will probably make an interim release with this fix and some other small bug fixes before releasing the next version that will be a major update, and it is taking some time to get ready.

      Best regards,

      1 Reply Last reply
      0
      • K
        K
        Karesz
        wrote on last edited by
        #3

        Hi,
        Thanks for the prompt answer. I tried the download link (even with .sh instead of .txt) but it does not seem to exist.
        Karesz

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

          Just edit the script you have and replace all instances of "-ENB" with "-EB"

          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