ossec / ossec-wui

OSSEC Web User Interface - Unmaintained!!
Other
163 stars 86 forks source link

Using the las WebUI fail the access #21

Closed YnievesDotNet closed 6 years ago

YnievesDotNet commented 6 years ago

hello Gitters.

I stay using the last version, and when I add a first agent the Main Screen then fail.

I get this log.

PHP Fatal error: Uncaught Error: Call to undefined function split() in /var/www/html/lib/os_lib_agent.php:111\nStack trace:\n#0 /var/www/html/site/main.php(33): os_getagents(Array)\n#1 /var/www/html/index.php(126): include('/var/www/html/s...')\n#2 {main}\n thrown in /var/www/html/lib/os_lib_agent.php on line 111

how solve then?

Thanks.

Yoinier.

YnievesDotNet commented 6 years ago

Hello, Solved.

the problem is what I m are using php 7.2, then I need change the split function to explode.

thanks.

Yoinier.