mbolli / nfsen-ng

Responsive NetFlow visualizer built on top of nfdump tools.
Apache License 2.0
232 stars 44 forks source link

Update README.md #93

Closed systeembeheerder closed 1 year ago

systeembeheerder commented 1 year ago

Installation also works for the current Debian stable (12/bookworm) with a small edit.

systeembeheerder commented 1 year ago

unfortunately support for php 8.2 is far from complete on this project.

mbolli commented 1 year ago

@systeembeheerder there's an open branch for PHP 8.2 if you want to test it https://github.com/mbolli/nfsen-ng/pull/90

systeembeheerder commented 1 year ago

I tried and gave up really quick.

First The installation instructions did not mention the dependency on php-mbstring Second

# ./cli.php
PHP Warning:  include_once(/opt/nfsen-ng/backend/common/debug.php): Failed to open stream: No such file or directory in /opt/nfsen-ng/backend/cli.php on line 5

Should include Debug.php, debug.php does not exists. Third After creating a symlink named debug.php pointing to Debug.php

PHP Fatal error:  Uncaught Error: Typed static property nfsen_ng\common\Debug::$_instance must not be accessed before initialization in /opt/nfsen-ng/backend/common/Debug.php:17
Stack trace:
#0 /opt/nfsen-ng/backend/cli.php(12): nfsen_ng\common\Debug::getInstance()
#1 {main}
  thrown in /opt/nfsen-ng/backend/common/Debug.php on line 17

I have no idea how to fix this.

mbolli commented 1 year ago

Thanks for the details, can you try again after a pull?