A PHP Error was encountered

Severity: Notice

Message: Undefined index: category_id

Filename: controllers/Product.php

Line Number: 96

Backtrace:

File: /mnt/qiyezhan/minglaikeji/application/client/controllers/Product.php
Line: 96
Function: _error_handler

File: /mnt/qiyezhan/minglaikeji/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: category_id

Filename: controllers/Product.php

Line Number: 99

Backtrace:

File: /mnt/qiyezhan/minglaikeji/application/client/controllers/Product.php
Line: 99
Function: _error_handler

File: /mnt/qiyezhan/minglaikeji/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: category_id

Filename: controllers/Product.php

Line Number: 100

Backtrace:

File: /mnt/qiyezhan/minglaikeji/application/client/controllers/Product.php
Line: 100
Function: _error_handler

File: /mnt/qiyezhan/minglaikeji/index.php
Line: 316
Function: require_once

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 ') and `product`.`display` = 1 ORDER BY `product`.`id` ASC' at line 4

SELECT `product`.`id`, `product`.`title`, `menu`.`html_path` FROM `product` JOIN `menu` ON `product`.`category_id` = `menu`.`id` WHERE `product`.`id` > 41 and `product`.`category_id` in () and `product`.`display` = 1 ORDER BY `product`.`id` ASC

Filename: models/Product_model.php

Line Number: 73