Skip to content

On completing the installation wizard, an internal server error can sometimes be observed #4125

@dlynes

Description

@dlynes

There is an error on line 4119 of cacti/lib/functions.php:

$logcontents = tail_file($config['base_path'] . '/log/cacti.log', 100, -1, ' INSTALL:' , $page_nr, $total_rows);

It should have the ", $total_rows" removed from the end. The tail_file function uses a default of 0 for total_rows, and total_rows is not defined in getInstallLog() in functions.php. That is why the HTTP 500 is produced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions