On Tue, 20 Jul 2010 07:11:20 -0700 (PDT) Timothy <[email protected]> wrote: > I have ossec installed on a wide variety of machines, mostly windows, > but some linux. I am using the web user interface and for some reason > I am getting a huge number of php errors with listings of deprecated > functions, I need to fix these before I can concentrate on the > configuration issues with the other machines, I can get the exact > verbage when I reach home, has anyone seen these messages and could > possibly grant me a clue as to where I can go to correct. Thanks
For a quick fix, you can change the setting for what errors PHP returns. You can either add "php_value display_errors 0" to .htaccess, add error_reporting(); to the php files throwing errors (or an include) perhaps error_reporting(E_ERROR); so that real errors continue to be displayed (I suspect the deprecated messages are warnings). I suspect that the web UI doesn't get the 'lovin' it needs and it's simply not up to speed with the latest PHP. -- I invented skydiving in 1989!
