Deprecated: Function split() is deprecated in /usr/local/www/ekwest.com/sources/fastcounter.php on line 6

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/www/ekwest.com/sources/fastcounter.php:6) in /usr/local/www/ekwest.com/sources/viewer.php on line 30

Notice: Undefined property: DB_Error::$getMessage in /usr/local/www/ekwest.com/sources/MyDB.php on line 98

SQL Error:
object(DB_Error)#6 (8) { ["error_message_prefix"]=> string(0) "" ["mode"]=> int(1) ["level"]=> int(1024) ["code"]=> int(-19) ["message"]=> string(23) "DB Error: no such field" ["userinfo"]=> string(377) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '26' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" ["backtrace"]=> array(10) { [0]=> array(6) { ["file"]=> string(28) "/usr/local/share/pear/DB.php" ["line"]=> int(966) ["function"]=> string(10) "PEAR_Error" ["class"]=> string(10) "PEAR_Error" ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> string(23) "DB Error: no such field" [1]=> int(-19) [2]=> int(1) [3]=> int(1024) [4]=> string(377) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '26' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" } } [1]=> array(7) { ["file"]=> string(30) "/usr/local/share/pear/PEAR.php" ["line"]=> int(564) ["function"]=> string(8) "DB_Error" ["class"]=> string(8) "DB_Error" ["object"]=> *RECURSION* ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> int(-19) [1]=> int(1) [2]=> int(1024) [3]=> string(377) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '26' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" } } [2]=> array(7) { ["file"]=> string(35) "/usr/local/share/pear/DB/common.php" ["line"]=> int(1903) ["function"]=> string(10) "raiseError" ["class"]=> string(4) "PEAR" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '26'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(7) { [0]=> NULL [1]=> int(-19) [2]=> NULL [3]=> NULL [4]=> string(377) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '26' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" [5]=> string(8) "DB_Error" [6]=> bool(true) } } [3]=> array(7) { ["file"]=> string(34) "/usr/local/share/pear/DB/pgsql.php" ["line"]=> int(790) ["function"]=> string(10) "raiseError" ["class"]=> string(9) "DB_common" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '26'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> int(-19) [1]=> NULL [2]=> NULL [3]=> NULL [4]=> string(143) "ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^" } } [4]=> array(7) { ["file"]=> string(34) "/usr/local/share/pear/DB/pgsql.php" ["line"]=> int(337) ["function"]=> string(15) "pgsqlRaiseError" ["class"]=> string(8) "DB_pgsql" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '26'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(0) { } } [5]=> array(7) { ["file"]=> string(35) "/usr/local/share/pear/DB/common.php" ["line"]=> int(1216) ["function"]=> string(11) "simpleQuery" ["class"]=> string(8) "DB_pgsql" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '26'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '26'" } } [6]=> array(7) { ["file"]=> string(35) "/usr/local/share/pear/DB/common.php" ["line"]=> int(1663) ["function"]=> string(5) "query" ["class"]=> string(9) "DB_common" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '26'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '26'" } } [7]=> array(7) { ["file"]=> string(42) "/usr/local/www/ekwest.com/sources/MyDB.php" ["line"]=> int(83) ["function"]=> string(6) "getAll" ["class"]=> string(9) "DB_common" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '26'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '26'" [1]=> array(0) { } [2]=> int(2) } } [8]=> array(7) { ["file"]=> string(44) "/usr/local/www/ekwest.com/sources/viewer.php" ["line"]=> int(46) ["function"]=> string(12) "runDataQuery" ["class"]=> string(4) "MyDB" ["object"]=> object(MyDB)#2 (5) { ["db"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '26'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["msg"]=> NULL ["debug"]=> bool(true) ["limit"]=> bool(false) ["limit_query"]=> int(-1) } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '26'" } } [9]=> array(4) { ["file"]=> string(39) "/usr/local/www/restaurant.ca/viewer.php" ["line"]=> int(1) ["args"]=> array(1) { [0]=> string(44) "/usr/local/www/ekwest.com/sources/viewer.php" } ["function"]=> string(7) "include" } } ["callback"]=> NULL }
Notice: Undefined property: DB_Error::$getMessage in /usr/local/www/ekwest.com/sources/MyDB.php on line 98

SQL Error:
object(DB_Error)#8 (8) { ["error_message_prefix"]=> string(0) "" ["mode"]=> int(1) ["level"]=> int(1024) ["code"]=> int(-19) ["message"]=> string(23) "DB Error: no such field" ["userinfo"]=> string(376) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '4' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" ["backtrace"]=> array(10) { [0]=> array(6) { ["file"]=> string(28) "/usr/local/share/pear/DB.php" ["line"]=> int(966) ["function"]=> string(10) "PEAR_Error" ["class"]=> string(10) "PEAR_Error" ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> string(23) "DB Error: no such field" [1]=> int(-19) [2]=> int(1) [3]=> int(1024) [4]=> string(376) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '4' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" } } [1]=> array(7) { ["file"]=> string(30) "/usr/local/share/pear/PEAR.php" ["line"]=> int(564) ["function"]=> string(8) "DB_Error" ["class"]=> string(8) "DB_Error" ["object"]=> *RECURSION* ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> int(-19) [1]=> int(1) [2]=> int(1024) [3]=> string(376) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '4' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" } } [2]=> array(7) { ["file"]=> string(35) "/usr/local/share/pear/DB/common.php" ["line"]=> int(1903) ["function"]=> string(10) "raiseError" ["class"]=> string(4) "PEAR" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '4'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(7) { [0]=> NULL [1]=> int(-19) [2]=> NULL [3]=> NULL [4]=> string(376) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '4' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" [5]=> string(8) "DB_Error" [6]=> bool(true) } } [3]=> array(7) { ["file"]=> string(34) "/usr/local/share/pear/DB/pgsql.php" ["line"]=> int(790) ["function"]=> string(10) "raiseError" ["class"]=> string(9) "DB_common" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '4'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> int(-19) [1]=> NULL [2]=> NULL [3]=> NULL [4]=> string(143) "ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^" } } [4]=> array(7) { ["file"]=> string(34) "/usr/local/share/pear/DB/pgsql.php" ["line"]=> int(337) ["function"]=> string(15) "pgsqlRaiseError" ["class"]=> string(8) "DB_pgsql" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '4'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(0) { } } [5]=> array(7) { ["file"]=> string(35) "/usr/local/share/pear/DB/common.php" ["line"]=> int(1216) ["function"]=> string(11) "simpleQuery" ["class"]=> string(8) "DB_pgsql" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '4'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '4'" } } [6]=> array(7) { ["file"]=> string(35) "/usr/local/share/pear/DB/common.php" ["line"]=> int(1663) ["function"]=> string(5) "query" ["class"]=> string(9) "DB_common" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '4'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '4'" } } [7]=> array(7) { ["file"]=> string(42) "/usr/local/www/ekwest.com/sources/MyDB.php" ["line"]=> int(83) ["function"]=> string(6) "getAll" ["class"]=> string(9) "DB_common" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '4'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '4'" [1]=> array(0) { } [2]=> int(2) } } [8]=> array(7) { ["file"]=> string(44) "/usr/local/www/ekwest.com/sources/viewer.php" ["line"]=> int(46) ["function"]=> string(12) "runDataQuery" ["class"]=> string(4) "MyDB" ["object"]=> object(MyDB)#2 (5) { ["db"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '4'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["msg"]=> NULL ["debug"]=> bool(true) ["limit"]=> bool(false) ["limit_query"]=> int(-1) } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '4'" } } [9]=> array(4) { ["file"]=> string(39) "/usr/local/www/restaurant.ca/viewer.php" ["line"]=> int(1) ["args"]=> array(1) { [0]=> string(44) "/usr/local/www/ekwest.com/sources/viewer.php" } ["function"]=> string(7) "include" } } ["callback"]=> NULL }
Notice: Undefined property: DB_Error::$getMessage in /usr/local/www/ekwest.com/sources/MyDB.php on line 98

SQL Error:
object(DB_Error)#10 (8) { ["error_message_prefix"]=> string(0) "" ["mode"]=> int(1) ["level"]=> int(1024) ["code"]=> int(-19) ["message"]=> string(23) "DB Error: no such field" ["userinfo"]=> string(377) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '13' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" ["backtrace"]=> array(10) { [0]=> array(6) { ["file"]=> string(28) "/usr/local/share/pear/DB.php" ["line"]=> int(966) ["function"]=> string(10) "PEAR_Error" ["class"]=> string(10) "PEAR_Error" ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> string(23) "DB Error: no such field" [1]=> int(-19) [2]=> int(1) [3]=> int(1024) [4]=> string(377) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '13' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" } } [1]=> array(7) { ["file"]=> string(30) "/usr/local/share/pear/PEAR.php" ["line"]=> int(564) ["function"]=> string(8) "DB_Error" ["class"]=> string(8) "DB_Error" ["object"]=> *RECURSION* ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> int(-19) [1]=> int(1) [2]=> int(1024) [3]=> string(377) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '13' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" } } [2]=> array(7) { ["file"]=> string(35) "/usr/local/share/pear/DB/common.php" ["line"]=> int(1903) ["function"]=> string(10) "raiseError" ["class"]=> string(4) "PEAR" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '13'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(7) { [0]=> NULL [1]=> int(-19) [2]=> NULL [3]=> NULL [4]=> string(377) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '13' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" [5]=> string(8) "DB_Error" [6]=> bool(true) } } [3]=> array(7) { ["file"]=> string(34) "/usr/local/share/pear/DB/pgsql.php" ["line"]=> int(790) ["function"]=> string(10) "raiseError" ["class"]=> string(9) "DB_common" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '13'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> int(-19) [1]=> NULL [2]=> NULL [3]=> NULL [4]=> string(143) "ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^" } } [4]=> array(7) { ["file"]=> string(34) "/usr/local/share/pear/DB/pgsql.php" ["line"]=> int(337) ["function"]=> string(15) "pgsqlRaiseError" ["class"]=> string(8) "DB_pgsql" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '13'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(0) { } } [5]=> array(7) { ["file"]=> string(35) "/usr/local/share/pear/DB/common.php" ["line"]=> int(1216) ["function"]=> string(11) "simpleQuery" ["class"]=> string(8) "DB_pgsql" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '13'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '13'" } } [6]=> array(7) { ["file"]=> string(35) "/usr/local/share/pear/DB/common.php" ["line"]=> int(1663) ["function"]=> string(5) "query" ["class"]=> string(9) "DB_common" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '13'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '13'" } } [7]=> array(7) { ["file"]=> string(42) "/usr/local/www/ekwest.com/sources/MyDB.php" ["line"]=> int(83) ["function"]=> string(6) "getAll" ["class"]=> string(9) "DB_common" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '13'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '13'" [1]=> array(0) { } [2]=> int(2) } } [8]=> array(7) { ["file"]=> string(44) "/usr/local/www/ekwest.com/sources/viewer.php" ["line"]=> int(46) ["function"]=> string(12) "runDataQuery" ["class"]=> string(4) "MyDB" ["object"]=> object(MyDB)#2 (5) { ["db"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '13'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["msg"]=> NULL ["debug"]=> bool(true) ["limit"]=> bool(false) ["limit_query"]=> int(-1) } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '13'" } } [9]=> array(4) { ["file"]=> string(39) "/usr/local/www/restaurant.ca/viewer.php" ["line"]=> int(1) ["args"]=> array(1) { [0]=> string(44) "/usr/local/www/ekwest.com/sources/viewer.php" } ["function"]=> string(7) "include" } } ["callback"]=> NULL }
Notice: Undefined property: DB_Error::$getMessage in /usr/local/www/ekwest.com/sources/MyDB.php on line 98

SQL Error:
object(DB_Error)#12 (8) { ["error_message_prefix"]=> string(0) "" ["mode"]=> int(1) ["level"]=> int(1024) ["code"]=> int(-19) ["message"]=> string(23) "DB Error: no such field" ["userinfo"]=> string(377) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '20' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" ["backtrace"]=> array(10) { [0]=> array(6) { ["file"]=> string(28) "/usr/local/share/pear/DB.php" ["line"]=> int(966) ["function"]=> string(10) "PEAR_Error" ["class"]=> string(10) "PEAR_Error" ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> string(23) "DB Error: no such field" [1]=> int(-19) [2]=> int(1) [3]=> int(1024) [4]=> string(377) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '20' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" } } [1]=> array(7) { ["file"]=> string(30) "/usr/local/share/pear/PEAR.php" ["line"]=> int(564) ["function"]=> string(8) "DB_Error" ["class"]=> string(8) "DB_Error" ["object"]=> *RECURSION* ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> int(-19) [1]=> int(1) [2]=> int(1024) [3]=> string(377) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '20' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" } } [2]=> array(7) { ["file"]=> string(35) "/usr/local/share/pear/DB/common.php" ["line"]=> int(1903) ["function"]=> string(10) "raiseError" ["class"]=> string(4) "PEAR" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '20'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(7) { [0]=> NULL [1]=> int(-19) [2]=> NULL [3]=> NULL [4]=> string(377) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '20' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" [5]=> string(8) "DB_Error" [6]=> bool(true) } } [3]=> array(7) { ["file"]=> string(34) "/usr/local/share/pear/DB/pgsql.php" ["line"]=> int(790) ["function"]=> string(10) "raiseError" ["class"]=> string(9) "DB_common" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '20'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> int(-19) [1]=> NULL [2]=> NULL [3]=> NULL [4]=> string(143) "ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^" } } [4]=> array(7) { ["file"]=> string(34) "/usr/local/share/pear/DB/pgsql.php" ["line"]=> int(337) ["function"]=> string(15) "pgsqlRaiseError" ["class"]=> string(8) "DB_pgsql" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '20'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(0) { } } [5]=> array(7) { ["file"]=> string(35) "/usr/local/share/pear/DB/common.php" ["line"]=> int(1216) ["function"]=> string(11) "simpleQuery" ["class"]=> string(8) "DB_pgsql" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '20'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '20'" } } [6]=> array(7) { ["file"]=> string(35) "/usr/local/share/pear/DB/common.php" ["line"]=> int(1663) ["function"]=> string(5) "query" ["class"]=> string(9) "DB_common" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '20'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '20'" } } [7]=> array(7) { ["file"]=> string(42) "/usr/local/www/ekwest.com/sources/MyDB.php" ["line"]=> int(83) ["function"]=> string(6) "getAll" ["class"]=> string(9) "DB_common" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '20'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '20'" [1]=> array(0) { } [2]=> int(2) } } [8]=> array(7) { ["file"]=> string(44) "/usr/local/www/ekwest.com/sources/viewer.php" ["line"]=> int(46) ["function"]=> string(12) "runDataQuery" ["class"]=> string(4) "MyDB" ["object"]=> object(MyDB)#2 (5) { ["db"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '20'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["msg"]=> NULL ["debug"]=> bool(true) ["limit"]=> bool(false) ["limit_query"]=> int(-1) } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(220) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '20'" } } [9]=> array(4) { ["file"]=> string(39) "/usr/local/www/restaurant.ca/viewer.php" ["line"]=> int(1) ["args"]=> array(1) { [0]=> string(44) "/usr/local/www/ekwest.com/sources/viewer.php" } ["function"]=> string(7) "include" } } ["callback"]=> NULL }
Notice: Undefined property: DB_Error::$getMessage in /usr/local/www/ekwest.com/sources/MyDB.php on line 98

SQL Error:
object(DB_Error)#14 (8) { ["error_message_prefix"]=> string(0) "" ["mode"]=> int(1) ["level"]=> int(1024) ["code"]=> int(-19) ["message"]=> string(23) "DB Error: no such field" ["userinfo"]=> string(376) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '1' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" ["backtrace"]=> array(10) { [0]=> array(6) { ["file"]=> string(28) "/usr/local/share/pear/DB.php" ["line"]=> int(966) ["function"]=> string(10) "PEAR_Error" ["class"]=> string(10) "PEAR_Error" ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> string(23) "DB Error: no such field" [1]=> int(-19) [2]=> int(1) [3]=> int(1024) [4]=> string(376) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '1' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" } } [1]=> array(7) { ["file"]=> string(30) "/usr/local/share/pear/PEAR.php" ["line"]=> int(564) ["function"]=> string(8) "DB_Error" ["class"]=> string(8) "DB_Error" ["object"]=> *RECURSION* ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> int(-19) [1]=> int(1) [2]=> int(1024) [3]=> string(376) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '1' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" } } [2]=> array(7) { ["file"]=> string(35) "/usr/local/share/pear/DB/common.php" ["line"]=> int(1903) ["function"]=> string(10) "raiseError" ["class"]=> string(4) "PEAR" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '1'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(7) { [0]=> NULL [1]=> int(-19) [2]=> NULL [3]=> NULL [4]=> string(376) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '1' [nativecode=ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^]" [5]=> string(8) "DB_Error" [6]=> bool(true) } } [3]=> array(7) { ["file"]=> string(34) "/usr/local/share/pear/DB/pgsql.php" ["line"]=> int(790) ["function"]=> string(10) "raiseError" ["class"]=> string(9) "DB_common" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '1'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> int(-19) [1]=> NULL [2]=> NULL [3]=> NULL [4]=> string(143) "ERROR: column "search_criteria_name_2" does not exist LINE 1: Select search_criteria_name_2 as sc From search_criteria sc,... ^" } } [4]=> array(7) { ["file"]=> string(34) "/usr/local/share/pear/DB/pgsql.php" ["line"]=> int(337) ["function"]=> string(15) "pgsqlRaiseError" ["class"]=> string(8) "DB_pgsql" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '1'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(0) { } } [5]=> array(7) { ["file"]=> string(35) "/usr/local/share/pear/DB/common.php" ["line"]=> int(1216) ["function"]=> string(11) "simpleQuery" ["class"]=> string(8) "DB_pgsql" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '1'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '1'" } } [6]=> array(7) { ["file"]=> string(35) "/usr/local/share/pear/DB/common.php" ["line"]=> int(1663) ["function"]=> string(5) "query" ["class"]=> string(9) "DB_common" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '1'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '1'" } } [7]=> array(7) { ["file"]=> string(42) "/usr/local/www/ekwest.com/sources/MyDB.php" ["line"]=> int(83) ["function"]=> string(6) "getAll" ["class"]=> string(9) "DB_common" ["object"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '1'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '1'" [1]=> array(0) { } [2]=> int(2) } } [8]=> array(7) { ["file"]=> string(44) "/usr/local/www/ekwest.com/sources/viewer.php" ["line"]=> int(46) ["function"]=> string(12) "runDataQuery" ["class"]=> string(4) "MyDB" ["object"]=> object(MyDB)#2 (5) { ["db"]=> object(DB_pgsql)#3 (28) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["features"]=> array(7) { ["limit"]=> string(5) "alter" ["new_link"]=> string(5) "4.3.0" ["numrows"]=> bool(true) ["pconnect"]=> bool(true) ["prepare"]=> bool(false) ["ssl"]=> bool(true) ["transactions"]=> bool(true) } ["errorcode_map"]=> array(0) { } ["connection"]=> resource(11) of type (pgsql link) ["dsn"]=> array(9) { ["phptype"]=> string(5) "pgsql" ["dbsyntax"]=> string(5) "pgsql" ["username"]=> string(6) "ammina" ["password"]=> string(12) "restaurateur" ["protocol"]=> string(3) "tcp" ["hostspec"]=> string(0) "" ["port"]=> bool(false) ["socket"]=> bool(false) ["database"]=> string(6) "ekwest" } ["autocommit"]=> bool(true) ["transaction_opcount"]=> int(0) ["affected"]=> int(0) ["row"]=> array(0) { } ["_num_rows"]=> array(0) { } ["fetchmode"]=> int(2) ["fetchmode_object_class"]=> string(8) "stdClass" ["was_connected"]=> NULL ["last_query"]=> string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '1'" ["options"]=> array(8) { ["result_buffering"]=> int(500) ["persistent"]=> bool(false) ["ssl"]=> bool(false) ["debug"]=> int(0) ["seqname_format"]=> string(6) "%s_seq" ["autofree"]=> bool(false) ["portability"]=> int(0) ["optimize"]=> string(11) "performance" } ["last_parameters"]=> array(0) { } ["prepare_tokens"]=> array(0) { } ["prepare_types"]=> array(0) { } ["prepared_queries"]=> array(0) { } ["_last_query_manip"]=> bool(false) ["_next_query_manip"]=> bool(false) ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(8) "DB_Error" ["_expected_errors"]=> array(0) { } } ["msg"]=> NULL ["debug"]=> bool(true) ["limit"]=> bool(false) ["limit_query"]=> int(-1) } ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(219) "Select search_criteria_name_2 as sc From search_criteria sc, establishment_search_criteria esc Where sc.search_criteria_id = esc.search_criteria_id and establishment_id = '116RSTQBC' AND sc.search_criteria_type_id = '1'" } } [9]=> array(4) { ["file"]=> string(39) "/usr/local/www/restaurant.ca/viewer.php" ["line"]=> int(1) ["args"]=> array(1) { [0]=> string(44) "/usr/local/www/ekwest.com/sources/viewer.php" } ["function"]=> string(7) "include" } } ["callback"]=> NULL }
Warning: Invalid argument supplied for foreach() in /usr/local/www/ekwest.com/sources/viewer.php on line 49

Warning: Invalid argument supplied for foreach() in /usr/local/www/ekwest.com/sources/viewer.php on line 59

Warning: Invalid argument supplied for foreach() in /usr/local/www/ekwest.com/sources/viewer.php on line 63

Warning: include(viewer2_2.tpl) [function.include]: failed to open stream: No such file or directory in /usr/local/www/restaurant.ca/includes.php on line 105

Warning: include() [function.include]: Failed opening 'viewer2_2.tpl' for inclusion (include_path='/usr/local/www/ekwest.com/sources/templates') in /usr/local/www/restaurant.ca/includes.php on line 105