Parse error: syntax error, unexpected end of file in on line 1
Database Error

发生了一个数据库错误

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 'ORDER BY `gbsop_product`.`updatetime` desc LIMIT 8' at line 7

SELECT `gbsop_product`.`id`, `gbsop_product`.`promodel`, `gbsop_product`.`catid`, `gbsop_product`.`title`, `gbsop_product`.`prospecificat`, `gbsop_product`.`yaowuzuoyong`, `gbsop_product`.`buliangfanying`, `gbsop_product`.`ksstitle`, `gbsop_product_data`.`photo_url`, `gbsop_product_data`.`shiyingzheng`, `gbsop_category`.`catname`, `gbsop_product`.`producername`, `gbsop_product`.`zhiliaojibing`, `gbsop_product`.`pricemarket` FROM `gbsop_product` LEFT JOIN `gbsop_product_data` ON `gbsop_product_data`.`id`=`gbsop_product`.`id` LEFT JOIN `gbsop_category` ON `gbsop_category`.`catid`=`gbsop_product`.`catid` WHERE `gbsop_product`.`status` = 99 AND (LOCATE('阿胶',promodel) >0 or LOCATE('阿胶',title) >0 or LOCATE('阿胶',zhiliaojibing) > `0)` ORDER BY `gbsop_product`.`updatetime` desc LIMIT 8

Filename: models/M_category.php

Line Number: 96

A PHP Error was encountered

Severity: Parsing Error

Message: syntax error, unexpected end of file

Filename:

Line Number: 1

Backtrace: