Welcome Guest, Not a member yet? Register   Sign In
CI4 Manual Installation
#7

(This post was last modified: 07-31-2020, 08:33 AM by jreklund.)

(07-30-2020, 11:45 PM)John_Betong Wrote: I don't use Windows.

The problem is the installation is forced to use an optional PHP International local language settings library. 

Solution is to either install the library or modify the following file:

Code:
File: ./system/CodeIgniter/CodeIgniter.php
    /**
   * Handles some basic app and environment setup.
*/
    public function initialize()
    {
    // Set default locale on the server
    // John ADDED FOLLOWING CHECK BECAUSE STILL TO BE SET ON MY SYSTEM 
            if( function_exists('locale_set_default' ) ) :    
           locale_set_default($this->config->defaultLocale ?? 'en');
    endif;

I will try this on a new machine and will post back here. On the current machine it is working by using Composer and moving forward with building Startup application.
Reply


Messages In This Thread
CI4 Manual Installation - by pdos - 07-28-2020, 02:47 PM
RE: CI4 Manual Installation - by pdos - 07-29-2020, 08:55 AM
RE: CI4 Manual Installation - by pdos - 07-29-2020, 11:28 AM
RE: CI4 Manual Installation - by John_Betong - 07-29-2020, 05:47 PM
RE: CI4 Manual Installation - by pdos - 07-30-2020, 08:34 AM
RE: CI4 Manual Installation - by John_Betong - 07-30-2020, 11:45 PM
RE: CI4 Manual Installation - by pdos - 07-31-2020, 07:44 AM
RE: CI4 Manual Installation - by pdos - 07-31-2020, 11:19 AM
RE: CI4 Manual Installation - by jreklund - 08-01-2020, 05:33 AM
RE: CI4 Manual Installation - by paulbalandan - 08-01-2020, 07:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB