A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/rydercycles/public_html/application/controllers/Menus.php:27)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/rydercycles/public_html/application/models/Category_model.php
Line: 84
Function: query

File: /home/rydercycles/public_html/application/controllers/Menus.php
Line: 36
Function: getColor

File: /home/rydercycles/public_html/index.php
Line: 315
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 '843''' at line 1

select * from cycle_colors where product_id=''843''

Filename: models/Category_model.php

Line Number: 84