Something went wrong

  1. 9 years ago

    I did a yum update yesterday on my Elastix 2.5 server. When my users tried to log in they received the "invalid session" message. I did a search & found there were problems with the update process. I removed index.php as suggested & received the "something went wrong" message. Searched again & copied index.html to fop2.html & removed index.html. Restarted fop2 each time.
    The manager works & all the settings are there.
    When I run /var/www/html/fop2/admin/update_conf.php I get the following
    /var/www/html/fop2/admin/update_conf.php: line 1: ?php: No such file or directory
    /var/www/html/fop2/admin/update_conf.php: line 3: //: is a directory
    /var/www/html/fop2/admin/update_conf.php: line 4: syntax error near unexpected token `!='cli''
    /var/www/html/fop2/admin/update_conf.php: line 4: `if (php_sapi_name() !='cli') exit;'

    autoconfig-users.sh returns a normal looking list with users, groups, plugins, etc.
    I originally install fop2 2.28 from the tarball.
    Any ideas on how to fix this?
    Thanks

  2. I also see [error] [client 192.168.12.2] PHP Notice: Undefined index: elastix_user in /var/www/html/fop2/index.php on line 11
    in the httpd log

  3. admin

    25 Mar 2015 Administrator

    You have to reinstall the FOP2 version you had from tarball and then copy one file

    cp /var/www/html/fop2/index.html /var/www/html/fop2/fop2.html

    That should clear up your issues (The Elastix update installs probably an older and modified FOP2 version)

    Best regards,

or Sign Up to reply!