← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1575543] Re: loganalyzer not work in ubuntu 16.04

 

This bug was fixed in the package loganalyzer - 3.6.6+dfsg-2ubuntu1.1

---------------
loganalyzer (3.6.6+dfsg-2ubuntu1.1) xenial; urgency=medium

  * debian/patches/update_for_php7_removals.patch: PHP7.0 has removed
    same-named constructors and the \e modifier to preg_replace.  Closes
    LP: #1575543.

 -- Nishanth Aravamudan <nish.aravamudan@xxxxxxxxxxxxx>  Tue, 04 Oct
2016 15:25:02 -0700

** Changed in: loganalyzer (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1575543

Title:
  loganalyzer not work in ubuntu 16.04

Status in loganalyzer package in Ubuntu:
  Fix Released
Status in loganalyzer source package in Xenial:
  Fix Released

Bug description:
  [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

  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

  /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

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