Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT `categId`, `name`, `description`, `parentId`, `hits` FROM `sj-wiki`.`tiki_categories` WHERE ParentId = '3' ORDER BY `categId` DESC LIMIT 1
- 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 'LIMIT 1 OFFSET 0' at line 10
- The query was:
- SELECT `categId`, `name`, `description`, `parentId`, `hits` FROM `sj-wiki`.`tiki_categories` WHERE ParentId = ? ORDER BY `categId` DESC LIMIT 1
- VALUES:
- 1.3
- The built query was likely:
- SELECT `categId`, `name`, `description`, `parentId`, `hits` FROM `sj-wiki`.`tiki_categories` WHERE ParentId = '3' ORDER BY `categId` DESC LIMIT 1
- Stacktrace:
- * C:\inetpub\wwwroot\AutoOpretTest.php : 0 -> {main}(array ( ))
- * C:\inetpub\wwwroot\AutoOpretTest.php : 8 -> GetLastCreatedWikiSag(array ( ))
- * C:\inetpub\wwwroot\lib\sjlib\TikiObjectCreator.php : 99 -> getOne(array ( 'query' => '', 'values' => '', 'reporterrors' => '', 'offset' => '', ))
- * C:\inetpub\wwwroot\lib\core\TikiDb\Bridge.php : 42 -> getOne(array ( 'query' => '', 'values' => '', 'reporterrors' => '', 'offset' => '', ))
- * C:\inetpub\wwwroot\lib\core\TikiDb.php : 65 -> query(array ( 'query' => '', 'values' => '', 'numrows' => '', 'offset' => '', 'reporterrors' => '', ))
- * C:\inetpub\wwwroot\lib\core\TikiDb\Pdo.php : 118 -> handleQueryError(array ( 'query' => '', 'values' => '', 'result' => '', ))
- * C:\inetpub\wwwroot\lib\core\TikiDb.php : 148 -> handle(array ( 'db' => '', 'query' => '', 'values' => '', 'result' => '', ))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement