FOP2 on seperate server

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

Comments

  • 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
  • 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 ?
  • 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");
  • 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.
Sign In or Register to comment.