** Description changed:

+ [Impact]
+ 
+ * After installation, loganalyzer's default landing page
+ http://<ip>/loganalyzer displays a white screen, with no content (no
+ source). This is indicative of a PHP bug, but due to the default logging
+ settings, no messages are output to the browser or server logs.
+ 
+ * Users expect loganalyzer to work upon installation.
+ 
+ [Test Case]
+ 
+ * Install loganalyzer, and load http://<ip>/loganalyzer in a browser.
+ With a failing version, no content is displayed and only a white screen
+ is shown. With a working version, the loganalyzer landing page is shown
+ (with an error message regarding syslog permissions).
+ 
+ [Regression Potential]
+ 
+ * The underlying cause of the issue is syntactical changes in PHP from 5
+ -> 7, specifically the removal of same-named constructors and the \e
+ modifier to preg_replace (which has been replaced with
+ preg_replace_callback). Without these changes, loganalyzer does not load
+ at all, so the chance of regression is zero.
+ 
+ ---
+ 
  Description:  Ubuntu 16.04 LTS
  Release:      16.04
  Codename:     xenial
  
  apt-cache policy loganalyzer
  loganalyzer:
-   Installed: 3.6.6+dfsg-2ubuntu1
-   Candidate: 3.6.6+dfsg-2ubuntu1
-   Version table:
-  *** 3.6.6+dfsg-2ubuntu1 500
-         500 http://ru.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
-         100 /var/lib/dpkg/status
+   Installed: 3.6.6+dfsg-2ubuntu1
+   Candidate: 3.6.6+dfsg-2ubuntu1
+   Version table:
+  *** 3.6.6+dfsg-2ubuntu1 500
+         500 http://ru.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
+         100 /var/lib/dpkg/status
  
  php --version
  PHP 7.0.4-7ubuntu2 (cli) ( NTS )
  Copyright (c) 1997-2016 The PHP Group
  Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
-     with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend 
Technologies
+     with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend 
Technologies
  
- /var/log/apache2/error.log 
+ /var/log/apache2/error.log
  [Wed Apr 27 11:32:19.639990 2016] [:error] [pid 11409] [client 
192.168.2.25:60966] PHP Warning:  preg_replace(): The /e modifier is no longer 
supported, use preg_replace_callback instead in 
/usr/share/loganalyzer/classes/class_template.php on line 203

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575543

Title:
  loganalyzer not work in ubuntu 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/loganalyzer/+bug/1575543/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to