You are running bitweaver in TEST mode


  [ - 2.0.0 alpha - ] [ Mon Jan 05 23:22:06 2009 ]
  -----------------------------------------------------------------------------------------------
  #### USER AGENT: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
  #### ACCT: ID: -1 - Login: guest - e-mail: guest@localhost
  #### URL: http://www.sourceview.com/treasury/index.php
  #### HOST: www.sourceview.com
  #### IP: 38.103.63.59
  #### SQL:     SELECT trg.*, ls."root_structure_id", ls."parent_id",    lc."title", lc."data", lc."user_id", lc."content_type_guid", lc."created", lch."hits",    uue."login" AS modifier_user, uue."real_name" AS modifier_real_name,    uuc."login" AS creator_user, uuc."real_name" AS creator_real_name , (     SELECT COUNT( trm."item_content_id" )     FROM "bw_treasury_map" trm     WHERE trm."gallery_content_id"=trg."content_id"    ) AS item_count  ,ls."security_id", ls."security_description", ls."is_private", ls."is_hidden", ls."access_question", ls."access_answer"     FROM "bw_treasury_gallery" trg     INNER JOIN "bw_liberty_content" lc ON ( lc."content_id" = trg."content_id" )     LEFT OUTER JOIN "bw_liberty_content_hits" lch ON ( lc."content_id" = lch."content_id" )     LEFT OUTER JOIN "bw_users_users" uue ON ( uue."user_id" = lc."modifier_user_id" )     LEFT OUTER JOIN "bw_users_users" uuc ON ( uuc."user_id" = lc."user_id" )     INNER JOIN "bw_liberty_structures" ls ON ( ls."structure_id" = trg."structure_id" )      LEFT OUTER JOIN "bw_gatekeeper_security_map" cg ON (lc."content_id"=cg."content_id") LEFT OUTER JOIN "bw_gatekeeper_security" ls ON (ls."security_id"=cg."security_id" )     WHERE  ls."structure_id"=ls."root_structure_id"  AND (cg."security_id" IS NULL OR lc."user_id"=?)      ORDER BY "last_modified" DESC  LIMIT 10 OFFSET 0
  [-1]
  #### ERROR CODE: Errno: -1  Message: ERROR:  table name "ls" specified more than once


    }}}}}}}    -> bit_error_string(Array[6])
    }}}}}}} LINE:  638, /var/www/sourceview.com/kernel/BitDbAdodb.php
    }}}}}}    -> bit_error_handler(postgres7, EXECUTE, -1, ERROR:  table name "ls" specified more than once, 
			SELECT trg.*, ls."root_structure_id", ls."parent_id",
			lc...., Array[1], Object:ADODB_postgres7)
    }}}}}} LINE:  916, /var/www/sourceview.com/util/adodb/adodb.inc.php
    }}}}}    -> ADOConnection::_Execute(
			SELECT trg.*, ls."root_structure_id", ls."parent_id",
			lc...., Array[1])
    }}}}} LINE:  887, /var/www/sourceview.com/util/adodb/adodb.inc.php
    }}}}    -> ADOConnection::ADOConnection::Execute(
			SELECT trg.*, ls."root_structure_id", ls."parent_id",
			lc...., Array[1])
    }}}} LINE:   44, /var/www/sourceview.com/util/adodb/drivers/adodb-postgres7.inc.php
    }}}    -> ADOConnection::ADOConnection::ADODB_postgres7::SelectLimit(
			SELECT trg.*, ls."root_structure_id", ls."parent_id",
			lc...., 10, 0, Array[1])
    }}} LINE:  253, /var/www/sourceview.com/kernel/BitDbAdodb.php
    }}    -> ADOConnection::ADOConnection::ADODB_postgres7::BitDbAdodb::query(
			SELECT trg.*, ls.`root_structure_id`, ls.`parent_id`,
			lc...., Array[1], 10, 0)
    }} LINE:  206, /var/www/sourceview.com/treasury/TreasuryGallery.php
    }    -> ADOConnection::ADOConnection::ADODB_postgres7::BitDbAdodb::TreasuryGallery::getList(Array[11])
    } LINE:   14, /var/www/sourceview.com/treasury/index.php