Appearance
常见问题解答
1.如何开启开发模式?
系统在开发模式下,会显示调试信息,以及在页面底部会出现开发者工具栏,方便在开发过程中调试排除错误。可以通过如下方式开始:
- 修改 EduSoho 的 Nginx 配置,将所有的
app.php
修改为app_dev.php
; - 创建app/data/dev.lock
- 重启 Nginx。bash
sudo service nginx restart # Ubuntu sudo brew services restart nginx # macOS
2.which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by报错
bash
which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
在配置文件my.cnf中关闭sql_mode=ONLY_FULL_GROUP_BY
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES