05-10-2018, 04:13 AM
1. I downloaded the latest version of CI4 from github.
2. Extract to website root and set DocumentRoot to public sub-folder
3. In .env file set CI_ENVIRONMENT = development
4. Create a sub-folder as development inside application/Config, and copy config files to this folder.
5. In application/Config/development/App.php set base $baseURL
Then I open my website in a browser, I get the following error:
Fatal error: Uncaught CodeIgniter\Exceptions\FrameworkException: You have an empty or invalid base URL. The baseURL value must be set in Config\App.php, or through the .env file. in ... /system/Exceptions/FrameworkException.php on line 15
Have I screwed up wrong something or is it a bug?
2. Extract to website root and set DocumentRoot to public sub-folder
3. In .env file set CI_ENVIRONMENT = development
4. Create a sub-folder as development inside application/Config, and copy config files to this folder.
5. In application/Config/development/App.php set base $baseURL
Then I open my website in a browser, I get the following error:
Fatal error: Uncaught CodeIgniter\Exceptions\FrameworkException: You have an empty or invalid base URL. The baseURL value must be set in Config\App.php, or through the .env file. in ... /system/Exceptions/FrameworkException.php on line 15
Have I screwed up wrong something or is it a bug?