Hi all,
I'm in the process of rebuilding my server and have got things pretty much up and running. My problem is with the stats - it would appear that I have to set the language somewhere, but for the life of me I can't get it to work. Currently my stats page is blank. In the MP-Statistics.php file the line that seems to be causing me grief is
The language files are stored in the Statistics folder. You choose your language by editing the Statistics metadata file (also in the Statistics folder).
If your Statistics pages are blank, I would suspect the database configuration is at fault somehow.
Hi Shades,
hmmm, something strange happening here All seems to be working ok except for stats, so I deleted the stats folder and installed the 1.83 stats and all worked ok - got the stats page up with the initialised campaign. So then I deleted the stats folder and installed the 1.94 stats and got the blank page again.
//Load the language localization assembly, e.g. 'English.lang'.
//$L = LoadLanguage();
Then I get this;
Which is understandable seeing as there are lots of reference to $L which I just remarked out, but at least I'm getting something.
Everything else works as it is supposed to, and as this setup is only for me to do SE maps/sectors on it's not a real biggy if there are no stats. Puzzling is all
Hi Shades
Running PHP Version 5.0.4, dunno about "simple xml", had to install the xml packages some time ago to get rFactor stats going, it parses xml files.
info.php tells me;
libXML support active
libXML Version 2.6.21
libXML streams enabled
xml
XML Support active
XML Namespace Support active
EXPAT Version expat_1.95.8
xmlrpc
core library version xmlrpc-epi v. 0.51
php extension version 0.51
author Dan Libby
homepage http://xmlrpc-epi.sourceforge.net
open sourced by Epinions.com
SimpleXML is a different product. Here is an excerpt from my php_info() dump:
SimpleXML
Simplexml support enabled
Revision $Revision: 1.151.2.22.2.35 $
Schema support enabled
Without this installed, Statistics v1.85+ will not work. I thought that SimpleXML was available in PHPv5 by default, but you may have to enable the extension.