From: Alex B. <en...@tu...> - 2001-05-19 23:23:16
|
can anyone think of anything to add to this debug output? note how there are categories - there will be Debug public methods associated with most of these categories, so you can pass debug variables, messages, constants, etc. this is intentionally plain text, because I want debug output to be "any format" - so we can spit it into <pre> at the bottom of html, or in <!-- --> for xml (or html even) etc. <pre> Debug -Page build time: .0012 seconds = Auth Info ========================================================================== User ID: 234 Role: god = Messages ========================================================================== message content message content message content = Page Errors ========================================================================== PHP Warning Cannot send session cache limiter - headers already sent (output started at /home/panteli/binarycloud/binarycloud/user/conf/file_permissions.conf:193) Filename: /home/panteli/binarycloud/htdocs/index.php ............................................................... PHP Warning Cannot send session cache limiter - headers already sent (output started at /home/panteli/binarycloud/binarycloud/user/conf/file_permissions.conf:193) Filename: /home/panteli/binarycloud/htdocs/index.php = Queries ========================================================================== Datasource: default Query Name: foo Predefined?: yes Query Location: user/db/qry/qryfile.php select foo from bar where foo='cheese'; ............................................................... Datasource: default Query Name: foo Predefined?: yes Query Location: user/db/qry/qryfile.php select foo from bar where foo='cheese'; = System Constants ========================================================================== BC_PATH: ../binarycloud/ BC_PATH_ETC... = USER CONSTANTS ========================================================================== BC_LANG: en BC_LANG_CURRENCY: us_dollar BC_LANG_DATE_TIME: mm/dd/yy,HH:MM BC_LANG_CHARSET: iso-8859-1 BC_PATH_STORM: /storm/ BC_PATH_DB_FAILURE_REDIRECT: /global/db_failure.php BC_PATH_SIGN_IN_REDIRECT: /index.php BC_VALUE_DIR_INDEX_FILENAME: index.php BC_VALUE_LOGGED_IN_LIMIT: 28800 BC_VALUE_INACTIVITY_LIMIT: 3600 BC_VALUE_ADMIN_EMAIL: BC_VALUE_ADMIN_FROM_EMAIL: From: binarycloud BC_VALUE_SHOW_CORE_ERRORS_TO: foo BC_FLAG_SET_INI: BC_FLAG_DEBUG: 1 BC_FLAG_DB_FAILURE_REDIRECT: 1 BC_FLAG_USE_SMTP_MAIL_CLASS: 1 BC_FLAG_LOG_ALL_ERRORS_TO_FILE: 1 BC_FLAG_SEND_ADMIN_ERROR_EMAILS: 1 BC_FLAG_SEND_DB_FAILURE_EMAILS: 1 = Core Classes ========================================================================== Init: loaded Page: not loaded Auth: loaded Perm: loaded Sess: loaded Err: loaded Lang: loaded = All Classes ========================================================================== Class name method name method name method name var name var name var name = Global Non-class Variables ========================================================================== $bc_page Array ( [init] => Array ( [ini] => 1 [auth] => [perm] => [sess] => 1 [lang] => 1 ) [templates] => Array ( [norm] => Array ( [path] => masters/binarycloud.html [handler] => html ) [printer] => Array ( [path] => masters/print.html [handler] => html ) [other] => Array ( [path] => masters/other.html [handler] => html ) ) [modules] => Array ( [content] => Array ( [0] => Array ( [path] => hello_world/HelloWorld.php [order] => 1 ) [1] => Array ( [path] => hello_world/HelloWorld.php [order] => 2 ) ) ) ) ............................................................... $variable: value ............................................................... $variable: value ............................................................... = Apache ENV ========================================================================== HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 5.0; Mac_PowerPC) HTTP_COOKIE: session=16ff322cf4d4d7666da7b1c59b9650c4 REDIRECT_STATUS: 200 SERVER_PORT: 8001 QUERY_STRING: REQUEST_URI: / </pre> -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |