Project

General

Profile

Actions

Feature #2801

closed

Display (all) PHP logs in the Web UI

Added by Malte Stretz almost 13 years ago. Updated almost 13 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Start date:
02/07/2013
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:

Description

I am currently debugging PHP authentication for OpenVPN and when running the script from the shell I got a PHP Warning which might or might not be useful. It would have been helpful if I had seen this in the Web UI. Digging into the PHP config I found out that the error_log is set to /tmp/PHP_errors.log. And indeed, here are my Warnings:

[07-Feb-2013 10:35:40] PHP Warning: in_array(): Wrong datatype for second argument in /usr/local/www/system_certmanager.php on line 810
[07-Feb-2013 10:35:40] PHP Warning: in_array(): Wrong datatype for second argument in /usr/local/www/system_certmanager.php on line 810
[07-Feb-2013 10:35:40] PHP Warning: in_array(): Wrong datatype for second argument in /usr/local/www/system_certmanager.php on line 810
[07-Feb-2013 10:42:37] PHP Warning: in_array(): Wrong datatype for second argument in /usr/local/www/system_certmanager.php on line 810
[07-Feb-2013 10:42:37] PHP Warning: in_array(): Wrong datatype for second argument in /usr/local/www/system_certmanager.php on line 810
[07-Feb-2013 10:42:37] PHP Warning: in_array(): Wrong datatype for second argument in /usr/local/www/system_certmanager.php on line 810
[07-Feb-2013 10:43:21] PHP Warning: in_array(): Wrong datatype for second argument in /usr/local/www/system_certmanager.php on line 810
[07-Feb-2013 10:43:21] PHP Warning: in_array(): Wrong datatype for second argument in /usr/local/www/system_certmanager.php on line 810
[07-Feb-2013 10:43:21] PHP Warning: in_array(): Wrong datatype for second argument in /usr/local/www/system_certmanager.php on line 810
[07-Feb-2013 12:02:39] PHP Warning: ldap_connect(): Could not create session handle: Bad parameter to an ldap routine in /etc/inc/auth.inc on line 1017
[07-Feb-2013 12:08:42] PHP Warning: ldap_connect(): Could not create session handle: Bad parameter to an ldap routine in /etc/inc/auth.inc on line 1017
[07-Feb-2013 12:12:14] PHP Warning: ldap_connect(): Could not create session handle: Bad parameter to an ldap routine in /etc/inc/auth.inc on line 1017
[07-Feb-2013 12:12:33] PHP Warning: ldap_connect(): Could not create session handle: Bad parameter to an ldap routine in /etc/inc/auth.inc on line 1017
[07-Feb-2013 12:14:44] PHP Warning: ldap_connect(): Could not create session handle: Bad parameter to an ldap routine in /etc/inc/auth.inc on line 1017
[07-Feb-2013 12:16:01] PHP Warning: ldap_connect(): Could not create session handle: Bad parameter to an ldap routine in /etc/inc/auth.inc on line 1017
[07-Feb-2013 12:22:56] PHP Warning: ldap_connect(): Could not create session handle: Bad parameter to an ldap routine in /etc/inc/auth.inc on line 1017

It would be ice if either this file would be available via the Logging section of the Web UI or error_log was set to syslog so we got these information from the standard place.

Actions #1

Updated by Jim Pingle almost 13 years ago

  • Status changed from New to Rejected

On 2.1 (where development is typically done) these do show on the dashboard as a crash report, so they can be viewed and cleared.

Actions

Also available in: Atom PDF