INFO o plikach
385: /__handel/app/models/WebArticles.class.php: errorSql
46: /__handel/app/controllers/article.php: getPrevLastArticle
173: /hurtidetal.pl/index.php: require_once
pytanie: SELECT a.id, a.title, a.parent_id, a.ed_id, a.subtitle, a.lead, a.lead_glowna, a.filename, a.submain_page, a.main_page, a.date_from FROM art_publ_view a LEFT OUTER JOIN j_kat_art jkp ON (jkp.art_id=a.id AND jkp.art_type=2) WHERE a.parent_id=1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a.id > '451' and a.date_from >= NULL ORDER BY a.date_from ASC, a.id ASC LIMIT 1 [nativecode=ERROR: invalid input syntax for integer: ""
LINE 1: ...1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a....
^]object(DB_Error)#11 (8) {
["error_message_prefix"]=>
string(0) ""
["mode"]=>
int(1)
["level"]=>
int(1024)
["code"]=>
int(-11)
["message"]=>
string(24) "DB Error: invalid number"
["userinfo"]=>
string(574) "SELECT a.id, a.title, a.parent_id, a.ed_id, a.subtitle, a.lead, a.lead_glowna, a.filename, a.submain_page, a.main_page, a.date_from FROM art_publ_view a LEFT OUTER JOIN j_kat_art jkp ON (jkp.art_id=a.id AND jkp.art_type=2) WHERE a.parent_id=1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a.id > '451' and a.date_from >= NULL ORDER BY a.date_from ASC, a.id ASC LIMIT 1 [nativecode=ERROR: invalid input syntax for integer: ""
LINE 1: ...1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a....
^]"
["backtrace"]=>
array(10) {
[0]=>
array(7) {
["file"]=>
string(12) "/PEAR/DB.php"
["line"]=>
int(888)
["function"]=>
string(10) "PEAR_Error"
["class"]=>
string(10) "PEAR_Error"
["object"]=>
*RECURSION*
["type"]=>
string(2) "->"
["args"]=>
array(5) {
[0]=>
string(24) "DB Error: invalid number"
[1]=>
int(-11)
[2]=>
int(1)
[3]=>
int(1024)
[4]=>
string(574) "SELECT a.id, a.title, a.parent_id, a.ed_id, a.subtitle, a.lead, a.lead_glowna, a.filename, a.submain_page, a.main_page, a.date_from FROM art_publ_view a LEFT OUTER JOIN j_kat_art jkp ON (jkp.art_id=a.id AND jkp.art_type=2) WHERE a.parent_id=1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a.id > '451' and a.date_from >= NULL ORDER BY a.date_from ASC, a.id ASC LIMIT 1 [nativecode=ERROR: invalid input syntax for integer: ""
LINE 1: ...1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a....
^]"
}
}
[1]=>
array(7) {
["file"]=>
string(14) "/PEAR/PEAR.php"
["line"]=>
int(540)
["function"]=>
string(8) "DB_Error"
["class"]=>
string(8) "DB_Error"
["object"]=>
*RECURSION*
["type"]=>
string(2) "->"
["args"]=>
array(4) {
[0]=>
int(-11)
[1]=>
int(1)
[2]=>
int(1024)
[3]=>
string(574) "SELECT a.id, a.title, a.parent_id, a.ed_id, a.subtitle, a.lead, a.lead_glowna, a.filename, a.submain_page, a.main_page, a.date_from FROM art_publ_view a LEFT OUTER JOIN j_kat_art jkp ON (jkp.art_id=a.id AND jkp.art_type=2) WHERE a.parent_id=1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a.id > '451' and a.date_from >= NULL ORDER BY a.date_from ASC, a.id ASC LIMIT 1 [nativecode=ERROR: invalid input syntax for integer: ""
LINE 1: ...1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a....
^]"
}
}
[2]=>
array(7) {
["file"]=>
string(19) "/PEAR/DB/common.php"
["line"]=>
int(1849)
["function"]=>
string(10) "raiseError"
["class"]=>
string(4) "PEAR"
["object"]=>
object(DB_pgsql)#2 (26) {
["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(15) of type (pgsql link)
["dsn"]=>
array(9) {
["phptype"]=>
string(5) "pgsql"
["dbsyntax"]=>
string(5) "pgsql"
["username"]=>
string(11) "hurtidetal4"
["password"]=>
string(12) "produkty1234"
["protocol"]=>
string(3) "tcp"
["hostspec"]=>
string(23) "psql.hurtidetal.home.pl"
["port"]=>
string(4) "5432"
["socket"]=>
bool(false)
["database"]=>
string(11) "hurtidetal4"
}
["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(378) "SELECT a.id, a.title, a.parent_id, a.ed_id, a.subtitle, a.lead, a.lead_glowna, a.filename, a.submain_page, a.main_page, a.date_from FROM art_publ_view a LEFT OUTER JOIN j_kat_art jkp ON (jkp.art_id=a.id AND jkp.art_type=2) WHERE a.parent_id=1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a.id > '451' and a.date_from >= NULL ORDER BY a.date_from ASC, a.id ASC LIMIT 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(8) {
[0]=>
int(2)
[1]=>
int(1)
[2]=>
int(0)
[3]=>
string(1) "f"
[4]=>
string(0) ""
[5]=>
string(3) "451"
[6]=>
NULL
[7]=>
int(1)
}
["prepare_tokens"]=>
array(0) {
}
["prepare_types"]=>
array(0) {
}
["prepared_queries"]=>
array(0) {
}
["_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(-11)
[2]=>
NULL
[3]=>
NULL
[4]=>
string(574) "SELECT a.id, a.title, a.parent_id, a.ed_id, a.subtitle, a.lead, a.lead_glowna, a.filename, a.submain_page, a.main_page, a.date_from FROM art_publ_view a LEFT OUTER JOIN j_kat_art jkp ON (jkp.art_id=a.id AND jkp.art_type=2) WHERE a.parent_id=1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a.id > '451' and a.date_from >= NULL ORDER BY a.date_from ASC, a.id ASC LIMIT 1 [nativecode=ERROR: invalid input syntax for integer: ""
LINE 1: ...1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a....
^]"
[5]=>
string(8) "DB_Error"
[6]=>
bool(true)
}
}
[3]=>
array(7) {
["file"]=>
string(18) "/PEAR/DB/pgsql.php"
["line"]=>
int(785)
["function"]=>
string(10) "raiseError"
["class"]=>
string(9) "DB_common"
["object"]=>
object(DB_pgsql)#2 (26) {
["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(15) of type (pgsql link)
["dsn"]=>
array(9) {
["phptype"]=>
string(5) "pgsql"
["dbsyntax"]=>
string(5) "pgsql"
["username"]=>
string(11) "hurtidetal4"
["password"]=>
string(12) "produkty1234"
["protocol"]=>
string(3) "tcp"
["hostspec"]=>
string(23) "psql.hurtidetal.home.pl"
["port"]=>
string(4) "5432"
["socket"]=>
bool(false)
["database"]=>
string(11) "hurtidetal4"
}
["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(378) "SELECT a.id, a.title, a.parent_id, a.ed_id, a.subtitle, a.lead, a.lead_glowna, a.filename, a.submain_page, a.main_page, a.date_from FROM art_publ_view a LEFT OUTER JOIN j_kat_art jkp ON (jkp.art_id=a.id AND jkp.art_type=2) WHERE a.parent_id=1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a.id > '451' and a.date_from >= NULL ORDER BY a.date_from ASC, a.id ASC LIMIT 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(8) {
[0]=>
int(2)
[1]=>
int(1)
[2]=>
int(0)
[3]=>
string(1) "f"
[4]=>
string(0) ""
[5]=>
string(3) "451"
[6]=>
NULL
[7]=>
int(1)
}
["prepare_tokens"]=>
array(0) {
}
["prepare_types"]=>
array(0) {
}
["prepared_queries"]=>
array(0) {
}
["_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(-11)
[1]=>
NULL
[2]=>
NULL
[3]=>
NULL
[4]=>
string(182) "ERROR: invalid input syntax for integer: ""
LINE 1: ...1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a....
^"
}
}
[4]=>
array(7) {
["file"]=>
string(18) "/PEAR/DB/pgsql.php"
["line"]=>
int(337)
["function"]=>
string(15) "pgsqlRaiseError"
["class"]=>
string(8) "DB_pgsql"
["object"]=>
object(DB_pgsql)#2 (26) {
["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(15) of type (pgsql link)
["dsn"]=>
array(9) {
["phptype"]=>
string(5) "pgsql"
["dbsyntax"]=>
string(5) "pgsql"
["username"]=>
string(11) "hurtidetal4"
["password"]=>
string(12) "produkty1234"
["protocol"]=>
string(3) "tcp"
["hostspec"]=>
string(23) "psql.hurtidetal.home.pl"
["port"]=>
string(4) "5432"
["socket"]=>
bool(false)
["database"]=>
string(11) "hurtidetal4"
}
["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(378) "SELECT a.id, a.title, a.parent_id, a.ed_id, a.subtitle, a.lead, a.lead_glowna, a.filename, a.submain_page, a.main_page, a.date_from FROM art_publ_view a LEFT OUTER JOIN j_kat_art jkp ON (jkp.art_id=a.id AND jkp.art_type=2) WHERE a.parent_id=1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a.id > '451' and a.date_from >= NULL ORDER BY a.date_from ASC, a.id ASC LIMIT 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(8) {
[0]=>
int(2)
[1]=>
int(1)
[2]=>
int(0)
[3]=>
string(1) "f"
[4]=>
string(0) ""
[5]=>
string(3) "451"
[6]=>
NULL
[7]=>
int(1)
}
["prepare_tokens"]=>
array(0) {
}
["prepare_types"]=>
array(0) {
}
["prepared_queries"]=>
array(0) {
}
["_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(19) "/PEAR/DB/common.php"
["line"]=>
int(958)
["function"]=>
string(11) "simpleQuery"
["class"]=>
string(8) "DB_pgsql"
["object"]=>
object(DB_pgsql)#2 (26) {
["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(15) of type (pgsql link)
["dsn"]=>
array(9) {
["phptype"]=>
string(5) "pgsql"
["dbsyntax"]=>
string(5) "pgsql"
["username"]=>
string(11) "hurtidetal4"
["password"]=>
string(12) "produkty1234"
["protocol"]=>
string(3) "tcp"
["hostspec"]=>
string(23) "psql.hurtidetal.home.pl"
["port"]=>
string(4) "5432"
["socket"]=>
bool(false)
["database"]=>
string(11) "hurtidetal4"
}
["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(378) "SELECT a.id, a.title, a.parent_id, a.ed_id, a.subtitle, a.lead, a.lead_glowna, a.filename, a.submain_page, a.main_page, a.date_from FROM art_publ_view a LEFT OUTER JOIN j_kat_art jkp ON (jkp.art_id=a.id AND jkp.art_type=2) WHERE a.parent_id=1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a.id > '451' and a.date_from >= NULL ORDER BY a.date_from ASC, a.id ASC LIMIT 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(8) {
[0]=>
int(2)
[1]=>
int(1)
[2]=>
int(0)
[3]=>
string(1) "f"
[4]=>
string(0) ""
[5]=>
string(3) "451"
[6]=>
NULL
[7]=>
int(1)
}
["prepare_tokens"]=>
array(0) {
}
["prepare_types"]=>
array(0) {
}
["prepared_queries"]=>
array(0) {
}
["_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(378) "SELECT a.id, a.title, a.parent_id, a.ed_id, a.subtitle, a.lead, a.lead_glowna, a.filename, a.submain_page, a.main_page, a.date_from FROM art_publ_view a LEFT OUTER JOIN j_kat_art jkp ON (jkp.art_id=a.id AND jkp.art_type=2) WHERE a.parent_id=1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a.id > '451' and a.date_from >= NULL ORDER BY a.date_from ASC, a.id ASC LIMIT 1"
}
}
[6]=>
array(7) {
["file"]=>
string(19) "/PEAR/DB/common.php"
["line"]=>
int(1296)
["function"]=>
string(7) "execute"
["class"]=>
string(9) "DB_common"
["object"]=>
object(DB_pgsql)#2 (26) {
["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(15) of type (pgsql link)
["dsn"]=>
array(9) {
["phptype"]=>
string(5) "pgsql"
["dbsyntax"]=>
string(5) "pgsql"
["username"]=>
string(11) "hurtidetal4"
["password"]=>
string(12) "produkty1234"
["protocol"]=>
string(3) "tcp"
["hostspec"]=>
string(23) "psql.hurtidetal.home.pl"
["port"]=>
string(4) "5432"
["socket"]=>
bool(false)
["database"]=>
string(11) "hurtidetal4"
}
["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(378) "SELECT a.id, a.title, a.parent_id, a.ed_id, a.subtitle, a.lead, a.lead_glowna, a.filename, a.submain_page, a.main_page, a.date_from FROM art_publ_view a LEFT OUTER JOIN j_kat_art jkp ON (jkp.art_id=a.id AND jkp.art_type=2) WHERE a.parent_id=1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a.id > '451' and a.date_from >= NULL ORDER BY a.date_from ASC, a.id ASC LIMIT 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(8) {
[0]=>
int(2)
[1]=>
int(1)
[2]=>
int(0)
[3]=>
string(1) "f"
[4]=>
string(0) ""
[5]=>
string(3) "451"
[6]=>
NULL
[7]=>
int(1)
}
["prepare_tokens"]=>
array(0) {
}
["prepare_types"]=>
array(0) {
}
["prepared_queries"]=>
array(0) {
}
["_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(2) {
[0]=>
int(6)
[1]=>
array(8) {
[0]=>
int(2)
[1]=>
int(1)
[2]=>
int(0)
[3]=>
string(1) "f"
[4]=>
string(0) ""
[5]=>
string(3) "451"
[6]=>
NULL
[7]=>
int(1)
}
}
}
[7]=>
array(7) {
["file"]=>
string(42) "/__handel/app/models/WebArticles.class.php"
["line"]=>
int(384)
["function"]=>
string(6) "getRow"
["class"]=>
string(9) "DB_common"
["object"]=>
object(DB_pgsql)#2 (26) {
["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(15) of type (pgsql link)
["dsn"]=>
array(9) {
["phptype"]=>
string(5) "pgsql"
["dbsyntax"]=>
string(5) "pgsql"
["username"]=>
string(11) "hurtidetal4"
["password"]=>
string(12) "produkty1234"
["protocol"]=>
string(3) "tcp"
["hostspec"]=>
string(23) "psql.hurtidetal.home.pl"
["port"]=>
string(4) "5432"
["socket"]=>
bool(false)
["database"]=>
string(11) "hurtidetal4"
}
["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(378) "SELECT a.id, a.title, a.parent_id, a.ed_id, a.subtitle, a.lead, a.lead_glowna, a.filename, a.submain_page, a.main_page, a.date_from FROM art_publ_view a LEFT OUTER JOIN j_kat_art jkp ON (jkp.art_id=a.id AND jkp.art_type=2) WHERE a.parent_id=1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a.id > '451' and a.date_from >= NULL ORDER BY a.date_from ASC, a.id ASC LIMIT 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(8) {
[0]=>
int(2)
[1]=>
int(1)
[2]=>
int(0)
[3]=>
string(1) "f"
[4]=>
string(0) ""
[5]=>
string(3) "451"
[6]=>
NULL
[7]=>
int(1)
}
["prepare_tokens"]=>
array(0) {
}
["prepare_types"]=>
array(0) {
}
["prepared_queries"]=>
array(0) {
}
["_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(2) {
[0]=>
string(368) "SELECT a.id, a.title, a.parent_id, a.ed_id, a.subtitle, a.lead, a.lead_glowna, a.filename, a.submain_page, a.main_page, a.date_from FROM art_publ_view a LEFT OUTER JOIN j_kat_art jkp ON (jkp.art_id=a.id AND jkp.art_type=?) WHERE a.parent_id=? AND a.status=? AND a.deleted=? AND jkp.kat_id=? AND a.id > ? and a.date_from >= ? ORDER BY a.date_from ASC, a.id ASC LIMIT !"
[1]=>
array(8) {
[0]=>
int(2)
[1]=>
int(1)
[2]=>
int(0)
[3]=>
string(1) "f"
[4]=>
string(0) ""
[5]=>
string(3) "451"
[6]=>
NULL
[7]=>
int(1)
}
}
}
[8]=>
array(7) {
["file"]=>
string(37) "/__handel/app/controllers/article.php"
["line"]=>
int(46)
["function"]=>
string(18) "getPrevLastArticle"
["class"]=>
string(11) "WebArticles"
["object"]=>
object(WebArticles)#5 (24) {
["dbh"]=>
object(DB_pgsql)#2 (26) {
["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(15) of type (pgsql link)
["dsn"]=>
array(9) {
["phptype"]=>
string(5) "pgsql"
["dbsyntax"]=>
string(5) "pgsql"
["username"]=>
string(11) "hurtidetal4"
["password"]=>
string(12) "produkty1234"
["protocol"]=>
string(3) "tcp"
["hostspec"]=>
string(23) "psql.hurtidetal.home.pl"
["port"]=>
string(4) "5432"
["socket"]=>
bool(false)
["database"]=>
string(11) "hurtidetal4"
}
["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(378) "SELECT a.id, a.title, a.parent_id, a.ed_id, a.subtitle, a.lead, a.lead_glowna, a.filename, a.submain_page, a.main_page, a.date_from FROM art_publ_view a LEFT OUTER JOIN j_kat_art jkp ON (jkp.art_id=a.id AND jkp.art_type=2) WHERE a.parent_id=1 AND a.status=0 AND a.deleted='f' AND jkp.kat_id='' AND a.id > '451' and a.date_from >= NULL ORDER BY a.date_from ASC, a.id ASC LIMIT 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(8) {
[0]=>
int(2)
[1]=>
int(1)
[2]=>
int(0)
[3]=>
string(1) "f"
[4]=>
string(0) ""
[5]=>
string(3) "451"
[6]=>
NULL
[7]=>
int(1)
}
["prepare_tokens"]=>
array(0) {
}
["prepare_types"]=>
array(0) {
}
["prepared_queries"]=>
array(0) {
}
["_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) {
}
}
["parent_id"]=>
int(1)
["ed_id"]=>
string(2) "77"
["uid"]=>
int(0)
["art_cnt"]=>
string(7) "art_cnt"
["art_pictures"]=>
string(12) "art_pictures"
["art_publ_content"]=>
string(16) "art_publ_content"
["art_publ_search"]=>
string(15) "art_publ_search"
["art_publicated"]=>
string(14) "art_publicated"
["art_publ_view"]=>
string(13) "art_publ_view"
["users_search"]=>
string(12) "users_search"
["users_track"]=>
string(11) "users_track"
["video"]=>
string(5) "video"
["authors"]=>
string(7) "authors"
["j_art_authors"]=>
string(13) "j_art_authors"
["j_kat_art"]=>
string(9) "j_kat_art"
["q_const_clause"]=>
string(44) "a.parent_id=? AND a.status=? AND a.deleted=?"
["a_const_ph"]=>
array(3) {
[0]=>
int(1)
[1]=>
int(0)
[2]=>
string(1) "f"
}
["access_read"]=>
int(4)
["f_ucategories"]=>
string(38) "/__handel/cache/1/kategorie/categories"
["f_main_pictures"]=>
string(31) "/__handel/cache/1/main_pictures"
["f_assoc_ucategories"]=>
string(44) "/__handel/cache/1/kategorie/assoc_categories"
["fields"]=>
string(124) "a.id, a.title, a.parent_id, a.ed_id, a.subtitle, a.lead, a.lead_glowna, a.filename, a.submain_page, a.main_page, a.date_from"
["debuging"]=>
bool(false)
}
["type"]=>
string(2) "->"
["args"]=>
array(3) {
[0]=>
&string(0) ""
[1]=>
&string(3) "451"
[2]=>
&NULL
}
}
[9]=>
array(4) {
["file"]=>
string(24) "/hurtidetal.pl/index.php"
["line"]=>
int(173)
["args"]=>
array(1) {
[0]=>
string(37) "/__handel/app/controllers/article.php"
}
["function"]=>
string(12) "require_once"
}
}
["callback"]=>
NULL
}