Notice (8): Undefined index: BasicInformation [APP/Controller/SummaryController.php, line 115]
Notice (8): Undefined index: BasicInformationType [APP/Controller/SummaryController.php, line 119]
Notice (8): Undefined index: BasicInformationType [APP/Controller/SummaryController.php, line 120]
Notice (8): Undefined index: BasicInformationType [APP/Controller/SummaryController.php, line 121]
Notice (8): Undefined index: id [APP/Controller/SummaryController.php, line 125]
Notice (8): Undefined index: id [APP/Controller/SummaryController.php, line 161]
CakePHP: the rapid development php framework: Errors

Database Error

Error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND BasicInformationType.md_cate_id = GROUP BY BasicInformation.id, BasicInform' at line 1

SQL Query: SELECT * FROM basic_informations BasicInformation INNER JOIN basic_information_types BasicInformationType ON BasicInformation.id = BasicInformationType.basic_info_id WHERE BasicInformation.id != AND BasicInformationType.md_cate_id = GROUP BY BasicInformation.id, BasicInformationType.md_cate_id ORDER BY RAND() LIMIT 3

Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp

Stack Trace