Welcome Guest, Not a member yet? Register   Sign In
Environment handling not working for me
#1

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

[font=Times New Roman]Have I screwed up wrong something or is it a bug?[/font]
Reply


Messages In This Thread
Environment handling not working for me - by adamp-web - 05-10-2018, 04:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB