Severity: Warning
Message: A non-numeric value encountered
Filename: controllers/Photos.php
Line Number: 24
Backtrace:
File: /home2/historytoursandt/public_html/application/controllers/Photos.php
Line: 24
Function: _error_handler
File: /home2/historytoursandt/public_html/index.php
Line: 292
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home2/historytoursandt/public_html/system/core/Exceptions.php:272)
Filename: core/Common.php
Line Number: 573
Backtrace:
File: /home2/historytoursandt/public_html/application/models/Image_model.php
Line: 30
Function: get
File: /home2/historytoursandt/public_html/application/controllers/Photos.php
Line: 24
Function: get_all
File: /home2/historytoursandt/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 MySQL server version for the right syntax to use near '-20, 20' at line 4
SELECT * FROM `images` ORDER BY `Id` DESC LIMIT -20, 20
Filename: models/Image_model.php
Line Number: 30