Severity: Warning
Message: A non-numeric value encountered
Filename: controllers/Portfolio.php
Line Number: 55
Backtrace:
File: /home/noweb/public_html/application/controllers/Portfolio.php
Line: 55
Function: _error_handler
File: /home/noweb/public_html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/noweb/public_html/system/core/Exceptions.php:271)
Filename: core/Common.php
Line Number: 564
Backtrace:
File: /home/noweb/public_html/application/models/Portfolio_Model.php
Line: 90
Function: get
File: /home/noweb/public_html/application/controllers/Portfolio.php
Line: 57
Function: getAll2
File: /home/noweb/public_html/index.php
Line: 315
Function: require_once
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 '-16, 16' at line 7
SELECT `p`.*, `c`.`link` as `customer_link`, `s`.`link` as `service_link` FROM `portfolio` `p` JOIN `customers` `c` ON `p`.`customer_id` = `c`.`customer_id` JOIN `services` `s` ON `p`.`service_id` = `s`.`service_id` WHERE `p`.`portfolio_status` = '1' ORDER BY `portfolio_data` DESC LIMIT -16, 16
Filename: models/Portfolio_Model.php
Line Number: 90