1. Default settings will come once an admin panel will be created
     
  2. Error
    Code:
    [Error] Exception raised in web request callback (ArgumentOutOfRangeException: Argument is out of range.
    Parameter name: index)
    [Oxide] 10:23 PM [Debug]   at System.Collections.Generic.List`1[JSON.Value].get_Item (Int32 index) [0x00000] in <filename unknown>:0
      at JSON.Array.get_Item (Int32 index) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Stats.<Init>m__2 (JSON.Array json) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Stats+<selectQuery>c__AnonStorey0.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0 
     
  3. When does the error appear in the console? Or is it just random?
     
  4. when downloading the plugin and statistics are displayed only on the home page!
    http://lwor.ru/stats1/index.php
     
  5. No, does it appear when you turn on the server? Does it show randomly, or when someone runs the /stats command?
     
  6. when I start plugin
     
  7. Can you take a screenshot of what tables are in the database?
     
  8. Statistics recorded in the database, but does not appear on the site for some reason (
     
  9. Yes, that is why I asked for a screenshot of the database, like this:
    [​IMG]
     
  10. Just updated - removed and replaced table

    Code:
    [Oxide] 8:34 PM [Info] Unloaded plugin Stats v1.4.0 by Vilsol
    [Oxide] 8:34 PM [Info] Loaded plugin Stats v1.4.0 by Vilsol
    [Oxide] 8:34 PM [Info] [Stats] 1.4.0
    [Oxide] 8:34 PM [Error] Exception raised in web request callback (ArgumentOutOfRangeException: Argument is out of range.
    Parameter name: index)
    [Oxide] 8:34 PM [Debug]   at System.Collections.Generic.List`1[JSON.Value].get_Item (Int32 index) [0x00000] in <filename unknown>:0
      at JSON.Array.get_Item (Int32 index) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Stats.<Init>m__2 (JSON.Array json) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Stats+<selectQuery>c__AnonStorey0.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0 
     
  11. can you please take a screenshot of your database tables, I'm pretty sure its due to the fact that the config table doesn't get created due to lack of permissions or something else.
     
  12. index.php работа,
     

    Attached Files:

  13. posted pic of database
    [DOUBLEPOST=1436730033][/DOUBLEPOST]yes, no config table
     

    Attached Files:

  14. in download plugin no config table
     
  15. Vilsol updated Stats with a new update entry:

    Fix major update bug


    [DOUBLEPOST=1436730718][/DOUBLEPOST]@Hirsty @hax0rmort @maksiyshuk The latest update should fix the bug. You only need to update the plugin file, not the website.
     
  16. Error stayed :(
    Code:
    [Oxide] 10:56 PM [Info] Loaded plugin Stats v1.4.1 by Vilsol
    [Oxide] 10:56 PM [Error] Exception raised in web request callback (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 10:56 PM [Debug]   at Oxide.Plugins.Stats.<Init>m__2 (JSON.Array json) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Stats+<selectQuery>c__AnonStorey0.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0 
    And site not work (
     
  17. Can you screenshot the contents of the 'query.php' file? I'm quite sure you haven't updated it.
     
  18. quesy.php
     

    Attached Files:

  19. Vilsol updated Stats with a new update entry:

    Bugfix again

     
  20. The error on the server was gone - but the site did not work :( database is populated with data and Index Page works, and other pages are not working :(
    [DOUBLEPOST=1436732958][/DOUBLEPOST]Test site:
    http://lwor.ru/stats1/