![]() |
ErrorException: $strictLocaleNegotiation - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: ErrorException: $strictLocaleNegotiation (/showthread.php?tid=92650) |
ErrorException: $strictLocaleNegotiation - Vespa - 03-22-2025 Hi, I got in trouble with my locally installed Codeigniter project. I was developing my web site on my local PC, Windows 10 as OS...so I had installed PHP 8.3, Codeigniter using Composer and MySQL Now I have updated PHP to 8.4.5 version...updated Composer...and when I run the command Code: php spark serve Code: D:\_GAVS_nuovo_sito\composer-gavs>php spark serve RE: ErrorException: $strictLocaleNegotiation - warcooft - 03-22-2025 just add this property. PHP Code: /** more info see https://codeigniter.com/user_guide/installation/upgrade_460.html#content-changes RE: ErrorException: $strictLocaleNegotiation - Vespa - 03-22-2025 Warcooft, thanks a lot for your help and for taking the time to provide the invaluable feedback. Added your code to config/Feature.php file solved the previous issue...now, when I try the php spark serve command I get the following message: Code: D:\_GAVS_nuovo_sito\composer-gavs>php spark serve RE: ErrorException: $strictLocaleNegotiation - warcooft - 03-22-2025 This is a list of all files in the project space that received changes; many will be simple comments or formatting that have no effect on the runtime: app/Config/Cache.php app/Config/Constants.php app/Config/Database.php app/Config/Feature.php app/Config/Format.php app/Config/Kint.php app/Config/Routing.php app/Config/Security.php app/Views/errors/html/debug.css app/Views/errors/html/error_400.php preload.php public/index.php spark you can see all missing code in vendor/codeigniter4/framework/app/Config/ folder. all changes are clearly documented. see https://codeigniter.com/user_guide/installation/upgrade_460.html#content-changes RE: ErrorException: $strictLocaleNegotiation - Vespa - 03-23-2025 warcooft, thanks a lot for your time and hints. |