A PHP Error was encountered

Severity: Notice

Message: Undefined index: id

Filename: controllers/Pages.php

Line Number: 255

Backtrace:

File: /home/nanoshel1/public_html/application/controllers/Pages.php
Line: 255
Function: _error_handler

File: /home/nanoshel1/public_html/index.php
Line: 327
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: product_cat_id

Filename: controllers/Pages.php

Line Number: 255

Backtrace:

File: /home/nanoshel1/public_html/application/controllers/Pages.php
Line: 255
Function: _error_handler

File: /home/nanoshel1/public_html/index.php
Line: 327
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/nanoshel1/public_html/application/models/Home_model.php
Line: 1322
Function: get

File: /home/nanoshel1/public_html/application/controllers/Pages.php
Line: 255
Function: GetCorespondingProduct

File: /home/nanoshel1/public_html/index.php
Line: 327
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_cat_map`.`cat_id` IS NULL ORDER BY `products`.`id`' at line 4

SELECT `product_slug` FROM `products` LEFT JOIN `product_cat_map` ON `products`.`id`=`product_cat_map`.`product_id` WHERE `products`.`id` < and `product_cat_map`.`cat_id` IS NULL ORDER BY `products`.`id`

Filename: models/Home_model.php

Line Number: 1322