Welcome Guest, Not a member yet? Register   Sign In
An uncaught Exception was encountered

(This post was last modified: 09-10-2023, 02:57 PM by horia.)

Hi everyone, I have a problem, after many hours I still haven't figured it out and I hope to have some luck here.
I use CI 3  and vscode as text editor.

This is the message:

An uncaught Exception was encountered
Type: Error
Message: Class "mysqli_driver" not found
Filename: C:\xampp\htdocs\blog\system\database\drivers\mysqli\mysqli_driver.php
Line Number: 125
File: C:\xampp\htdocs\blog\index.php
Line: 289
Function: require_once

What do you think could be the cause?

Check in console : php -m
mysqli exist?

Check you php.ini file and make sure that it is not remarked out with a ; (semi-colon).
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

(09-10-2023, 08:26 PM)ozornick Wrote: Check in console : php -m
mysqli exist?

Hi.Yes, mysqli exist.

"php -m" executes the php command. It is not the same PHP as PHP executed with Apache.
Check the result of phpinfo() on your browser.

Theme © iAndrew 2016 - Forum software by © MyBB