2.11.0beta1 install from scratch

hi freepbx project,

i have upgraded to asterisk 11 on a dev machine and installed freepbx-2.11.0beta1 from the .tar.gz download.

On install, after entering username/password/wwwdir, the script loads checks or loads the module as per normal install, however there is an error message repeated 20 or so times.

Checking core.. PHP Fatal error: require_once(): Failed opening required '/var/www/html/admin/libraries/modulelist.class.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/iPBX/admin/functions.inc.php on line 167 PHP Fatal error: require_once(): Failed opening required '/var/www/html/admin/libraries/modulelist.class.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/iPBX/admin/functions.inc.php on line 167

The install script finishes as per normal displaying this message


  • Note: It’s possible that if you click the red ‘Update Now’ bar BEFORE *
  • updating your modules, your machine will start dropping calls. Ensure *
  • that all modules are up to date BEFORE YOU CLICK THE RED BAR. As long *
  • as this is observed, your machine will be fully functional whilst the *
  • upgrade is in progress. *

When I go to the freepbx admin, my httpd error log shows this

[Mon Feb 25 15:48:57 2013] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: require_once(): Failed opening required ‘/var/www/html/admin/libraries/notifications.class.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /var/www/html/iPBX/admin/functions.inc.php on line 173

It is the same error message as this post http://www.freepbx.org/forum/freepbx/installation/admin-web-interface-gives-500-server-error

Is a notifications module not available on first install?

Hope this is useful to you,
Cheers
Chris

Yes it’s there. Please try installing using a guide.

http://wiki.freepbx.org/display/IFG/Installing+FreePBX+GUI+Home

Maybe you don’t have php-pear-db installed?

pear install db

No.

The problem is clear. He is using beta1. Anything lower than beta2 had issues with a different root path than the standard. As you can see here:

'/var/www/html/admin/libraries/modulelist.class.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/iPBX/admin/functions.inc.php on line 167

His path is iPBX, however, in the past you could ONLY use html/admin.