** Description changed: OS: Ubuntu 16.04.2 LTS Package : ltsp-cluster-control, version : 2.0.3-0ubuntu3 Further packages : apache2, PHP7 The script "ltsp-cluster-control/Admin/util/functions.php" uses the PHP- function "ereg_replace" (lines 82 and 84), which doesn't exist in PHP7. --- snip --- if($CONFIG["use_https"]=="false"){ header("Location: http://".$prefix.ereg_replace('/[^/]*\.php$','/',$_SERVER['PHP_SELF']).$page.$param); }else{ header("Location: https://".$prefix.ereg_replace('/[^/]*\.php$','/',$_SERVER['PHP_SELF']).$page.$param); } --- snap --- This error avoids "admin.php" to be executed. Using the CLI and callig the admin.php manually, I get the error message (some warnings omitted here) : --- snip --- php /usr/share/ltsp-cluster-control/Admin/admin.php ... PHP Fatal error: Uncaught Error: Call to undefined function ereg_replace() in /usr/share/ltsp-cluster-control/Admin/util/functions.php:82 Stack trace: #0 /usr/share/ltsp-cluster-control/Admin/util/functions.php(206): ltsp_goto() #1 /usr/share/ltsp-cluster-control/Admin/util/check.php(31): isSession() #2 /usr/share/ltsp-cluster-control/Admin/admin.php(23): include('/usr/share/ltsp...') #3 {main} thrown in /usr/share/ltsp-cluster-control/Admin/util/functions.php on line 82 --- snap --- + + + Same problem here: (ubuntu 16.04 and PHP7) + + php -f /usr/share/ltsp-cluster-control/Admin/admin.php + PHP Notice: Undefined index: ldap_host in /usr/share/ltsp-cluster-control/Admin/util/text-en.php on line 213 + PHP Notice: Undefined index: ldap_version in /usr/share/ltsp-cluster-control/Admin/util/text-en.php on line 216 + PHP Notice: Undefined index: auth_state in /usr/share/ltsp-cluster-control/Admin/util/functions.php on line 205 + PHP Notice: Undefined index: auth_state in /usr/share/ltsp-cluster-control/Admin/util/functions.php on line 71 + PHP Notice: Undefined index: HTTP_X_FORWARDED_HOST in /usr/share/ltsp-cluster-control/Admin/util/functions.php on line 77 + PHP Notice: Undefined index: HTTP_HOST in /usr/share/ltsp-cluster-control/Admin/util/functions.php on line 80 + PHP Fatal error: Uncaught Error: Call to undefined function ereg_replace() in /usr/share/ltsp-cluster-control/Admin/util/functions.php:82 + Stack trace: + #0 /usr/share/ltsp-cluster-control/Admin/util/functions.php(206): ltsp_goto() + #1 /usr/share/ltsp-cluster-control/Admin/util/check.php(31): isSession() + #2 /usr/share/ltsp-cluster-control/Admin/admin.php(23): include('/usr/share/ltsp...') + #3 {main} + thrown in /usr/share/ltsp-cluster-control/Admin/util/functions.php on line 82 + + Hope ltsp-cluster people can do some upgrade here.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1667244 Title: ltsp-cluster-control not working with PHP7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ltsp-cluster-control/+bug/1667244/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs