Skip to content

Upgraded to php7 #39

@monolog99

Description

@monolog99

Hi,

I had my Torque viewer working quite nicely up until last night when I upgraded my Ubuntu server and PHP got upgraded to v7, and that's where it all went wrong!! Not being a PHP guru I've been trying to hack my round it to get it working again with limited success.

One of the key errors I keep getting is in get_sessions.php where it now complains about

$timezone = $_SESSION['time'];

where it throws an error "Notice: Undefined index: time in /var/www/torque/get_sessions.php on line 14".

All the "mysql_" commands don't seem to work so have changed them to "mysqli_" which appears to make those errors disappear. Any pointers ?

Cheers, Tim.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions