I have been attempting to install the latest pbxinaf 3 (centos 6.5, asterisk 11, Green) with free pbx 2.11
It all goes well till i do the final restart. When i log in it shows asterisk is offline. If i attemp to log in to freepbx i can but get only a blank page. I have checked the astrundir variable and its set correctly. The directory exists with proper rights. If if I do the same load but choose freepbx 2.10 it works fine.
If i try to start it with amportal start i get
Please wait...
PHP Fatal error: Cannot make static method DB::connect() non static in class freepbx_db in /var/www/html/admin/libraries/freepbx_DB.php on line 57
PHP Fatal error: Cannot make static method DB::connect() non static in class freepbx_db in /var/www/html/admin/libraries/freepbx_DB.php on line 57
**** WARNING: ERROR IN CONFIGURATION ****
astrundir in '/etc/asterisk' is set to but the directory
does not exists. Attempting to create it with: 'mkdir -p '
mkdir: missing operand
Try `mkdir --help' for more information.
**** ERROR: COULD NOT CREATE ****
Attempt to execute 'mkdir -p ' failed with an exit code of 1
You must create this directory and the try again.
It all goes well till i do the final restart. When i log in it shows asterisk is offline. If i attemp to log in to freepbx i can but get only a blank page. I have checked the astrundir variable and its set correctly. The directory exists with proper rights. If if I do the same load but choose freepbx 2.10 it works fine.
If i try to start it with amportal start i get
Please wait...
PHP Fatal error: Cannot make static method DB::connect() non static in class freepbx_db in /var/www/html/admin/libraries/freepbx_DB.php on line 57
PHP Fatal error: Cannot make static method DB::connect() non static in class freepbx_db in /var/www/html/admin/libraries/freepbx_DB.php on line 57
**** WARNING: ERROR IN CONFIGURATION ****
astrundir in '/etc/asterisk' is set to but the directory
does not exists. Attempting to create it with: 'mkdir -p '
mkdir: missing operand
Try `mkdir --help' for more information.
**** ERROR: COULD NOT CREATE ****
Attempt to execute 'mkdir -p ' failed with an exit code of 1
You must create this directory and the try again.