CodeIgniter Forums

Full Version: CI 4 not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i downloaded CI using this link: https://codeigniter.com/download 

when I run on XAMP below error appear. 


Fatal error: Uncaught Error: Call to undefined function CodeIgniter\locale_set_default() in C:\xampp\htdocs\jsforsociety\system\CodeIgniter.php:184 Stack trace: #0 C:\xampp\htdocs\jsforsociety\system\bootstrap.php(181): CodeIgniter\CodeIgniter->initialize() #1 C:\xampp\htdocs\jsforsociety\public\index.php(36): require('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\jsforsociety\system\CodeIgniter.php on line 184

how to solve?
@Jeewakapk
> how to solve?

Try searching this forum for locale_set_default

https://forum.codeigniter.com/search.php...order=desc
Thank you so much.

next time i will search as you told.

I am new to CI

Appreciate your reply
look in xampp\php\php.ini

try change ;extension=intl to extension=intl

in theory with xampp you are probably using some form of Linux ? since from memory windows is wamp or similar.
There are a few options for developing CI4 if you have Linux .

Simply use apache on Linux , better than xampp

Just put Dev directory on desktop and use spark serve to fire up dev http services; use sqlite for database

use free live web hosting such as 000webhost
And make sure that you are running php 7.2 +
(11-03-2020, 02:32 AM)captain-sensible Wrote: [ -> ]look in  xampp\php\php.ini

try change  ;extension=intl to extension=intl

in theory with xampp you are probably using some form of Linux ? since from memory windows is wamp or similar.
There are a few options for developing CI4 if you have Linux .

  Simply use apache on Linux , better than xampp

  Just put Dev directory on desktop and use spark serve to fire up dev http services; use sqlite for database

  use free live web hosting such as 000webhost
thank you for so much advise

(11-03-2020, 09:46 AM)InsiteFX Wrote: [ -> ]And make sure that you are running php 7.2 +
will do
@Jeewakapk always nice to get feed back how are you progressing with it ?
thank you so much. still not tried. will update you.