CodeIgniter Forums
error messages - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: error messages (/showthread.php?tid=66285)



error messages - alfred.laggner - 10-03-2016

Just started CI 4. The first thing I noticed no debug messages. 'Just the Whoops!We seem to have hit a snag. Please try again later...' screen. Is there a global setting to turn this off?


RE: error messages - InsiteFX - 10-03-2016

You need to set your base_url in ./application/App.php


RE: error messages - ridho - 10-03-2016

change "production" to "development" in /public/index.php, you will know your problems.


RE: error messages - alfred.laggner - 10-03-2016

The welcome message works fine. I added a simple public function to display data from a database table. I want to know what the error message says. Having that I can correct it.


RE: error messages - alfred.laggner - 10-03-2016

Thank you. This helped (of course). Wonderful error messaging !!!


RE: error messages - titounnes - 10-07-2016

(10-03-2016, 02:38 PM)ridho Wrote: change "production" to "development" in /public/index.php, you will know your problems.

there is better way, that is by passing CI_ENV parameter in web server.
I know from thisĀ http://samples.leanpub.com/practicalcodeigniter3-sample.pdf


RE: error messages - Narf - 10-07-2016

(10-07-2016, 03:57 AM)titounnes Wrote:
(10-03-2016, 02:38 PM)ridho Wrote: change "production" to "development" in /public/index.php, you will know your problems.

there is better way, that is by passing CI_ENV parameter in web server.
I know from thisĀ http://samples.leanpub.com/practicalcodeigniter3-sample.pdf

It's not "better", it's just another way of doing it.