error migrate DB mysql Fabian Faundez June 14, 2018 07:03 2 comments I'm changing db server when I complete the sale I get the following Comments 2 comments Sort by Date Votes Chris Muench June 14, 2018 12:58 You will need to perform debugging steps to figure out the exact error. Open up index.php in the phppos root folder: FIND: define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'production’); REPLACE: define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : ‘development’); open application/config/database.php FIND: $db['default']['db_debug'] = FALSE; REPLACE: $db['default']['db_debug'] = TRUE; Then see the errors. Do NOT forgot to undo these changes afterwords. 0 Fabian Faundez June 15, 2018 04:49 thanx solved! 0 Please sign in to leave a comment.
Comments
2 comments
You will need to perform debugging steps to figure out the exact error.
Open up index.php in the phppos root folder:
FIND:
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'production’);
REPLACE:
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : ‘development’);
open application/config/database.php
FIND:
$db['default']['db_debug'] = FALSE;
REPLACE:
$db['default']['db_debug'] = TRUE;
Then see the errors.
Do NOT forgot to undo these changes afterwords.
thanx solved!
Please sign in to leave a comment.