A PHP Error was encountered

Severity: Notice

Message: Undefined index: id

Filename: controllers/subcat.php

Line Number: 17

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/coslabindia/public_html/system/core/Exceptions.php:186)

Filename: core/Common.php

Line Number: 437

Database Error

A Database Error Occurred

Error Number: 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 'GROUP BY `p1`.`product_id`' at line 3

SELECT * FROM `product_table` AS `p1` INNER JOIN `product_image_table` AS `pi1` ON `p1`.`product_id` = `pi1`.`product_id` INNER JOIN `category_table` AS `c1` ON `p1`.`product_category` = GROUP BY `p1`.`product_id`

Filename: /home/coslabindia/public_html/controllers/subcat.php

Line Number: 183