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 on seperate server

FOP2 on seperate server

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 127 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.
  • D
    D
    dstamour
    wrote on last edited by
    #1

    I've installed a FOP2 server on a separate server as per this document:
    http://support.asternic.biz/?/selfhelp/view-article/installing-fop2-on-a-separate-server/8

    When I run:
    php /var/www/html/fop2/admin/update_conf.php
    I get an error in "functions-custom.php" line 167. That line is:
    if(!$res = $astman->connect("localhost:".$conf["MGRPORT"], $conf["MGRUSER"] , $conf["MGRPASS"], 'off')) {

    I've changed "localhost" on that line by the IP of the remote asterisk server and now I don't get the error anymore but when I go in the admin panel I don't see any extensions. I've check the MySQL credentials and they're OK. If I check in the asterisk database, I see a bunch of fop2 tables so I guess they were created by "update_conf.php". I can connect from the mysql command line of the FOP2 server to the remote asterisk MySQL server with the credentials in "/var/www/html/fop2/admin/config.php".

    Thanks for your help
    Daniel

    1 Reply Last reply
    0
    • D
      D
      dstamour
      wrote on last edited by
      #2

      Also when we logout of the admin panel we get:

      Warning
      You must have a functions-custom.php file in the manager directory.
      FOP2 Manager - Version 1.1.4

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

        That error was fixed on 1.1.4.. please type this and paste the output:

        grep config /var/www/html/fop2/admin/secure/logout.php

        What is the output ?

        1 Reply Last reply
        0
        • D
          D
          dstamour
          wrote on last edited by
          #4

          Sorry for the delay, I was on vacation for the last 2 weeks.

          grep config /var/www/html/fop2/admin/secure/logout.php

          require_once("../config.php");

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

            contact me via the live help, as I said that error was fixed already and you should not be seeing that warning, only way to check is for me to look at your actual install/setup.

            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