Welcome to Geeklog, Anonymous Friday, November 14 2025 @ 12:31 pm EST
Geeklog Forums
MySQLi and search function issue
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1582
Since Geeklog 2.0.0 support for MySQLi was added. I do not remember making the change from MySQL to MySQLi on geeklog.fr, maybe it is automatic... Anyway, today there is a error with the search function. Searching for geeklog.net is ok but searching for maps plugin is not.
{
if ($both) {
$result_type = MYSQLI_BOTH;
} else {
$result_type = MYSQLI_ASSOC;
}
$result = $recordset->fetch_array($result_type);
return ($result === NULL) ? false : $result;
}
Can I force my Geeklog to use the mysql.class.php instead mysqli.class.php?
Fatal error: Call to a member function fetch_array() on a non-object in /system/databases/mysqli.class.php on line 658
Text Formatted Code
public function dbFetchArray($recordset, $both = FALSE){
if ($both) {
$result_type = MYSQLI_BOTH;
} else {
$result_type = MYSQLI_ASSOC;
}
$result = $recordset->fetch_array($result_type);
return ($result === NULL) ? false : $result;
}
Can I force my Geeklog to use the mysql.class.php instead mysqli.class.php?
24
16
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1482
Location:Canada
Hey Ben
I did a quick search test on your site. It looks like the Wiki is causing the problem. I did an advance search and looked for "test drive". I tested all of the search types and the Wiki plugin is the only one crashing.
One of the Geeklog Core Developers.
I did a quick search test on your site. It looks like the Wiki is causing the problem. I did an advance search and looked for "test drive". I tested all of the search types and the Wiki plugin is the only one crashing.
One of the Geeklog Core Developers.
18
16
Quote
All times are EST. The time is now 12:31 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content