Jump to content
  • 0

Help on why FluxCP Warning on mysql


Ronald

Question


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  241
  • Reputation:   18
  • Joined:  06/04/14
  • Last Seen:  

Hi Team,

I would just like to seek your assistance I've already tried to debug my fluxcp PvP Ranking and WoE ranking but it still gives me error. I will appreciate if you can give your cents.

Warning: mysqli_query() expects at least 2 parameters, 1 given in /* DIR */monthly.php on line 21

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /* DIR */monthly.php on line 22

Warning: mysqli_query() expects at least 2 parameters, 1 given in  /* DIR */monthly.php on line 25

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /* DIR */monthly.php on line 26

 

Line 21 $sql = mysqli_query("SELECT * FROM pvpladder ORDER BY kills DESC LIMIT 1");

Line 22 $row = mysqli_fetch_array($sql);

Line 25 $sql1 = mysqli_query("SELECT * FROM ownladder ORDER BY currentown desc limit 1");

Line 26 $row1 = mysqli_fetch_array($sql1);

 

Thank you so much!

Edited by Ronald
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

missing .sql?

make sure that you import pvpladder sql.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  241
  • Reputation:   18
  • Joined:  06/04/14
  • Last Seen:  

I already did, but same issue. I think I have to reinstall it from scratch.

Edited by Ronald
Link to comment
Share on other sites

×
×
  • Create New...