Error message

  • Deprecated function: Constant PDO::MYSQL_ATTR_USE_BUFFERED_QUERY is deprecated since 8.5, use Pdo\Mysql::ATTR_USE_BUFFERED_QUERY instead in DatabaseConnection_mysql->__construct() (line 332 of /var/www/html/includes/database/mysql/database.inc).
  • Deprecated function: Constant PDO::MYSQL_ATTR_MULTI_STATEMENTS is deprecated since 8.5, use Pdo\Mysql::ATTR_MULTI_STATEMENTS instead in DatabaseConnection_mysql->__construct() (line 339 of /var/www/html/includes/database/mysql/database.inc).

Show output in browser

Download and install the aha package from here: https://github.com/theZiz/aha
(Click on the Download ZIP button).

Once installed, run NRLMOL with this command
./nrlmol_exe | aha > index.html && firefox index.html

The way it works is that all the output that NRLMOL generates will be taken by the aha program and redirected to a file called index.html, after that finishes it runs firefox and opens the index.html file.

The file will still be in the directory for later reference (it will just have some .html code at the beginning and end of it).