error migrate DB mysql

Fabian Faundez

I'm changing db server when I complete the sale I get the following

Comments

2 comments

  • Comment author
    Chris Muench

    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
  • Comment author
    Fabian Faundez

    thanx solved!

    0

Please sign in to leave a comment.