Account opening debug

Modify the configuration file:protected/config/main.php,

"log" =>array (
  "class" =>"clogrouter",  "routes" =>array (
    array (
      "class" =>"cfilelogroute",      "levels" =>"trace, info, error, warning",    ),    //uncomment the following to show log messages on web pages
    array (
      "class" =>"cweblogroute",      "levels" =>"trace", //level is trace
      "categories" =>"system.db. *" //Only display information about the database,Including database connection,Database execution statement
    ),  ),),
  • Previous Analysis of filter usage in Yii controller
  • Next Summarize six encryption technologies and code commonly used in Java