You are not logged in.

#1 2020-08-01 04:29:59

giovannotti69
Member
Registered: 2017-02-02
Posts: 5

Bareos-webui: ZendFrame error

Hi

I've successfully installed the bareos suite (bareos-bconsole bareos-database-common bareos-database-postgresql bareos-tools bareos-director bareos-storage bareos-webui), and the initial setup in the services are stable (bareos-fd, sd and dir are up). After configuring the bareos webui the following error message appears (in /var/log/httpd/error_log):

[php7:error] [pid xxxx] [client IP:PORT] PHP Fatal error:  Uncaught Error: Call to undefined function _() in /usr/share/webapps/bareos-webui/module/Application/config/module.config.php:126

Stack trace:
#0 /usr/share/webapps/bareos-webui/module/Application/Module.php(56): include()
#1 /usr/share/webapps/bareos-webui/vendor/zendframework/zend-modulemanager/src/Listener/ConfigListener.php(126): Application\\Module->getConfig()
#2 [internal function]: Zend\\ModuleManager\\Listener\\ConfigListener->onLoadModule()
#3 /usr/share/webapps/bareos-webui/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func()
#4 /usr/share/webapps/bareos-webui/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\\EventManager\\EventManager->triggerListeners()
#5 /usr/share/webapps/bareos-webui/vendor/zendframework/zend-modulemanager/src/ModuleManager.php(174): Zend\\EventManager\\EventManager->trigger()
#6 /usr/share/webapps/bareos-webui/vendor/zendframework/zend-modulemanager/src/ModuleManager.php(96): Zend\\ModuleManager\\ModuleManager->loadModule()
#7 [inter in /usr/share/webapps/bareos-webui/module/Application/config/module.config.php on line 126

The presentation in the web browser is a blank page.

I've installed zendframework2 and configured their path in php (include_path = ".:/usr/share/zendframework2:/usr/include/php"), since bareos-webui is based on it (https://www.bareos.com/en/bareos-webui.html?page_n1=12)

Any clue on how to configure zendframe2 or something to solve the error?

Best Regards

Offline

Board footer

Powered by FluxBB