Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2019 06:19:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240657] /www/bareos-webui v.18.2.6 global.php has @@ macros not resolved by preprocessor
Message-ID:  <bug-240657-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240657

            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@FreeBSD.org
          Reporter: dol@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: =E2=80=9CPHP message: PHP Parse error: syntax e=
rror,
unexpected =E2=80=98@=E2=80=99 in /usr/local/www/bareos/config/autoload/glo=
bal.php on line 142=E2=80=9D
while reading response header from upstream, client: 192.168.0.181, server:
bareos, request: =E2=80=9CGET / HTTP/1.1=E2=80=9D, upstream: =E2=80=9Cfastc=
gi://127.0.0.1:9000=E2=80=9D, host:
=E2=80=9C192.168.0.59:9100=E2=80=9D
---

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

---

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

---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240657-7788>