Dabar yra 2019 Geg 24 06:10




 Puslapis 11 [ 4 pranešimai(ų) ] 
Autorius Žinutė
 Pranešimo tema: ERROR
Žinutės numeris: #1  StandartinėParašytas: 2019 Vas 21 14:39 
O taip. Jis jau surinko 50 žinučių!
Vartotojo avataras

Užsiregistravo: 2017 Sau 22 20:41
Pranešimai: 84
Karma: 0
Hi,

i have a problem with MySQL, i creat mysql in phpmyadmin and when i try to enter this stats i get this : https://gs2us.online/stats/hlstats.php

any one have suggestion .
thanks.

https://gs2us.online/stats/hlstats.php

file config.php
  1. <?php
  2. /*
  3. HLstatsX Community Edition - Real-time player and clan rankings and statistics
  4. Copyleft (L) 2008-20XX Nicholas Hastings (nshastings@gmail.com)
  5. http://www.hlxcommunity.com
  6.  
  7. HLstatsX Community Edition is a continuation of
  8. ELstatsNEO - Real-time player and clan rankings and statistics
  9. Copyleft (L) 2008-20XX Malte Bayer (steam@neo-soft.org)
  10. http://ovrsized.neo-soft.org/
  11.  
  12. ELstatsNEO is an very improved & enhanced - so called Ultra-Humongus Edition of HLstatsX
  13. HLstatsX - Real-time player and clan rankings and statistics for Half-Life 2
  14. http://www.hlstatsx.com/
  15. Copyright (C) 2005-2007 Tobias Oetzel (Tobi@hlstatsx.com)
  16.  
  17. HLstatsX is an enhanced version of HLstats made by Simon Garner
  18. HLstats - Real-time player and clan rankings and statistics for Half-Life
  19. http://sourceforge.net/projects/hlstats/
  20. Copyright (C) 2001  Simon Garner
  21.            
  22. This program is free software; you can redistribute it and/or
  23. modify it under the terms of the GNU General Public License
  24. as published by the Free Software Foundation; either version 2
  25. of the License, or (at your option) any later version.
  26.  
  27. This program is distributed in the hope that it will be useful,
  28. but WITHOUT ANY WARRANTY; without even the implied warranty of
  29. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  30. GNU General Public License for more details.
  31.  
  32. You should have received a copy of the GNU General Public License
  33. along with this program; if not, write to the Free Software
  34. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  35.  
  36. For support and installation notes visit http://www.hlxcommunity.com
  37. */
  38.  
  39. if ( !defined('IN_HLSTATS') ) { die('Do not access this file directly'); }
  40.  
  41. // DB_ADDR - The address of the database server, in host:port format.
  42. //           (You might also try setting this to e.g. ":/tmp/mysql.sock" to
  43. //           use a Unix domain socket, if your mysqld is on the same box as
  44. //           your web server.)
  45. define("DB_ADDR", "51.68.142.166");
  46.  
  47. // DB_USER - The username to connect to the database as
  48. define("DB_USER", "amxbans");
  49.  
  50. // DB_PASS - The password for DB_USER
  51. define("DB_PASS", "root123");
  52.  
  53. // DB_NAME - The name of the database
  54. define("DB_NAME", "amxbans");
  55.  
  56. // DB_TYPE - The database server type. Only "mysql" is supported currently
  57. define("DB_TYPE", "mysql");
  58.  
  59. // DB_PCONNECT - Set to 1 to use persistent database connections. Persistent
  60. //               connections can give better performance, but may overload
  61. //               the database server. Set to 0 to use non-persistent
  62. //               connections.
  63. define("DB_PCONNECT", 0);
  64.  
  65. // INCLUDE_PATH - Filesystem path to the includes directory, relative to hlstats.php. This must be specified
  66. //      as a relative path.
  67. //
  68. //                Under Windows, make sure you use forward slash (/) instead
  69. //                of back slash (\) and use absolute paths if you are having any issue.
  70. define("INCLUDE_PATH", "./includes");
  71.  
  72.  
  73. // PAGE_PATH - Filesystem path to the pages directory, relative to hlstats.php. This must be specified
  74. //      as a relative path.
  75. //
  76. //                Under Windows, make sure you use forward slash (/) instead
  77. //                of back slash (\) and use absolute paths if you are having any issue.
  78. define("PAGE_PATH", "./pages");
  79.  
  80.  
  81. // PAGE_PATH - Filesystem path to the hlstatsimg directory, relative to hlstats.php. This must be specified
  82. //      as a relative path.
  83. //
  84. //                Under Windows, make sure you use forward slash (/) instead
  85. //                of back slash (\) and use absolute paths if you are having any issue.
  86. //
  87. //      Note: the progress directory under hlstatsimg must be writable!!
  88. define("IMAGE_PATH", "./hlstatsimg");
  89.  
  90. // How often dynamicly generated images are updated (in seconds)
  91. define("IMAGE_UPDATE_INTERVAL", 300);
  92.  
  93. //define("DB_DEBUG", true);
  94.  
  95. ?>


Atsijungęs
 Aprašymas  
 
 Pranešimo tema: Re: ERROR
Žinutės numeris: #2  StandartinėParašytas: 2019 Vas 21 21:16 
Moderatorius
Vartotojo avataras

Užsiregistravo: 2012 Rgp 03 01:12
Pranešimai: 4482
Karma: 126

Miestas: Vilnius
51.68.142.166 > 127.0.0.1



_________________
Paveikslėlis
Paveikslėlis
Paveikslėlis
Atsijungęs
 Aprašymas  
 
 Pranešimo tema: Re: ERROR
Žinutės numeris: #3  StandartinėParašytas: 2019 Vas 23 13:06 
O taip. Jis jau surinko 50 žinučių!
Vartotojo avataras

Užsiregistravo: 2017 Sau 22 20:41
Pranešimai: 84
Karma: 0
laimiukas3 rašė:
51.68.142.166 > 127.0.0.1


still not working !!


Atsijungęs
 Aprašymas  
 
 Pranešimo tema: Re: ERROR
Žinutės numeris: #4  StandartinėParašytas: 2019 Vas 23 23:26 
Moderatorius
Vartotojo avataras

Užsiregistravo: 2012 Rgp 03 01:12
Pranešimai: 4482
Karma: 126

Miestas: Vilnius
Could not connect to database server. Check that the values of DB_ADDR, DB_USER and DB_PASS in config.php are set correctly.
and do you upload hlstatsx install sql file to data base ?



_________________
Paveikslėlis
Paveikslėlis
Paveikslėlis
Atsijungęs
 Aprašymas  
 
Rodyti paskutinius pranešimus:  Rūšiuoti pagal  
 Puslapis 11 [ 4 pranešimai(ų) ] 


Dabar prisijungę

Vartotojai naršantys šį forumą: Registruotų vartotojų nėra ir 2 svečių


Jūs negalite kurti naujų temų šiame forume
Jūs negalite atsakinėti į temas šiame forume
Jūs negalite redaguoti savo pranešimų šiame forume
Jūs negalite trinti savo pranešimų šiame forume
Jūs negalite prikabinti failų šiame forume

Ieškoti:
Pereiti į:  

cron