Severity: Warning
Message: A non-numeric value encountered
Filename: controllers/Main.php
Line Number: 156
Backtrace:
File: /home/foantikv/antikvarbudan.hu/CI/application/controllers/Main.php
Line: 156
Function: _error_handler
File: /home/foantikv/antikvarbudan.hu/public_html/index.php
Line: 292
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/foantikv/antikvarbudan.hu/CI/system/core/Exceptions.php:272)
Filename: core/Common.php
Line Number: 568
Backtrace:
File: /home/foantikv/antikvarbudan.hu/CI/application/models/Main_model.php
Line: 110
Function: query
File: /home/foantikv/antikvarbudan.hu/CI/application/controllers/Main.php
Line: 156
Function: get_books
File: /home/foantikv/antikvarbudan.hu/public_html/index.php
Line: 292
Function: require_once
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-27' at line 1
SELECT product.product_id,product_count, product_author, product.product_title, product.product_img, product_price, product_action FROM product WHERE product.product_active = 1 AND product.product_incart = 0 AND FIND_IN_SET('66', product.product_type) ORDER BY product_date DESC LIMIT 27 OFFSET -27
Filename: models/Main_model.php
Line Number: 110