Welcome Guest, Not a member yet? Register   Sign In
Error message

hey i am trying to view the error mesaage from codeigniter but i only get 

We seem to have hit a snag. Please try again later...

(This post was last modified: 02-19-2020, 12:35 AM by sv3tli0.)

Are you in production mode ?
Usually such message should get out when you are in prod mod (to hide error details)

At your ENV file you must set that you are in dev mode..
Best VPS Hosting : Digital Ocean

(This post was last modified: 02-19-2020, 08:04 AM by InsiteFX.)

You also need to rename it to .env

# CI_ENVIRONMENT = production
CI_ENVIRONMENT = development
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

(This post was last modified: 02-19-2020, 08:19 AM by John_Betong.)


The recommended ways to change between "production" and "development" is to use either the .env or .htaccess files.

A quick alternative fix is to add the following to the start of index.php file:

<?php // index.php
$_SERVER['CI_ENVIRONMENT'] = 'development'; // "production", "test"

Also make sure the writable folder is writable.

Theme © iAndrew 2016 - Forum software by © MyBB