Notice: Undefined index: document_srl in /usr/share/nginx/akorn/page/doc.php on line 9
Array ( [0] => Array ( [file] => /usr/share/nginx/akorn/lib/common.php [line] => 43 [function] => _query [class] => LibSQL [object] => LibSQL Object ( [sql] => mysqli Object ( [affected_rows] => -1 [client_info] => mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $ [client_version] => 50012 [connect_errno] => 0 [connect_error] => [errno] => 1064 [error] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 [error_list] => Array ( [0] => Array ( [errno] => 1064 [sqlstate] => 42000 [error] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 ) ) [field_count] => 0 [host_info] => Localhost via UNIX socket [info] => [insert_id] => 0 [server_info] => 5.5.5-10.1.30-MariaDB-1~xenial [server_version] => 100130 [stat] => Uptime: 9396290 Threads: 2 Questions: 562997644 Slow queries: 17942 Opens: 72723 Flush tables: 1 Open tables: 400 Queries per second avg: 59.917 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 16972423 [warning_count] => 0 ) ) [type] => -> [args] => Array ( [0] => SELECT * FROM hk_doc WHERE did = [1] => Array ( [0] => ) ) ) [1] => Array ( [file] => /usr/share/nginx/akorn/page/doc.php [line] => 9 [function] => fetchAllQuery [class] => LibSQL [object] => LibSQL Object ( [sql] => mysqli Object ( [affected_rows] => -1 [client_info] => mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $ [client_version] => 50012 [connect_errno] => 0 [connect_error] => [errno] => 0 [error] => [error_list] => Array ( ) [field_count] => 0 [host_info] => Localhost via UNIX socket [info] => [insert_id] => 0 [server_info] => 5.5.5-10.1.30-MariaDB-1~xenial [server_version] => 100130 [stat] => Uptime: 9396290 Threads: 2 Questions: 562997644 Slow queries: 17942 Opens: 72723 Flush tables: 1 Open tables: 400 Queries per second avg: 59.917 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 16972423 [warning_count] => 0 ) ) [type] => -> [args] => Array ( [0] => SELECT * FROM hk_doc WHERE did = ? [1] => ) ) [2] => Array ( [file] => /usr/share/nginx/akorn/index.php [line] => 4 [args] => Array ( [0] => /usr/share/nginx/akorn/page/doc.php ) [function] => include ) )
Fatal error: Uncaught Exception: Invalid query: in /usr/share/nginx/akorn/lib/common.php:39 Stack trace: #0 /usr/share/nginx/akorn/lib/common.php(43): LibSQL->_query('SELECT * FROM h...', Array) #1 /usr/share/nginx/akorn/page/doc.php(9): LibSQL->fetchAllQuery('SELECT * FROM h...', NULL) #2 /usr/share/nginx/akorn/index.php(4): include('/usr/share/ngin...') #3 {main} thrown in /usr/share/nginx/akorn/lib/common.php on line 39