Character Browser Charbrowser v3.3.3 Error
Reply
Charbrowser v3.3.3 Error
Heya,

I was trying to set up your Charbrowser for my server. I got the newest version (3.3.3) from GitHub and was getting an error when searching characters. The Stuck Character Mover is working so I know it isn't anything to do with db permissions or anything like that. Anyone know what I could do here?

My charbrowser site
https://eqinfinity.com/magelo/index.php

error:
More +

Fatal error: Uncaught Error: Call to a member function fetch_array() on bool in /home/dtgoxgpi/public_html/magelo/include/db.php:344 Stack trace: #0 /home/dtgoxgpi/public_html/magelo/search.php(109): Charbrowser_SQL->fetch_all(false) #1 /home/dtgoxgpi/public_html/magelo/index.php(130): include('/home/dtgoxgpi/...') #2 {main} thrown in /home/dtgoxgpi/public_html/magelo/include/db.php on line 344


This is Line 344 of db.php
More +

      while ($row = $result->fetch_array()) {


This is Line 109 of search.php
More +

$characters = $cbsql->fetch_all($result);


This is Line 130 of index.php
More +

   include($page);
Tue Jun 23, 2020 2:52 am
It looks like the query result has no data behind it. In search.php try and add the following on line 107:

print $query;

Then rerun the page and it should dump out the query it’s trying to run. Copy that query and try to run it manually and see what we get.
Tue Jun 23, 2020 7:11 am
Project Lead
I see you got it working, mind sharing what the issue was for future reference?
Thu Jun 25, 2020 11:11 am
Project Lead
Character Browser Charbrowser v3.3.3 Error
Reply