Fop2 Manager don't load

  1. 9 years ago

    Hello Admin,

    I have a new problem with the module.
    For an unknow reason, today I can't access my fop2 manager page, before it was possible. When I try to load the page, my browser display quickly 'connected to my server' but nothing happen.
    It's strange because I can access to the panel with my buttons when I log with an user created from the manager page.
    I tried different checks and it seems fine.

    Thanks for your help.

  2. admin

    5 Jan 2015 Administrator

    Not sure, as it is a standard web page, it does not show quickly things and then hides them, it should display a page or not. In any case, you can enable debug in /var/www/html/fop2/admin/config.php and see if it outputs anything meaningful. You can also disable the usage of freepbx authentication, perhaps you have some kind of issues with them...

  3. Enable the debug helped me. When I have reloaded the page, it displays some errors. A file was missing specified in system.php.
    After some modifications, I can access my manager, thanks for your help.
    Then after loggued with the manager, I have a message :

    /var/www/html/fop2/admin/functions-astdb.php (line 133)
    array_shift() expects parameter 1 to be array, boolean given

    So I commented the line and it diseappear. Hope it doesn't impact something important.

    Thanks.

  4. admin

    6 Jan 2015 Administrator

    Do you remember what was the missing file? It seems you are using vanilla asterisk, right ? (no freepbx, thirdlane, pbxware)? In the case of vanilla asterisk it is always needed to do some tweaks to some .php files/functions to match your setup.

  5. Edited 9 years ago by lacava

    The file was "functions-elastix.php". But I've searching for it but don't find it and remember never saw it anywhere. I'm on Elastix 3 and it seems it create additional 'if' test calling this file so I comment this part and it resolves my problem.

  6. admin

    7 Jan 2015 Administrator

    Strange, that file is part of fop2manager 1.0.4, I am just checking the tarball for it. What version do you have installed?

  7. I just don't know where this part of code come from. I installed fop2 from the 2.28 final version.

or Sign Up to reply!