4.0.3 works but 4.0.4 is broken for me |
Hi, just downloaded ci 4.0.4 and it don't work, throws:
Fatal error: Uncaught Error: Call to undefined function CodeIgniter\locale_set_default() in C:\xampp\htdocs\CodeIgniter4-4.0.4\system\CodeIgniter.php:184 Stack trace: #0 C:\xampp\htdocs\CodeIgniter4-4.0.4\system\bootstrap.php(181): CodeIgniter\CodeIgniter->initialize() #1 C:\xampp\htdocs\CodeIgniter4-4.0.4\public\index.php(36): require('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\CodeIgniter4-4.0.4\system\CodeIgniter.php on line 184 Using XAMPP 7.4.8 tested CI 4.0.3 and it just works. Fresh installation of both. Any ideas?
Auto-respone: if anyone is using xampp the quick way to fix this is open php.ini and uncomment:
extension=intl
(07-17-2020, 05:37 PM)Sepharad Wrote: Auto-respone: if anyone is using xampp the quick way to fix this is open php.ini and uncomment: Missing function: // file: ./system/CodeIgniter/CodeIgniter.php PHP Code: /**
If you had read the CodeIgniter 4 User Guide Server Requirements
You would have found your answer real fast. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
I undid the comment and got "Whoops! We seem to have hit a snag. Please try again later..." message on the browser, Could you help please
If you could tell me how to debug it please. I didnt see anything wrong in the logs
@saeedarcana,
> I undid the comment and got "Whoops! We seem to have hit a snag. Please try again later..." Usually to get round this try these three points: 1. ensure .writable folder is writable with file permissions 0777 (must have leading zero) 2. try setting the following in index.php -> $_SERVER['CI_ENVIRONMENT'] = 'development'; and toggle with $_SERVER['CI_ENVIRONMENT'] = 'production'; 3. check for funcion_exists(...) in my post #3
(07-17-2020, 08:17 PM)John_Betong Wrote:(07-17-2020, 05:37 PM)Sepharad Wrote: Auto-respone: if anyone is using xampp the quick way to fix this is open php.ini and uncomment: I removed the comment and it worked fine. Thank you, John! |
Welcome Guest, Not a member yet? Register Sign In |