@cibal The one pointing at the file query.php
For example, if I have a domain "example.com" and the stats are in a folder called "stats" then the QUERY_URL would be "http://example.com/stats/query.php"
Stats [Unmaintained]
Discussion in 'Plugin Support' started by Vilsol, Jun 29, 2015.
-
what about this error? -
-
I am also getting the same error, copied all except for database.php
-
-
using 5.6.8
-
Can you try copying and pasting the code from your webservers stats.php to this site and tell me if it gives an error: http://www.piliapp.com/php-syntax-check/
-
No Syntax Errors
[DOUBLEPOST=1437519916][/DOUBLEPOST]but on http://phpcodechecker.com/ i get:
- Warning: There are 32 lines with a possible typo in a php code declaration:
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- ?>>
- Warning: There are 32 lines with a possible typo in a php code declaration:
-
Apache/2.4.12 (Win32) OpenSSL/1.0.1l PHP/5.6.8
on which version is it working for you? -
-
i did lol, no Syntax errors on that one
-
-
xampp like that other guy , probably some config somewhere lel
[DOUBLEPOST=1437521265][/DOUBLEPOST]yeh, fixed it, needs short_open_tag set to On ... xampp or php ini defaults to Off -
Is it possible to set what gets sent to the database to be stored?
e.g disable bullets fired being logged.
Reason I ask is out database gets pretty large within a week. Bullets usually get up to around 400,000 entries in a week. -
^ That would be good, or even - automated database clearing on Server wipe. player_craft_item is the big one for me, 8 x more than bullets fired (500K ents)
[DOUBLEPOST=1437558036][/DOUBLEPOST]I'd also like to suggest in-game ranking associated with the stats. like HLstatsX -
Code:
[LIST=1] [*][Oxide] 3:08 AM [Error] stats plugin failed to compile! [*][Oxide] 3:08 AM [Error] stats.cs(358,212): error CS1061: Type `BasePlayer' doesnot contain a definition for `GetActiveItem' and no extension method `GetActiveItem' of type `BasePlayer' could be found. Are you missing an assembly reference?
Arg, I got error what I just cannot understand. -
-
@Vilsol perhaps you can help. I know it's not your stuff, but i cannot get any charts to pull up on the main page. piecharts, or whatever you updated them to. just blank rectangle boxes with title. everything else works. any idea?
-
All pages (exept live) are blank
http://st-rust.ru/stats/
PHP Version 5.6.10
[DOUBLEPOST=1437692329,1437682819][/DOUBLEPOST]Suggestion:
it would be great to add players online timeline.
[DOUBLEPOST=1437692686][/DOUBLEPOST]Another one suggestion:
Work with DB in Admin Panel, e.g. Backup, Optimize, Clear etc.Attached Files:
-
-
You need to turn on php Short tags