Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter CLI returns blank when utilizing a model
#4

I just found the source of my problem...

as it is proposed here...

https://codeigniter.com/user_guide/libra...vironments

I am working on a development environment and I am working with the /application/config/development/database.php configuration file instead of the /application/config/database.php that the production environment uses.

the files are identical only the hostname, username and password entries are different.

However, if I copy the /application/config/development/database.php to the /application/config/ folder and replace the production database.php the function works as it should be from CLI.

Do you get anything from this?
Reply


Messages In This Thread
RE: CodeIgniter CLI returns blank when utilizing a model - by maslas - 01-17-2020, 12:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB