Installing bareos-webui on FreeBSD 11.2 leads to the follwing error message:

*Fatal error*: Uncaught Error: Call to undefined function _() in 
/usr/local/www/bareos/module/Application/config/module.config.php:125 Stack 
trace: #0 /usr/local/www/bareos/module/Application/Module.php(55): 
include() #1 
/usr/local/www/bareos/vendor/zendframework/zend-modulemanager/src/Listener/ConfigListener.php(126):
 
Application\Module->getConfig() #2 [internal function]: 
Zend\ModuleManager\Listener\ConfigListener->onLoadModule(Object(Zend\ModuleManager\ModuleEvent))
 
#3 
/usr/local/www/bareos/vendor/zendframework/zend-eventmanager/src/EventManager.php(444):
 
call_user_func(Array, Object(Zend\ModuleManager\ModuleEvent)) #4 
/usr/local/www/bareos/vendor/zendframework/zend-eventmanager/src/EventManager.php(205):
 
Zend\EventManager\EventManager->triggerListeners('loadModule', 
Object(Zend\ModuleManager\ModuleEvent), NULL) #5 
/usr/local/www/bareos/vendor/zendframework/zend-modulemanager/src/ModuleManager.php(174):
 
Zend\EventManager\EventManager->trigger('loadModule', 
Object(Zend\ModuleManager\ModuleManager), Object(Zend\ModuleManag in 
*/usr/local/www/bareos/module/Application/config/module.config.php* on line 
*125*


Is this an issue with a php library, as described at 
https://github.com/poweradmin/poweradmin/issues/316

During installation the package manager did install a limited set of php 
modules, less than given at 
https://vermaden.wordpress.com/2018/05/01/bareos-backup-server-on-freebsd/

root@bareos:/usr/local/etc/apache24/Includes # pkg install bareos-webui
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 11 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        bareos-webui: 18.2.6
        php72-session: 7.2.22
        php72: 7.2.22
        php72-ctype: 7.2.22
        php72-openssl: 7.2.22
        php72-hash: 7.2.22
        php72-json: 7.2.22
        php72-gettext: 7.2.22
        php72-pdo_pgsql: 7.2.22
        php72-pdo: 7.2.22
        php72-iconv: 7.2.22

Number of packages to be installed: 11

Vermaden lists: 




*pkg install \
  bareos-client bareos-server bareos-webui postgresql95-server nginx \
  php56 php56-xml php56-session php56-simplexml php56-gd php56-ctype \
  php56-mbstring php56-zlib php56-tokenizer php56-iconv php56-mcrypt \
  php56-pear-DB_ldap php56-zip php56-dom php56-sqlite3 php56-gettext \
  php56-curl php56-json php56-opcache php56-wddx php56-hash php56-soap*Any idea 
how to resolve the issue?

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/91d0d42e-f91c-4e6e-a079-5e2252cf31f8%40googlegroups.com.

Reply via email to