[Bug 240657] /www/bareos-webui v.18.2.6 global.php has @@ macros not resolved by preprocessor

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 18 06:19:58 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240657

            Bug ID: 240657
           Summary: /www/bareos-webui v.18.2.6 global.php has @@ macros
                    not resolved by preprocessor
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: dol at ngcom.ru

I see blank browser screen after installation bareos-webgui 18.2.6
(nginx+php-fpm webserver)

error in nginx log -

---
 *1 FastCGI sent in stderr: “PHP message: PHP Parse error: syntax error,
unexpected ‘@’ in /usr/local/www/bareos/config/autoload/global.php on line 142”
while reading response header from upstream, client: 192.168.0.181, server:
bareos, request: “GET / HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host:
“192.168.0.59:9100”
---

When I check global.php I see some raw preprocessor macros

---

$directors_ini = "@WEBUICONFDIR@/directors.ini";
$configuration_ini = "@WEBUICONFDIR@/configuration.ini";
...
$arr[key($directors)]['port'] = @dirport@;

---

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list