[mohaa] About Stats

Sander de Hond sanderdehond at home.nl
Wed May 21 12:55:38 EDT 2003


Hi again ;)

It's a sponsored website with apache running on it and i use php on my
website.

Details from that site you gave me :

      System  Linux web1.cgi.plus.net 2.4.20-13.7 #1 Tue May 20 11:51:54 BST
2003 i686
      Build Date  Apr 3 2003 07:23:55
      Configure Command  './configure' '--with-mysql' '--enable-track-vars'
'--enable-discard-path' '--with-gd' '--with-jpeg-dir=/usr/local/lib'
'--with-png-dir=/usr/local/lib' '--with-zlib-dir=/usr/local/lib'
'--with-freetype-dir=/usr/local/lib' '--enable-gd-native-ttf'
      Server API  Apache
      Virtual Directory Support  disabled
      Configuration File (php.ini) Path  /usr/local/lib/php.ini
      PHP API  20020918
      PHP Extension  20020429
      Zend Extension  20021010
      Debug Build  no
      Thread Safety  disabled
      Registered PHP Streams  php, http, ftp, compress.zlib


Hope this helps, should i mail my host ?

Regards,

Sander
  -----Oorspronkelijk bericht-----
  Van: Josh Berry [mailto:josh at chickenmonkey.co.uk]
  Verzonden: woensdag 21 mei 2003 18:00
  Aan: mohaa at icculus.org
  Onderwerp: Re: [mohaa] About Stats


  Hi again,

  > whereis php -> php: /usr/local/lib/php.ini /usr/local/lib/php

  What version of linux are you running on. php should not be located in the
/usr/lib/ directory unless specified to do so. From this it looks like you
havn't got php installed on the server? The php.ini file is one of the setup
files but it is not the file you should be running. I would expect
/usr/bin/php or /usr/local/bin/php as the path in most cases.

  To check if php is installed (if you have apache running) you can paste
the following into a file and call it something like test.php. If php is
running you should be able to view the page and it will look something like
this:

  http://cgi.joshberry.plus.com/html/phptest.php

  <html>
  <body>
  <?php phpinfo(); ?>
  </body>
  </html>

  Regards

  Josh
  --
  | Josh Berry                          Unmetered & ADSL solutions
  | Technical Support                             for Home & Business
  | PlusNet Technologies Ltd.              @ http://www.plus.net
  ----- My Referrals - It pays to recommend PlusNet -----+

    ----- Original Message -----
    From: Sander de Hond
    To: mohaa at icculus.org
    Sent: Wednesday, May 21, 2003 2:19 PM
    Subject: RE: [mohaa] About Stats


    Hi Josh

    Tried all i said, took me a while to figure out what i needed to do
exactly but i get it now :)

    Okay my path to my mohstats dir is : /www/htdocs/mohstats
    whereis php -> php: /usr/local/lib/php.ini /usr/local/lib/php -> found
php :)

    Then i try :
    /usr/local/lib/php -q /www/htdocs/mohstats /www/htdocs/mohstats/test.log
    The server responded : /usr/local/lib/php is a directory

    So i tried :
    /usr/local/lib/php.ini -q /www/htdocs/mohstats
/www/htdocs/mohstats/test.log
    Server responded : permission denied..

    I think i do not have the right permission ?
    Can u help (again)

    Thanks in advance,

    Regards,

    Sander
      -----Oorspronkelijk bericht-----
      Van: Josh Berry [mailto:josh at chickenmonkey.co.uk]
      Verzonden: maandag 19 mei 2003 22:18
      Aan: mohaa at icculus.org
      Onderwerp: RE: [mohaa] About Stats


      Also,



      Make sure that if you do not have root access you will probably have
to specify the full path. It's also worth specifying the output path, so



      php -q mohstat <qconsole.log>



      will become something like



      /usr/bin/php -q /home/gamer/stats/mohstat
/home/gamer/.mohaa/main/qconsole.log



      (use whereis php to find the path if you don't know it), and change
the file paths to match your own file structure. When you activate it it
should sit there and think about it for a while and then the bash prompt
will come back – and it should have created an output directory.



      --

      Josh



      -----Original Message-----
      From: Gustavo Passos Tourinho [mailto:tourinho at posseidon.no-ip.org]
      Sent: 19 May 2003 19:04
      To: mohaa at icculus.org
      Subject: RE: [mohaa] About Stats



      Hello Sander



      U need exec mohstat script

      php -q mohstat <qconsole.log>



      Just it!



      I was having problem because php version.



      tourinho







      On Mon, 19 May 2003, Sander de Hond wrote:



      > Hi Josh,

      >

      > I got a question.. what to do next with the qconsole/log file ?

      > I uploaded the Mohstats dir to my homepage
(www.clanitf.nl/mohstats), i

      > edited the config file but what then ?

      >

      > I cannot execute the command shown on the homepage of clanfx.com, i
have ssh

      > acces to my webserver and ftp but how do i activate the stats ?

      >

      > Thanks in advance,

      >

      > Sander

      >

      > -----Oorspronkelijk bericht-----

      > Van: Josh Berry [mailto:josh at chickenmonkey.co.uk]

      > Verzonden: woensdag 14 mei 2003 19:02

      > Aan: mohaa at icculus.org

      > Onderwerp: Re: [mohaa] About Stats

      >

      >

      > Yeah.. in the startup line add the following:

      >

      > a.. set logfile 3

      > a.. set developer 1

      >

      > This will create a logfile called qconsole.log in the .mohaa
directory (at

      > the same level as the MOHAA directory) which you can process. If you
have a

      > look at http://stats.clanfx.com/ there is a set of instructions.

      >

      > Josh

      >

      >

      > ----- Original Message -----

      > From: <richardnharrison at btinternet.com>

      > To: <mohaa at icculus.org>

      > Sent: Wednesday, May 14, 2003 2:00 PM

      > Subject: RE: [mohaa] About Stats

      >

      >

      > > did you modify your start up line to output the data to a log
file?

      > >

      > > >  from:    Josh Berry <josh at chickenmonkey.co.uk>

      > > >  date:    Wed, 14 May 2003 13:45:02

      > > >  to:      mohaa at icculus.org

      > > >  subject: RE: [mohaa] About Stats

      > > >

      > > > I can't think of any reason for apache or php to be at fault.
The most

      > > > obvious thinbg I can think of is to make sure that the "player"

      > > > directory where the pages are stored is writable by the
webserver.

      > > >

      > > > Other than that I'm all out of ideas.

      > > >

      > > > Josh

      > > >

      > > > -----Original Message-----

      > > > From: tourinho at atlas.ucpel.tche.br
[mailto:tourinho at atlas.ucpel.tche.br]

      > > >

      > > > Sent: 12 May 2003 21:24

      > > > To: mohaa at icculus.org

      > > > Subject: [mohaa] About Stats

      > > >

      > > >

      > > >

      > > > Hello all.

      > > >

      > > > I really dont know if my question belong to this list ,but Ill
try

      > > > anyway.

      > > >

      > > > Ive downloaded the mohstats program to show player status.

      > > >

      > > > After install and play on server for 2 days I tried to show
stats

      > > > running the

      > > > program.

      > > >

      > > > The problema is that it just create the page, but not include
the

      > > > players statitcs.

      > > >

      > > > Some time ago Ive used this program and it worked fine.

      > > >

      > > > I dont know if it has some problems of versions (php, apache,
etc).

      > > >

      > > > Well. Im sorry if the question wasnt for this list, but Ill
apressiate

      > > > any help.

      > > >

      > > > Thanks.

      > > >

      > > >

      > > >

      > >

      > >

      >

      >

      >

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/mohaa/attachments/20030521/9c1aba6c/attachment.htm>


More information about the Mohaa mailing list