A PHP Error was encountered

Severity: Notice

Message: Undefined index: catid

Filename: controllers/subcat.php

Line Number: 23

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: 441

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 `p1`.`product_id`,`product_name`,`product_description`,`product_category`, `product_subcategory`,`p1`.`seoUrl`,`p1`.`seoTitle`,`p1`.`seoKeyword`,`p1`.`seoDescription`,`alt_att`,`p1`.`product_image`,`p1`.`product_imagename` 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: controllers/subcat.php

Line Number: 201