Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 07:31 am EST
Geeklog Forums
MySQLi and search function issue
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
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?
I'm available to customise your themes or plugins for your Geeklog CMS
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?
I'm available to customise your themes or plugins for your Geeklog CMS
13
8
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
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.
10
8
Quote
All times are EST. The time is now 07:31 am.
- 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