INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp,nid) VALUES (0, 'php', 'pg_query() [<a href=''function.pg-query''>function.pg-query</a>]: Query failed: FATAL: terminating connection due to administrator command server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. in /var/www/html/lam1/includes/database.pgsql.inc on line 112 ', 2, '', 'http://www.lametayel.co.il/%D7%9E%D7%A4%D7%AA+%D7%94%D7%90%D7%AA%D7%A8', '', '38.107.179.229', 1337688899, 0)
array(12) {
  [0]=>
  array(4) {
    ["file"]=>
    string(46) "/var/www/html/lam1/includes/database.pgsql.inc"
    ["line"]=>
    int(112)
    ["function"]=>
    string(7) "find_it"
    ["args"]=>
    array(1) {
      [0]=>
      &string(580) "INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp,nid) VALUES (0, 'php', 'pg_query() [function.pg-query]: Query failed: FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request. in /var/www/html/lam1/includes/database.pgsql.inc on line 112 ', 2, '', 'http://www.lametayel.co.il/%D7%9E%D7%A4%D7%AA+%D7%94%D7%90%D7%AA%D7%A8', '', '38.107.179.229', 1337688899, 0)"
    }
  }
  [1]=>
  array(4) {
    ["file"]=>
    string(40) "/var/www/html/lam1/includes/database.inc"
    ["line"]=>
    int(211)
    ["function"]=>
    string(9) "_db_query"
    ["args"]=>
    array(1) {
      [0]=>
      &string(580) "INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp,nid) VALUES (0, 'php', 'pg_query() [function.pg-query]: Query failed: FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request. in /var/www/html/lam1/includes/database.pgsql.inc on line 112 ', 2, '', 'http://www.lametayel.co.il/%D7%9E%D7%A4%D7%AA+%D7%94%D7%90%D7%AA%D7%A8', '', '38.107.179.229', 1337688899, 0)"
    }
  }
  [2]=>
  array(4) {
    ["file"]=>
    string(41) "/var/www/html/lam1/includes/bootstrap.inc"
    ["line"]=>
    int(707)
    ["function"]=>
    string(8) "db_query"
    ["args"]=>
    array(11) {
      [0]=>
      &string(163) "INSERT INTO {watchdog} (uid, type, message, severity, link, location, referer, hostname, timestamp,nid) VALUES (%d, '%s', '%s', %d, '%s', '%s', '%s', '%s', %d, %d)"
      [1]=>
      &string(1) "0"
      [2]=>
      &string(3) "php"
      [3]=>
      &string(337) "pg_query() [function.pg-query]: Query failed: FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request. in /var/www/html/lam1/includes/database.pgsql.inc on line 112 "
      [4]=>
      &int(2)
      [5]=>
      &NULL
      [6]=>
      &string(70) "http://www.lametayel.co.il/%D7%9E%D7%A4%D7%AA+%D7%94%D7%90%D7%AA%D7%A8"
      [7]=>
      &NULL
      [8]=>
      &string(14) "38.107.179.229"
      [9]=>
      &int(1337688899)
      [10]=>
      &int(0)
    }
  }
  [3]=>
  array(4) {
    ["file"]=>
    string(38) "/var/www/html/lam1/includes/common.inc"
    ["line"]=>
    int(570)
    ["function"]=>
    string(8) "watchdog"
    ["args"]=>
    array(3) {
      [0]=>
      &string(3) "php"
      [1]=>
      &string(337) "pg_query() [function.pg-query]: Query failed: FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request. in /var/www/html/lam1/includes/database.pgsql.inc on line 112 "
      [2]=>
      &int(2)
    }
  }
  [4]=>
  array(2) {
    ["function"]=>
    string(13) "error_handler"
    ["args"]=>
    array(5) {
      [0]=>
      &int(2)
      [1]=>
      &string(274) "pg_query() [function.pg-query]: Query failed: FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request."
      [2]=>
      &string(46) "/var/www/html/lam1/includes/database.pgsql.inc"
      [3]=>
      &int(112)
      [4]=>
      &array(5) {
        ["query"]=>
        string(666) "SELECT distinct
td2.tid as parent_tid ,
tn1.tid as tid_nodes,
td1.vid as vid,td.name,
td.tid as tid,
td1.name as name,
th.parent,
td2.name as cat_name,
td3.name as parent_name,td3.tid as grand_tid,td2.weight,td3.weight
FROM term_data td
inner join term_node tn on tn.tid=td.tid
inner join term_node tn1 on tn1.nid=tn.nid
inner join term_data td1 on td1.tid=tn1.tid
inner join term_hierarchy th on th.tid=td1.tid
inner join term_data td2 on td2.tid=th.parent
inner join term_hierarchy th1 on th1.tid=td2.tid
inner join term_data td3 on td3.tid=th1.parent
Where  td.tid=98 and td1.vid in (66) And th.parent!=0 and child_count(td1.tid)=0 
order by td3.weight,td2.weight"
        ["debug"]=>
        int(0)
        ["active_db"]=>
        &resource(14) of type (pgsql link persistent)
        ["last_result"]=>
        &bool(false)
        ["queries"]=>
        &NULL
      }
    }
  }
  [5]=>
  array(4) {
    ["file"]=>
    string(46) "/var/www/html/lam1/includes/database.pgsql.inc"
    ["line"]=>
    int(112)
    ["function"]=>
    string(8) "pg_query"
    ["args"]=>
    array(2) {
      [0]=>
      &resource(14) of type (pgsql link persistent)
      [1]=>
      &string(666) "SELECT distinct
td2.tid as parent_tid ,
tn1.tid as tid_nodes,
td1.vid as vid,td.name,
td.tid as tid,
td1.name as name,
th.parent,
td2.name as cat_name,
td3.name as parent_name,td3.tid as grand_tid,td2.weight,td3.weight
FROM term_data td
inner join term_node tn on tn.tid=td.tid
inner join term_node tn1 on tn1.nid=tn.nid
inner join term_data td1 on td1.tid=tn1.tid
inner join term_hierarchy th on th.tid=td1.tid
inner join term_data td2 on td2.tid=th.parent
inner join term_hierarchy th1 on th1.tid=td2.tid
inner join term_data td3 on td3.tid=th1.parent
Where  td.tid=98 and td1.vid in (66) And th.parent!=0 and child_count(td1.tid)=0 
order by td3.weight,td2.weight"
    }
  }
  [6]=>
  array(4) {
    ["file"]=>
    string(40) "/var/www/html/lam1/includes/database.inc"
    ["line"]=>
    int(211)
    ["function"]=>
    string(9) "_db_query"
    ["args"]=>
    array(1) {
      [0]=>
      &string(666) "SELECT distinct
td2.tid as parent_tid ,
tn1.tid as tid_nodes,
td1.vid as vid,td.name,
td.tid as tid,
td1.name as name,
th.parent,
td2.name as cat_name,
td3.name as parent_name,td3.tid as grand_tid,td2.weight,td3.weight
FROM term_data td
inner join term_node tn on tn.tid=td.tid
inner join term_node tn1 on tn1.nid=tn.nid
inner join term_data td1 on td1.tid=tn1.tid
inner join term_hierarchy th on th.tid=td1.tid
inner join term_data td2 on td2.tid=th.parent
inner join term_hierarchy th1 on th1.tid=td2.tid
inner join term_data td3 on td3.tid=th1.parent
Where  td.tid=98 and td1.vid in (66) And th.parent!=0 and child_count(td1.tid)=0 
order by td3.weight,td2.weight"
    }
  }
  [7]=>
  array(4) {
    ["file"]=>
    string(42) "/var/www/html/lam1/modules/taxonomy.module"
    ["line"]=>
    int(3677)
    ["function"]=>
    string(8) "db_query"
    ["args"]=>
    array(1) {
      [0]=>
      &string(666) "SELECT distinct
td2.tid as parent_tid ,
tn1.tid as tid_nodes,
td1.vid as vid,td.name,
td.tid as tid,
td1.name as name,
th.parent,
td2.name as cat_name,
td3.name as parent_name,td3.tid as grand_tid,td2.weight,td3.weight
FROM term_data td
inner join term_node tn on tn.tid=td.tid
inner join term_node tn1 on tn1.nid=tn.nid
inner join term_data td1 on td1.tid=tn1.tid
inner join term_hierarchy th on th.tid=td1.tid
inner join term_data td2 on td2.tid=th.parent
inner join term_hierarchy th1 on th1.tid=td2.tid
inner join term_data td3 on td3.tid=th1.parent
Where  td.tid=98 and td1.vid in (66) And th.parent!=0 and child_count(td1.tid)=0 
order by td3.weight,td2.weight"
    }
  }
  [8]=>
  array(4) {
    ["file"]=>
    string(42) "/var/www/html/lam1/modules/taxonomy.module"
    ["line"]=>
    int(2984)
    ["function"]=>
    string(21) "get_nodes_with_status"
    ["args"]=>
    array(2) {
      [0]=>
      &string(2) "98"
      [1]=>
      &array(1) {
        [0]=>
        int(66)
      }
    }
  }
  [9]=>
  array(2) {
    ["function"]=>
    string(18) "taxonomy_term_page"
    ["args"]=>
    array(1) {
      [0]=>
      &string(2) "98"
    }
  }
  [10]=>
  array(4) {
    ["file"]=>
    string(36) "/var/www/html/lam1/includes/menu.inc"
    ["line"]=>
    int(477)
    ["function"]=>
    string(20) "call_user_func_array"
    ["args"]=>
    array(2) {
      [0]=>
      &string(18) "taxonomy_term_page"
      [1]=>
      &array(1) {
        [0]=>
        string(2) "98"
      }
    }
  }
  [11]=>
  array(4) {
    ["file"]=>
    string(28) "/var/www/html/lam1/index.php"
    ["line"]=>
    int(77)
    ["function"]=>
    string(27) "menu_execute_active_handler"
    ["args"]=>
    array(0) {
    }
  }
}


SELECT sid FROM sessions WHERE sid = '2r262bfdj6tr5lvi88usrbif43'
array(5) {
  [0]=>
  array(4) {
    ["file"]=>
    string(46) "/var/www/html/lam1/includes/database.pgsql.inc"
    ["line"]=>
    int(112)
    ["function"]=>
    string(7) "find_it"
    ["args"]=>
    array(1) {
      [0]=>
      &string(65) "SELECT sid FROM sessions WHERE sid = '2r262bfdj6tr5lvi88usrbif43'"
    }
  }
  [1]=>
  array(4) {
    ["file"]=>
    string(40) "/var/www/html/lam1/includes/database.inc"
    ["line"]=>
    int(211)
    ["function"]=>
    string(9) "_db_query"
    ["args"]=>
    array(1) {
      [0]=>
      &string(65) "SELECT sid FROM sessions WHERE sid = '2r262bfdj6tr5lvi88usrbif43'"
    }
  }
  [2]=>
  array(4) {
    ["file"]=>
    string(39) "/var/www/html/lam1/includes/session.inc"
    ["line"]=>
    int(107)
    ["function"]=>
    string(8) "db_query"
    ["args"]=>
    array(2) {
      [0]=>
      &string(43) "SELECT sid FROM {sessions} WHERE sid = '%s'"
      [1]=>
      &string(26) "2r262bfdj6tr5lvi88usrbif43"
    }
  }
  [3]=>
  array(2) {
    ["function"]=>
    string(10) "sess_write"
    ["args"]=>
    array(2) {
      [0]=>
      &string(26) "2r262bfdj6tr5lvi88usrbif43"
      [1]=>
      &string(566) "banner|a:1:{s:7:"premium";a:2:{s:5:"count";i:7;s:4:"time";i:1337688273;}}user|a:1:{s:11:"node_viewed";a:5:{i:612401;b:1;i:464291;b:1;i:141840;b:1;i:598750;b:1;i:611847;b:1;}}messages|a:1:{s:5:"error";a:1:{i:0;s:346:"warning: pg_query() [function.pg-query]: Query failed: FATAL:  terminating connection due to administrator command
server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request. in /var/www/html/lam1/includes/database.pgsql.inc on line 112.";}}"
    }
  }
  [4]=>
  array(2) {
    ["function"]=>
    string(19) "session_write_close"
    ["args"]=>
    array(0) {
    }
  }
}