Results 1 to 4 of 4

Thread: Can't get phpsysinfo to work.

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Beans
    123
    Distro
    Ubuntu 10.04 Lucid Lynx

    Can't get phpsysinfo to work.

    Got a new install of Ubuntu 16.04 LTS (GNU/Linux 4.4.0-18-generic x86_64) or this name of it "Lubuntu 16.04 (Xenial Xerus)".

    I did a apt install phpsysinfo and did a aliases from /phpsysinfo to /usr/share/phpsysinfo in Apache.

    When I got to it's http://192.168.2.109/phpsysinfo it changes the URL to http://192.168.2.109/phpsysinfo/index.php?disp=dynamic and says:

    The 192.168.2.109 page isn’t working

    192.168.2.109 is currently unable to handle this request.
    500

    For a sec looks like Apache displays it but then gives this error.

    Been working on this for hours looking on Google for help and still can't fix it. So I came here to ask.

    This my help the last line in Apache error log says this:

    Code:
    [Mon Apr 18 03:08:51.570634 2016] [:error] [pid 10763] [client 192.168.2.81:56835] PHP Fatal error:  Uncaught Error: Call to undefined method Error::singleton() in /usr/share/phpsysinfo/includes/output/class.Output.inc.php:40\nStack trace:\n#0 /usr/share/phpsysinfo/includes/output/class.Webpage.inc.php(61): Output->__construct()\n#1 /usr/share/phpsysinfo/index.php(56): Webpage->__construct()\n#2 {main}\n  thrown in /usr/share/phpsysinfo/includes/output/class.Output.inc.php on line 40
    Any one know what is wrong?

    -Raymond Day
    Last edited by Raymond Day; April 18th, 2016 at 01:18 PM.

  2. #2
    Join Date
    May 2009
    Location
    St. Pete, FL
    Beans
    4
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Can't get phpsysinfo to work.

    I just ran into the same problem. Looks like it's fixed in a newer version of phpsysinfo:

    https://github.com/phpsysinfo/phpsysinfo/issues/117

  3. #3
    Join Date
    Jun 2007
    Beans
    123
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Can't get phpsysinfo to work.

    I went there just said to update phpsysinfo but I don't know how. I did this command:

    git clone https://github.com/phpsysinfo/phpsysinfo.git

    But it's still the same "page isn't working" error.

    How do I install the newer version of phpsysinfo?

    -Raymond Day

    I went there just said to update phpsysinfo but I don't know how. I did this command:

    git clone https://github.com/phpsysinfo/phpsysinfo.git

    But it's still the same "page isn't working" error.

    How do I install the newer version of phpsysinfo?

    -Raymond Day

    I got it working!

    renamed the /usr/share/phpsysinfo folder to phpsysinfo~ then cd to /usr/share and did a git clone https://github.com/phpsysinfo/phpsysinfo.git Then copied the link in phpsysinfo~ of phpsysinfo.ini to the new phpsysinfo and now it works!

    I guess a apt upgrade would of worked with time.

    Thank you.

    -Raymond Day
    Last edited by howefield; December 18th, 2016 at 10:48 AM. Reason: posts combined.

  4. #4
    Join Date
    Oct 2009
    Location
    Reykjavík, Ísland
    Beans
    12,540
    Distro
    Lubuntu 17.10 Artful Aardvark

    Re: Can't get phpsysinfo to work.

    Good, please mark the thread 'solved'.
    If you install Buntu 17.10 remember to download a new ISO file.

    Old files might contain a bug which can damage UEFI hardware. Updating an existing installation and upgrading to 17.10 (if one has faith in upgrades in general) are safe.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •