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

(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
Backtrace:
File: C:\xampp\htdocs\blog\index.php
Line: 289
Function: require_once

What do you think could be the cause?
Reply
#2

Check in console : php -m
mysqli exist?
Simple CI 4 project for beginners codeigniter-expenses
Reply
#3

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 )
Reply
#4

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

Hi.Yes, mysqli exist.
Reply
#5

"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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB