FreePBX User Login Warnings

  • If you sent up user accounts for logging in to FreePBX you might see these PHP warnings:

    PHP Warning:  include_once(/etc/asterisk/freepbx.conf): failed to open stream: Permission denied in /var/lib/asterisk/bin/fwconsole on line 13
    PHP Warning:  include_once(): Failed opening '/etc/asterisk/freepbx.conf' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/lib/asterisk/bin/fwconsole on line 13
    PHP Fatal error:  Class 'Symfony\Component\Console\Application' not found in /var/www/html/admin/libraries/FWApplication.class.php on line 11

    You might be worried when you see these. No cause for alarm. FreePBX does this when you log in as an end user rather than as root. If you are using sudo permissions, for example, this comes up because your user account does not have access to these files - which it should not. Feel free to ignore these warnings. If you log in as root you will not get them.

  • Great timing. I was just about to post something similar. Very annoying errors though.

  • Yeah, annoying that it tries to run that when it is unnecessary and doesn't work. Could always track down the script and limit when it is run. But once you know it's just pointless errors, it's not a big deal.

Log in to reply