• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI_ENVIROMENT not working

#1
I'm using the new alpha 2, and I set the CI_ENVIROMENT to development in the .env and public/.htaccess and I still get the 'Whoops' message and not whats wrong on my code.
Do I have to change anything else to let codeigniter show me the errors
Reply

#2
(11-09-2018, 06:55 AM)Perhood Wrote: I'm using the new alpha 2, and I set the CI_ENVIROMENT to development in the .env and public/.htaccess and I still get the 'Whoops' message and not whats wrong on my code.
Do I have to change anything else to let codeigniter show me the errors

I just configure this in my .env file and don't change anything in the public/.htaccess


Code:
CI_ENVIRONMENT = development
app.baseURL = 'http://myapplication.test/

I did notice that both in your subject and your comment you state CI_ENVIROMENT which is incorrect it is CI_ENVIRONMENT
Also make sure that your env file is moved to .env as codeigniter supplies you with an env file as a template but needs to be copied / moved to .env

Hope this helps.
Reply

#3
(11-15-2018, 02:47 PM)devzeroized Wrote: Also make sure that your env file is moved to .env as codeigniter supplies you with an env file as a template but needs to be copied / moved to .env

Worked for me. You need to rename the env file to .env for it to work.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.