Closed fre2mansur closed 2 years ago
Cannot reproduce it.
Install CI 4.1.9 appstarter.
Prepare .env
.
--- env 2022-01-04 09:59:30.000000000 +0900
+++ .env 2022-08-04 11:43:36.000000000 +0900
@@ -14,7 +14,7 @@
# ENVIRONMENT
#--------------------------------------------------------------------
-# CI_ENVIRONMENT = production
+CI_ENVIRONMENT = development
#--------------------------------------------------------------------
# APP
Change Home.php
.
--- a/app/Controllers/Home.php
+++ b/app/Controllers/Home.php
@@ -6,6 +6,6 @@ class Home extends BaseController
{
public function index()
{
- return view('welcome_message');
+ eturn view('welcome_message');
}
}
Run php spark serve
.
Navigate to http://localhost:8080/.
My bad I haven't renamed the env to .env so it was in the production mode.
@fre2mansur Don't worry! Nobody's perfect.
PHP Version
7.3
CodeIgniter4 Version
4.1.9
CodeIgniter4 Installation Method
Composer (using
codeigniter4/appstarter
)Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
mysql
What happened?
Php, database, or any error it's not throwing the error or CI Debug instead it's showing the Whoops! page error.
Steps to Reproduce
install using composer check do some error
Expected Output
CI debug should appear
Anything else?
.env CI_ENVIRONMENT = development
app/boot/development.php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL);
Am I missing something?