[update] PHPSysinfo WINNT support(Service)

2005-04-19
2012-12-12
  • Edwin Meester
    Edwin Meester
    2005-04-19

    Hi all,

    I wanted you guys to know I've updated the winnt service.

    First at all, I dropped all NT4 support (sorry Guys...)

    Bug Fixes:

    - canonical hostname
    - LoadAvg
    - supporting 2.3 en 2.4cvs

    http://stats.qme.nl/phpsysinfo/phpsysinfo.zip

     
    • Edwin Meester
      Edwin Meester
      2005-05-03

      Oh, my mistake, colocated the server (Cleaned up the Webserver), forgot to copy relevant phpsysinfo files.

      Well they're back online:

      Demo: http://stats.qme.nl

      Latest and still supported WINNT Port v2.3/2.4CVS
      http://phpsysinfo.qme.nl/phpsysinfo.zip

      Also still available console versions (Didn't worked out, way too slow)
      http://phpsysinfo.qme.nl/phpsysinfo23_console.zip
      http://phpsysinfo.qme.nl/phpsysinfo24_console.zip

      Also available MotherBoardMonitor5 (already in latest CVS)
      http://phpsysinfo.qme.nl/mbm5.zip

      Windows Classic Template (already in latest CVS)
      http://phpsysinfo.qme.nl/templates/windows_classis.zip

       
      • I get the following errors.
        Any ideas?

        Warning: Invalid argument supplied for foreach() in D:\Webspace\domain\domain.com\domain.com\Secured\cms\phpsysinfo\includes\xml\vitals.php on line 33

        Warning: Invalid argument supplied for foreach() in D:\Webspace\domain\domain.com\domain.com\Secured\cms\phpsysinfo\includes\xml\memory.php on line 61

        Warning: Cannot modify header information - headers already sent by (output started at D:\Webspace\domain\domain.com\domain.com\Secured\cms\phpsysinfo\includes\xml\vitals.php:33) in D:\Webspace\domain\domain.com\domain.com\Secured\cms\phpsysinfo\includes\system_header.php on line 31

        Warning: Cannot modify header information - headers already sent by (output started at D:\Webspace\domain\domain.com\domain.com\Secured\cms\phpsysinfo\includes\xml\vitals.php:33) in D:\Webspace\domain\domain.com\domain.com\Secured\cms\phpsysinfo\includes\system_header.php on line 35

         
    • richie
      richie
      2005-05-04

      Hi Milleniumv3!

      I really wanted to thank you for your excellent and I must say timely support to help fix the issue with the windows setup.
      The issue was that the release build for phpsysinfo-2.3 does not work on Windows and it gave a php.exe error.
      Milleniumv3 guided me with the correct set of files and made it work in less than 20 minutes last night.

      Really you guys rock!
      I use phpsysinfo in vtiger CRM.

      The url for the same is at vtigercrm.com/demo.
      Thanks again milleniumv3.

      Richie

       
    • The mixer
      The mixer
      2005-07-13

      Thanks for the WinNT version of this nice app millenniumv3.
      Ive got it running on all the Linux servers Im admin on and missed it on my windows server.

      Ive got a small problem with tho, its not that big, but  well you know :)

      I get XPath error in XPath.class.php:5818 The supplied xPath '/phpsysinfo/Devswap' does not *uniquely* describe a node in the xml document.Not unique xpath-query, matched 0-times. on all pages.
      I get the same text, on all the templates.
      Dont know where it gets the /phpsysinfo from, because I have it in a directory called sysinfo.

      System info: Windows 2003, Apache 2.0.49.

       
      • Edwin Meester
        Edwin Meester
        2005-07-13

        XPath means the XML string which is formed by the class.OSXXXX.inc.php.

        The version which I made is based on phpsysinfo2.3 and ported to be compatible with 2.4cvs.

        On this forum their is a custom made version of phpsysinfo which has most of the patches/RFE's from the tracker.

        One of them is is Devswap drive. Which is not supported in my version. I'll will checkout the new version en patch my winnt support for it

         
        • The mixer
          The mixer
          2005-07-14

          Thanks for the info.
          Ill just wait for new patched version ;)

           
    • Edwin Meester
      Edwin Meester
      2005-07-13

      Updated Phpsysinfo service.

      See the phpsysinfo25 folder for the right class.WINNT.inc.php
      (also needs a memory.php fix, sumbitted the patch already in the right topic, also available in zip(memory.zip))

       
      • The mixer
        The mixer
        2005-07-14

        Does this one fix the .The supplied xPath '/phpsysinfo/Devswap' . error I got?

        Im still getting the same error, after I started to use class.WINNT.inc.php from the v2.5 directory and copied the memory.php on to the server.

        Forgot in the last post, Im running phpSysInfo-cvs-2.5-2005-07-01 as you do on your demo site.

         
        • Edwin Meester
          Edwin Meester
          2005-07-14

          The XPath Error Message must be fixed after using the latest class.WINNT.inc.php and downloading the memory.php(zipfile).

          As you can see, I updated it yesterday and it works fine for me.

           
          • The mixer
            The mixer
            2005-07-19

            On my server it wasnt :)
            What I did: copied the file from phpsysinfo25 to includes\os, stopped and started the service, just to be on the safe side, copied the file memory.php to includes\xml

            There may be something Ive overlooked, but it looks to me as I got it all right.

            Thanx for using your time, to transfer PHPSysinfo to WinNT, its nice to be able to see some system info trough a browser on WinNT too.

             
        • Michael Cramer
          Michael Cramer
          2005-07-16

          included the fix from millenniumv3 and added another little fix for the devswap prob, you should try the latest version available now

           
          • The mixer
            The mixer
            2005-07-19

            Thanx for the fix.

            Dont know if its just my server, but when I copied your new release into a new directory on the server and copied my config.php into it, then I get no info at all,
            But after I copied millenniumv3s new class.WINNT.inc.php to your new release, then I get the info again and the error is gone.

            Dont know what happened, but new PHPSysInfo is also running fine on my Win server.

            Thanx to both of you, for using your spare time to get this nice app, running on Windows too.

             
    • The windows version of PHP5 should support instantiating COM objects through a PHP module/extention. Why not use this for the WMI? Maybe it doesn't support the GetObject invocation and only CreateObject way.

       
      • Michael Cramer
        Michael Cramer
        2005-12-03

        we use COM to connect to WMI