tianlan654
期待使用教程
- tianlan654 回复了话题 此错误如何解决?谢谢
问题是在关联的过程中theme表自动生成别名为t,
直接用theme.themeId造成不明确,
因为很多表有themeId这个字段,
我添加别名t上去就Ok了, $criteria->addCondition('t
.themeId='.$themeId) - tianlan654 回复了话题 此错误如何解决?谢谢
CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'themeId' in where clause is ambiguous 这个问题怎么解决。themeId是主键来的
CMultiFileUpload 怎么没有 限制上传大小的属性?