Error type: Php User Error
message: Db::query() failed
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
lastQuery: SELECT COUNT(*) AS total FROM catalogs WHERE Active = '1' AND cid IN ()
Trace: 8 [show details] [hide details]
- trigger_error (string[309]a:3:{s:7:"message";s:18:"Db::query() failed";s:5:"error";s:147:"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";s:9:"lastQuery";s:71:"SELECT COUNT(*) AS total FROM catalogs WHERE Active = '1' AND cid IN ()";}, 256256)
FILE: Db.class.php
LINE: 156
DIR: /home/4motion/ftp/dualmeble.com/v2/lib/System/Database
- Db.query (string[71]SELECT COUNT(*) AS total FROM catalogs WHERE Active = '1' AND cid IN ())
FILE: Db.class.php
LINE: 357
DIR: /home/4motion/ftp/dualmeble.com/v2/lib/System/Database
- Db.getRow (string[71]SELECT COUNT(*) AS total FROM catalogs WHERE Active = '1' AND cid IN ())
FILE: CatalogsPage.class.php
LINE: 124
DIR: /home/4motion/ftp/dualmeble.com/v2/Actions/Site/lib/page
- CatalogsPage.viewCatAction ()
FILE: CatalogsPage.class.php
LINE: 64
DIR: /home/4motion/ftp/dualmeble.com/v2/Actions/Site/lib/page
- CatalogsPage.readParameters ()
FILE: Page.class.php
LINE: 19
DIR: /home/4motion/ftp/dualmeble.com/v2/lib/data
- Page.__construct ()
FILE: RequestHandler.class.php
LINE: 75
DIR: /home/4motion/ftp/dualmeble.com/v2/lib/util
- RequestHandler.__construct (string[8]Catalogs, array[2]Array
(
[Site] => Actions/Site/lib/
[Admin] => Actions/Admin/lib/
)
, string[4]Site)
FILE: RequestHandler.class.php
LINE: 112
DIR: /home/4motion/ftp/dualmeble.com/v2/lib/util
- RequestHandler.handle (array[2]Array
(
[Site] => Actions/Site/lib/
[Admin] => Actions/Admin/lib/
)
)
FILE: index.php
LINE: 33
DIR: /home/4motion/ftp/dualmeble.com/v2
[hide param]
Trick: click on a function's argument to see it fully
Trick: click on a function to see the file & line