A PHP Error was encountered

Severity: Notice

Message: Undefined index: search_key

Filename: controllers/Search.php

Line Number: 35

Backtrace:

File: /home/david/public_html/application/controllers/Search.php
Line: 35
Function: _error_handler

File: /home/david/public_html/index.php
Line: 322
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/david/public_html/application/models/Pagination_model.php
Line: 110
Function: query

File: /home/david/public_html/application/controllers/Search.php
Line: 41
Function: total_products_by_search

File: /home/david/public_html/index.php
Line: 322
Function: require_once

Database Error

A Database Error Occurred

Error Number: 42S22/1054

Unknown column 'country' in 'where clause'

SELECT * FROM cc_products WHERE product_name LIKE '%%' OR product_desc LIKE '%%' OR product_short_desc LIKE '%%' OR country LIKE '%%'

Filename: models/Pagination_model.php

Line Number: 110