rflynn/lanmap2

View network blank page / Host by... empty host array

Opened this issue · 0 comments

I have symlinked http://localhost/lanmap2/ -> /usr/src/lanmap2/web.
The db has a size of 130k after running capture so I can assume that there's already some data collected.

Before i performed all the steps from the README including creating the graph.

    id=2
    00:xx:b5:xx:55:d7
      192.168.2.4
    00:xx:e0:xx:31:3e
      192.168.2.101
    00:xx:19:xx:e2:5b
      192.168.2.1
    00:xx:00:xx:b0:7b
      192.168.2.200
    00:xx:48:xx:16:d5
      192.168.2.102
    htype=(69?!)
      \x1c\x9e\xde\x08\x36\x43\x7a\x00\x73\x2e\xc8\x6e\x01\x03\x5b\x1
    }}}
    Generating graph, may take a bit...
    done.

The site view by network is empty.
The host by shows this:

Array
(
    [hp_id] => 
    [id] => 
)

Hostname (ID=)

Warning: reset() [function.reset]: Passed variable is not an array or object in /usr/src/lanmap2/web/host.php on line 85

Warning: Variable passed to each() is not an array or object in /usr/src/lanmap2/web/host.php on line 86