Welcome to Geeklog Saturday, November 18 2017 @ 02:33 pm EST


Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/2005
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.

Fatal error: Call to a member function fetch_array() on a non-object in /system/databases/mysqli.class.php on line 658


PHP 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

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/2005
Posts: 1240
I believe it is automatic. Right now in order to use MySQL exstension only you would have to remove the mysqli extension from being loaded (in php.ini).
One of the Geeklog Core Developers.

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/2005
Posts: 1569
Location:la rochelle, France
Tom, do you thing this search issue is a geeklog bug or a maybe server issue ?
I'm available to customise your themes or plugins for your Geeklog CMS

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/2005
Posts: 1240
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.

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/2005
Posts: 1569
Location:la rochelle, France
Thanks for this Tom. I will look at it.
I'm available to customise your themes or plugins for your Geeklog CMS

All times are EST. The time is now 02:33 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