Skip to content

mysql error in one url #16

@yigubigu

Description

@yigubigu

step1: http://localhost/ECShop2/goodsCategory.php
step2: click "手动变速箱" link directly
step3: the mysql error is displayed.

http://localhost/ECShop2/search.php?category_level=2&category=84

MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT COUNT(*) FROM ecomm2.ecs_goods AS g WHERE g.is_delete = 0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND (( 1 AND g.cat_id IN () ) ) ) [2] => Array ( [error] => 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 ') ) )' at line 1 ) [3] => Array ( [errno] => 1064 ) )

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions