You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
HAProxy plugin:
when I click on "Log File" I got:
Warning: require_once(diag_logs_template.inc): failed to open stream: No such file or directory in /usr/local/www/diag_logs_haproxy.php on line 6 Fatal error: require_once(): Failed opening required 'diag_logs_template.inc' (include_path='/usr/local/etc/inc:/usr/local/www:/usr/local/opnsense/mvc:/usr/local/opnsense/contrib:/usr/local/share/pear:/usr/local/share') in /usr/local/www/diag_logs_haproxy.php on line 6
This was fixed in os-haproxy 2.20 for 20.1 as far as I know, current is 2.21. The info was not included in your report? Also things like os-cache can interfere.
Strange. I have same version 20.1.3 and haproxy 2.20.
Maybe one of upgrades didn't go as planed. I will wait for next upgrade.
I have fixed my problem with old diag_logs_template.inc and I had to comment line: require_once("services.inc"); otherwise if I added also this file I got error function (don't remember name) already declared or something like this.
Describe the bug
HAProxy plugin:
when I click on "Log File" I got:
Warning: require_once(diag_logs_template.inc): failed to open stream: No such file or directory in /usr/local/www/diag_logs_haproxy.php on line 6 Fatal error: require_once(): Failed opening required 'diag_logs_template.inc' (include_path='/usr/local/etc/inc:/usr/local/www:/usr/local/opnsense/mvc:/usr/local/opnsense/contrib:/usr/local/share/pear:/usr/local/share') in /usr/local/www/diag_logs_haproxy.php on line 6
Additional context
https://forum.opnsense.org/index.php?topic=16611.0
Environment
Opnsense 2.1.3
In 20.1.2 release is line: system: drop unused services.inc and diag_logs_template.inc
The text was updated successfully, but these errors were encountered: