Welcome Guest, Not a member yet? Register   Sign In
Error Class "Locale" not found
#1

I'm new using CodeIgniter.
I installed CodeIgniter 4 in my web site via cPanel/Softaculous in the root directory, i made the changes in app.php and databases.php but when I try to run for first time, i receive and screen with the next message: Error Class “Locale” not found, SYSTEMPATH/CodeIgniter.php at line 186.
I'm using PHP 8.0 and add extension=intl in the php.ini file located in the root directory.
Someone who can help me?
Reply
#2

Hello, welcome to CodeIgniter.

CI It needs some things to run properly.
more info see :
https://codeigniter.com/user_guide/intro...ments.html

So enable the intl extension. Locale is a class from ext-intl.
Your problem is related to intl extension being inactive or ext-intl not being installed on the server that uses it.
Make sure it is installed and active to fix the problem.

If you do not have access to install the plugin or activate it, ask your host to do it for you.
Reply
#3

PHP.ini
PHP Code:
Remove the semi-colon.
;
extension=intl

Like this.
extension=intl 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
Reply




Theme © iAndrew 2016 - Forum software by © MyBB