CodeIgniter Forums
CI 4 not working - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19)
+--- Thread: CI 4 not working (/showthread.php?tid=77899)



CI 4 not working - Jeewakapk - 11-02-2020

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?


RE: CI 4 not working - John_Betong - 11-02-2020

@Jeewakapk
> how to solve?

Try searching this forum for locale_set_default

https://forum.codeigniter.com/search.php?action=results&sid=84deb59c4bc01bbdb84e4c5900ba0e0b&sortby=lastpost&order=desc


RE: CI 4 not working - Jeewakapk - 11-03-2020

Thank you so much.

next time i will search as you told.

I am new to CI

Appreciate your reply


RE: CI 4 not working - captain-sensible - 11-03-2020

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


RE: CI 4 not working - InsiteFX - 11-03-2020

And make sure that you are running php 7.2 +


RE: CI 4 not working - Jeewakapk - 11-06-2020

(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


RE: CI 4 not working - captain-sensible - 11-06-2020

@Jeewakapk always nice to get feed back how are you progressing with it ?


RE: CI 4 not working - Jeewakapk - 11-07-2020

thank you so much. still not tried. will update you.