Changeset 201

Show
Ignore:
Timestamp:
05/25/06 02:58:10 (6 years ago)
Author:
john
Message:

Major changes to environment added boot.php and Trax class to hold framwork config

Location:
trunk/trax
Files:
4 added
11 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/config/environment.php

    r181 r201  
    33 *  @package PHPonTrax 
    44 */ 
    5 # include path for your php libs (PEAR etc) 
    6 define("PHP_LIB_ROOT",          "/usr/local/lib/php"); 
    7 define("TRAX_ROOT",             dirname(dirname(__FILE__)) . "/"); 
    8 define("TRAX_PUBLIC",           dirname(dirname(dirname(__FILE__)))."/public"); 
    9 define("TRAX_URL_PREFIX",       null); # no leading or trailing slashes 
    10 define("TRAX_VIEWS_EXTENTION",  "phtml"); 
     5# Trax should be able to figure the following 2 settings out 
     6# automatically, but if you have trouble you can set them manually 
     7# define("PHP_LIB_ROOT",    "/usr/local/lib/php"); 
     8# define("TRAX_ROOT",       dirname(dirname(__FILE__))); 
    119 
    12 # Set in the Apache Vhost (SetEnv TRAX_MODE development) 
    13 if(isset($_SERVER) && array_key_exists('TRAX_MODE',$_SERVER)) { 
    14     # Set from Env production / development / test 
    15     define("TRAX_MODE",   $_SERVER['TRAX_MODE']); 
    16 } else { 
    17     # Manually set production / development / test 
    18     define("TRAX_MODE",   "development"); 
    19 } 
     10# Uncomment below to force Trax into production mode when  
     11# you don't control web/app server and can't set it the proper way 
     12# Sets environment from the Apache Vhost (SetEnv TRAX_ENV production) 
     13# or change the string to manually set it. (development | test | production) 
     14# define('TRAX_ENV', $_SERVER['TRAX_ENV'] ? $_SERVER['TRAX_ENV'] : "production"); 
    2015 
    21 $GLOBALS['TRAX_INCLUDES'] = 
    22     array( "models" => "app/models", 
    23            "views" => "app/views", 
    24            "controllers" => "app/controllers", 
    25            "helpers" => "app/helpers", 
    26            "layouts" => "app/views/layouts", 
    27            "config" => "config", 
    28            "environments" => "config/environments", 
    29            "lib" => "lib", 
    30            "app" => "app", 
    31            "log" => "log", 
    32            "vendor" => "vendor" ); 
     16# Bootstrap the Trax environment, framework, and default configuration 
     17include_once(dirname(__FILE__)."/boot.php"); 
    3318 
    34 if (substr(PHP_OS, 0, 3) == 'WIN') { 
    35     # Windows 
    36     define("TRAX_PATH_SEPERATOR", ";"); 
    37 } else { 
    38     # Unix 
    39     define("TRAX_PATH_SEPERATOR", ":"); 
    40 } 
    41  
    42 # Set which file to log php errors to for this application 
    43 # As well in your application you can do error_log("whatever") and it will go to this log file. 
    44 ini_set("log_errors", "On"); 
    45 ini_set("error_log", TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['log']."/".TRAX_MODE.".log");  
    46  
    47 if(TRAX_MODE == "development") { 
    48     define("DEBUG", true); 
    49     # Display errors to browser if in development mode for debugging 
    50     ini_set("display_errors", "On"); 
    51 } else { 
    52     define("DEBUG", false); 
    53     # Hide errors from browser if not in development mode 
    54     ini_set("display_errors", "Off"); 
    55 } 
    56  
    57 # Load databse settings 
    58 $GLOBALS['TRAX_DB_SETTINGS'] = parse_ini_file(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['config']."/database.ini",true); 
    59  
    60 # Should we use local copy of the Trax libs in vendor/trax or 
    61 # the server Trax libs in the php libs dir defined in PHP_LIB_ROOT 
    62 if(file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['vendor']."/trax")) { 
    63     define("TRAX_LIB_ROOT", TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['vendor']."/trax"); 
    64 } elseif(file_exists(PHP_LIB_ROOT."/trax")) { 
    65     define("TRAX_LIB_ROOT", PHP_LIB_ROOT."/trax"); 
    66 } else { 
    67     echo "Can't determine where your Trax Libs are located."; 
    68     exit; 
    69 } 
    70  
    71 # Set the include_path 
    72 ini_set("include_path", 
    73         ".".TRAX_PATH_SEPERATOR.   # current directory 
    74         TRAX_LIB_ROOT.TRAX_PATH_SEPERATOR.  # trax libs (vendor/trax or server trax libs) 
    75         PHP_LIB_ROOT.TRAX_PATH_SEPERATOR.  # php libs dir (ex: /usr/local/lib/php) 
    76         TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['lib'].TRAX_PATH_SEPERATOR. # app specific libs extra libs to include 
    77         ini_get("include_path")); # add on old include_path to end 
    78  
    79 # Include Trax library files. 
    80 include_once("session.php"); 
    81 include_once("input_filter.php"); 
    82 include_once("trax_exceptions.php"); 
    83 include_once("inflector.php"); 
    84 include_once("active_record.php"); 
    85 include_once("action_view.php"); 
    86 include_once("action_controller.php"); 
    87 include_once("action_mailer.php"); 
    88 include_once("dispatcher.php"); 
    89 include_once("router.php"); 
    90  
    91 # Include the ApplicationMailer Class which extends ActionMailer for application specific mailing functions 
    92 if(file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['app']."/application_mailer.php")) { 
    93     include_once(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['app']."/application_mailer.php"); 
    94 } 
     19# Override the Trax framework default values 
     20# Settings in config/environments/* take precedence those specified here 
     21# Trax::$path_seperator = ":"; 
     22# Trax::$url_prefix = "~username"; 
    9523 
    9624# Include the application environment specific config file 
    97 if(file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['environments']."/".TRAX_MODE.".php")) { 
    98     include_once(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['environments']."/".TRAX_MODE.".php"); 
    99 } 
     25Trax::include_env_config(); 
     26         
     27# Add new inflection rules using the following format  
     28# (all these examples are active by default): 
     29# Inflections::plural('/^(ox)$/i', '\1en'); 
     30# Inflections::singular('/^(ox)en/i', '\1'); 
     31# Inflections::irregular('person', 'people'); 
     32# Inflections::uncountable('fish', 'sheep', ['more words'] ...); 
    10033 
    101 ############################################## 
    102 # Auto include model / controller / other app specific libs files 
    103 ############################################## 
    104 function __autoload($class_name) { 
    105     $file = Inflector::underscore($class_name).".php"; 
    106     $file_org = $class_name.".php"; 
    107  
    108     if(file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['models']."/$file")) { 
    109         # Include model classes 
    110         include_once(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['models']."/$file"); 
    111     } elseif(file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['controllers']."/$file")) { 
    112         # Include extra controller classes 
    113         include_once(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['controllers']."/$file"); 
    114     } elseif(file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['lib']."/$file")) { 
    115         # Include users application libs 
    116         include_once(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['lib']."/$file"); 
    117     } elseif(file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['lib']."/$file_org")) { 
    118         # Include users application libs 
    119         include_once(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['lib']."/$file_org"); 
    120     } 
    121 } 
     34# Include your application configuration below 
    12235 
    12336?> 
  • trunk/trax/data/config/environment.php

    r199 r201  
    11<?php 
    22/** 
    3  *  Trax runtime environment definitions 
    43 *  @package PHPonTrax 
    5  *  $Id$ 
    64 */ 
     5# Trax should be able to figure the following 2 settings out 
     6# automatically, but if you have trouble you can set them manually 
     7# define("PHP_LIB_ROOT",    "/usr/local/lib/php"); 
     8# define("TRAX_ROOT",       dirname(dirname(__FILE__))); 
    79 
    8 /** 
    9  *  Location of the PEAR library on this system 
    10  * 
    11  *  Set automatically by the Pear installer when you install Trax with 
    12  *  the <b>pear install</b> command.  If you are prevented from using 
    13  *  <b>pear install</b>, change "@PHP-DIR@" by hand to the full filesystem 
    14  *  path of the location where you installed the Pear modules needed 
    15  *  by Trax. 
    16  */ 
    17 define("PHP_LIB_ROOT", "@PHP-DIR@"); 
     10# Uncomment below to force Trax into production mode when  
     11# you don't control web/app server and can't set it the proper way 
     12# Sets environment from the Apache Vhost (SetEnv TRAX_ENV production) 
     13# or change the string to manually set it. (development | test | production) 
     14# define('TRAX_ENV', $_SERVER['TRAX_ENV'] ? $_SERVER['TRAX_ENV'] : "production"); 
    1815 
    19 /** 
    20  *  Location of the directories constructed by the <b>trax</b> 
    21  *  command. 
    22  */ 
    23 define("TRAX_ROOT", dirname(dirname(__FILE__)) . "/"); 
     16# Bootstrap the Trax environment, framework, and default configuration 
     17include_once(dirname(__FILE__)."/boot.php"); 
    2418 
    25 /** 
    26  *  Location of the directory exposed to the public by Apache. 
    27  * 
    28  *  The <b>trax</b> command generates this as <i>TRAX_ROOT</i>/public/ 
    29  *  but you will probably want to move the files in public/ to somewhere under 
    30  *  {@link http://httpd.apache.org/docs/2.0/  Apache} 
    31  *  {@link http://httpd.apache.org/docs/2.0/mod/core.html#documentroot DocumentRoot}. 
    32  *  Change the second argument to the full filesystem path to the 
    33  *  directory that holds the files generated in public/ 
    34  */ 
    35 define("TRAX_PUBLIC", dirname(dirname(dirname(__FILE__)))."/public"); 
    36  
    37 /** 
    38  *  Part of URL between domain name and Trax application 
    39  * 
    40  *  That part of the browser's URL after the domain name and before 
    41  *  the location described by <i>TRAX_PUBLIC</i>.  If 
    42  *  <i>TRAX_PUBLIC</i> is the same as 
    43  *  {@link http://httpd.apache.org/docs/2.0/  Apache} 
    44  *  {@link http://httpd.apache.org/docs/2.0/mod/core.html#documentroot DocumentRoot},  
    45  *  then TRAX_URL_PREFIX is null. 
    46  */ 
    47 define("TRAX_URL_PREFIX",       null); # no trailing slash 
    48  
    49 /** 
    50  *  The file extension of files in app/views.  Normally '.phtml' 
    51  */ 
    52 define("TRAX_VIEWS_EXTENTION",  "phtml"); 
    53  
    54 /** 
    55  *  Trax mode of operation 
    56  * 
    57  *  Must be one of: 'development', 'test' or 'production'. 
    58  *  May be set in the 
    59  *  {@link http://httpd.apache.org/docs/2.0/  Apache} 
    60  *  configuration with the 
    61  *  {@link  http://httpd.apache.org/docs/2.0/mod/mod_env.html#setenv SetEnv} 
    62  *  directive.  If not set there, then it must be set here. 
    63  */ 
    64 if(isset($_SERVER) && array_key_exists('TRAX_MODE',$_SERVER)) { 
    65     define("TRAX_MODE",   $_SERVER['TRAX_MODE']); 
    66 } else { 
    67     define("TRAX_MODE",   "development"); 
    68 } 
    69  
    70 /** 
    71  *  Location of Trax components relative to TRAX_ROOT 
    72  *  @global $GLOBALS['TRAX_INCLUDES'] 
    73  */ 
    74 $GLOBALS['TRAX_INCLUDES'] = 
    75     array( "models" => "app/models", 
    76            "views" => "app/views", 
    77            "controllers" => "app/controllers", 
    78            "helpers" => "app/helpers", 
    79            "layouts" => "app/views/layouts", 
    80            "config" => "config", 
    81            "environments" => "config/environments", 
    82            "lib" => "lib", 
    83            "app" => "app", 
    84            "log" => "log", 
    85            "vendor" => "vendor" ); // FIXME: generated by trax cmd 
    86  
    87 /** 
    88  *  Set how errors are to be logged 
    89  * 
    90  *  The 'log_errors'  
    91  *  {@link http://www.php.net/manual/en/ref.errorfunc.php PHP configuration setting} 
    92  *  determines whether PHP error messages should be sent to the 
    93  *  {@link http://httpd.apache.org/docs/2.0/  Apache} 
    94  *  {@link http://httpd.apache.org/docs/2.0/logs.html#errorlog error log} 
    95  *  (log_errors false) or to the log file defined in the 'error_log' 
    96  *  setting (log_errors true).  Trax uses a different log file for 
    97  *  each of the three modes defined in TRAX_MODE. 
    98  *   
    99  *  In your application you can write a message to this log file with 
    100  *   the call <b>error_log("</b><i>text of message</i><b>")</b>. 
    101  */ 
    102 ini_set("log_errors", true); 
    103 ini_set("error_log", 
    104     TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['log']."/".TRAX_MODE.".log");  
    105  
    106 /** 
    107  *  Whether to generate debugging messages and send errors to the browser 
    108  * 
    109  *  The 'display_errors'  
    110  *  {@link http://www.php.net/manual/en/ref.errorfunc.php PHP configuration setting} 
    111  *  determines whether error messages should be sent to the browser. 
    112  *  It should be false for production systems.  DEBUG is a define that 
    113  *  you can test for your own purposes. 
    114  */ 
    115 if(TRAX_MODE == "development") { 
    116     define("DEBUG", true); 
    117     ini_set("display_errors", "On"); 
    118 } else { 
    119     define("DEBUG", false); 
    120     ini_set("display_errors", "Off"); 
    121 } 
    122  
    123 /** 
    124  *  Load database settings from config/database.ini 
    125  */ 
    126 $GLOBALS['TRAX_DB_SETTINGS'] = 
    127     parse_ini_file(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['config'] 
    128                    ."/database.ini",true); 
    129 /** 
    130  *  Define location of the Trax PHP modules 
    131  * 
    132  *  Should we use local copy of the Trax libs in vendor/trax or 
    133  *  the server Trax libs in the php libs dir defined in PHP_LIB_ROOT 
    134  */ 
    135 if(file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['vendor']."/trax")) { 
    136     define("TRAX_LIB_ROOT", TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['vendor']."/trax"); 
    137 } elseif(file_exists(PHP_LIB_ROOT."/PHPonTrax/vendor/trax")) { 
    138     define("TRAX_LIB_ROOT", PHP_LIB_ROOT."/PHPonTrax/vendor/trax"); 
    139 } else { 
    140     error_log("Can't determine where your Trax Libs are located."); 
    141     exit; 
    142 } 
    143  
    144 # Set the include_path 
    145 ini_set("include_path", 
    146         ".".PATH_SEPARATOR.   # current directory 
    147         TRAX_LIB_ROOT.PATH_SEPARATOR.  # trax libs (vendor/trax or server trax libs) 
    148         PHP_LIB_ROOT.PATH_SEPARATOR.  # php libs dir (ex: /usr/local/lib/php) 
    149         TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['lib'].PATH_SEPARATOR. # app specific libs extra libs to include 
    150         ini_get("include_path")); # add on old include_path to end 
    151  
    152 # Include Trax library files. 
    153 include_once("session.php"); 
    154 include_once("input_filter.php"); 
    155 include_once("trax_exceptions.php"); 
    156 include_once("inflector.php"); 
    157 include_once("active_record.php"); 
    158 include_once("action_view.php"); 
    159 include_once("action_controller.php"); 
    160 include_once("action_mailer.php"); 
    161 include_once("dispatcher.php"); 
    162 include_once("router.php"); 
    163  
    164 # Include the ApplicationMailer Class which extends ActionMailer for application specific mailing functions 
    165 if(file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['app']."/application_mailer.php")) { 
    166     include_once(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['app']."/application_mailer.php"); 
    167 } 
     19# Override the Trax framework default values 
     20# Settings in config/environments/* take precedence those specified here 
     21# Trax::$path_seperator = ":"; 
     22# Trax::$url_prefix = "~username"; 
    16823 
    16924# Include the application environment specific config file 
    170 if(file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['environments']."/".TRAX_MODE.".php")) { 
    171     include_once(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['environments']."/".TRAX_MODE.".php"); 
    172 } 
     25Trax::include_env_config(); 
     26         
     27# Add new inflection rules using the following format  
     28# (all these examples are active by default): 
     29# Inflections::plural('/^(ox)$/i', '\1en'); 
     30# Inflections::singular('/^(ox)en/i', '\1'); 
     31# Inflections::irregular('person', 'people'); 
     32# Inflections::uncountable('fish', 'sheep', ['more words'] ...); 
    17333 
    174 /** 
    175  *  Automatically load a file containing a specified class 
    176  * 
    177  *  Given a class name, derive the name of the file containing that 
    178  *  class then load it. 
    179  *  @param string class_name  Name of the class required 
    180  */ 
    181 function __autoload($class_name) { 
    182     $file = Inflector::underscore($class_name).".php"; 
    183     $file_org = $class_name.".php"; 
     34# Include your application configuration below 
    18435 
    185     if(file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['models']."/$file")) { 
    186         # Include model classes 
    187         include_once(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['models']."/$file"); 
    188     } elseif(file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['controllers']."/$file")) { 
    189         # Include extra controller classes 
    190         include_once(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['controllers']."/$file"); 
    191     } elseif(file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['lib']."/$file")) { 
    192         # Include users application libs 
    193         include_once(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['lib']."/$file"); 
    194     } elseif(file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['lib']."/$file_org")) { 
    195         # Include users application libs 
    196         include_once(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['lib']."/$file_org"); 
    197     } 
    198 } 
    199  
    200 // -- set Emacs parameters -- 
    201 // Local variables: 
    202 // tab-width: 4 
    203 // c-basic-offset: 4 
    204 // c-hanging-comment-ender-p: nil 
    205 // indent-tabs-mode: nil 
    206 // End: 
    20736?> 
  • trunk/trax/log/development.log

    r196 r201  
    11 
    2 [22-Mar-2006 15:23:15] PHP Warning:  ActionController::load_router(/home/haas/trax/config/routes.php) [<a href='function.load-router'>function.load-router</a>]: failed to open stream: No such file or directory in /home/haas/trax/vendor/trax/action_controller.php on line 356 
    3 [22-Mar-2006 15:23:15] PHP Fatal error:  ActionController::load_router() [<a href='function.require'>function.require</a>]: Failed opening required '/home/haas/trax/config/routes.php' (include_path='.:/home/haas/trax/vendor/trax:/usr/local/lib/php:/home/haas/trax/lib:.:/usr/share/pear:/home/haas/trax/config') in /home/haas/trax/vendor/trax/action_controller.php on line 356 
    4 [22-Mar-2006 15:23:58] PHP Notice:  Undefined index:  ACTIVE_RECORD_SQL_LOG in /home/haas/trax/vendor/trax/templates/error.phtml on line 51 
    5 [31-Mar-2006 11:17:57] PHP Notice:  Undefined offset:  3 in /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php on line 133 
    6 [31-Mar-2006 11:17:57] PHP Notice:  Undefined variable: views in /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php on line 140 
    7 [31-Mar-2006 11:17:57] PHP Fatal error:  Uncaught exception 'ActiveRecordError' with message 'Model Class: Admin<br>Error Message: DB Error: connect failed' in /home/haas/trax/trunk/trax/vendor/trax/active_record.php:1936 
    8 Stack trace: 
    9 #0 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1936): ActiveRecord::raise() 
    10 #1 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1908): Admin->raise('DB Error: conne...') 
    11 #2 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(335): Admin->establish_connection() 
    12 #3 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(288): Admin->__construct() 
    13 #4 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(140): TraxGenerator->generate_scaffold('admin', NULL, NULL) 
    14 #5 /home/haas/trax/trunk/trax/script/generate.php(56): TraxGenerator->run() 
    15 #6 {main} 
    16   thrown in /home/haas/trax/trunk/trax/vendor/trax/active_record.php on line 1936 
    17 [31-Mar-2006 11:21:13] PHP Notice:  Undefined variable: views in /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php on line 141 
    18 [31-Mar-2006 11:21:13] PHP Fatal error:  Uncaught exception 'ActiveRecordError' with message 'Model Class: Person<br>Error Message: DB Error: connect failed' in /home/haas/trax/trunk/trax/vendor/trax/active_record.php:1936 
    19 Stack trace: 
    20 #0 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1936): ActiveRecord::raise() 
    21 #1 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1908): Person->raise('DB Error: conne...') 
    22 #2 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(335): Person->establish_connection() 
    23 #3 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(289): Person->__construct() 
    24 #4 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(141): TraxGenerator->generate_scaffold('Person', 'admin', NULL) 
    25 #5 /home/haas/trax/trunk/trax/script/generate.php(56): TraxGenerator->run() 
    26 #6 {main} 
    27   thrown in /home/haas/trax/trunk/trax/vendor/trax/active_record.php on line 1936 
    28 [31-Mar-2006 20:10:10] PHP Notice:  Undefined variable: views in /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php on line 141 
    29 [31-Mar-2006 20:10:11] PHP Fatal error:  Uncaught exception 'ActiveRecordError' with message 'Model Class: Person<br>Error Message: DB Error: connect failed' in /home/haas/trax/trunk/trax/vendor/trax/active_record.php:1936 
    30 Stack trace: 
    31 #0 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1936): ActiveRecord::raise() 
    32 #1 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1908): Person->raise('DB Error: conne...') 
    33 #2 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(335): Person->establish_connection() 
    34 #3 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(289): Person->__construct() 
    35 #4 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(141): TraxGenerator->generate_scaffold('Person', 'admin', NULL) 
    36 #5 /home/haas/trax/trunk/trax/script/generate.php(56): TraxGenerator->run() 
    37 #6 {main} 
    38   thrown in /home/haas/trax/trunk/trax/vendor/trax/active_record.php on line 1936 
    39 [01-Apr-2006 10:39:07] PHP Notice:  Undefined variable: views in /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php on line 254 
    40 [01-Apr-2006 10:39:07] PHP Fatal error:  Uncaught exception 'ActiveRecordError' with message 'Model Class: CreditCard<br>Error Message: DB Error: connect failed' in /home/haas/trax/trunk/trax/vendor/trax/active_record.php:1936 
    41 Stack trace: 
    42 #0 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1936): ActiveRecord::raise() 
    43 #1 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1908): CreditCard->raise('DB Error: conne...') 
    44 #2 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(335): CreditCard->establish_connection() 
    45 #3 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(425): CreditCard->__construct() 
    46 #4 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(254): TraxGenerator->generate_scaffold('CreditCard', '', NULL) 
    47 #5 /home/haas/trax/trunk/trax/script/generate.php(56): TraxGenerator->run() 
    48 #6 {main} 
    49   thrown in /home/haas/trax/trunk/trax/vendor/trax/active_record.php on line 1936 
    50 [01-Apr-2006 10:39:52] PHP Notice:  Undefined variable: views in /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php on line 254 
    51 [01-Apr-2006 10:39:52] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    52 [01-Apr-2006 10:39:52] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    53 [01-Apr-2006 10:41:59] PHP Notice:  Undefined variable: views in /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php on line 256 
    54 [01-Apr-2006 10:42:00] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    55 [01-Apr-2006 10:42:00] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    56 [01-Apr-2006 10:43:13] PHP Notice:  Undefined variable: views in /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php on line 259 
    57 [01-Apr-2006 10:43:13] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    58 [01-Apr-2006 10:43:13] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    59 [01-Apr-2006 10:43:25] PHP Notice:  Undefined variable: views in /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php on line 259 
    60 [01-Apr-2006 10:43:25] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    61 [01-Apr-2006 10:43:25] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    62 [01-Apr-2006 10:44:32] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    63 [01-Apr-2006 10:44:32] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    64 [01-Apr-2006 10:44:45] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    65 [01-Apr-2006 10:44:45] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    66 [01-Apr-2006 10:45:24] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    67 [01-Apr-2006 10:45:24] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    68 [01-Apr-2006 10:47:01] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    69 [01-Apr-2006 10:47:01] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    70 [01-Apr-2006 11:35:00] PHP Notice:  Undefined offset:  3 in /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php on line 123 
    71 [01-Apr-2006 11:35:00] PHP Notice:  Undefined offset:  4 in /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php on line 124 
    72 [01-Apr-2006 11:35:00] PHP Notice:  Undefined variable: views in /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php on line 129 
    73 [01-Apr-2006 11:35:00] PHP Notice:  Undefined property:  TraxGenerator::$extra_path in /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php on line 203 
    74 [01-Apr-2006 11:35:01] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    75 [01-Apr-2006 11:35:01] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    76 [01-Apr-2006 13:25:17] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    77 [01-Apr-2006 13:25:17] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    78 [01-Apr-2006 14:27:44] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    79 [01-Apr-2006 14:27:44] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    80 [01-Apr-2006 14:28:47] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    81 [01-Apr-2006 14:28:47] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    82 [01-Apr-2006 14:31:38] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    83 [01-Apr-2006 14:31:38] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    84 [01-Apr-2006 14:33:12] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    85 [01-Apr-2006 14:33:12] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    86 [01-Apr-2006 14:35:38] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    87 [01-Apr-2006 14:35:38] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    88 [01-Apr-2006 16:22:39] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    89 [01-Apr-2006 16:22:39] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    90 [02-Apr-2006 18:27:44] PHP Notice:  Undefined variable: views in /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php on line 233 
    91 [02-Apr-2006 18:42:04] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    92 [02-Apr-2006 18:42:04] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    93 [02-Apr-2006 18:42:04] PHP Notice:  Undefined index:  current_controller_object in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 50 
    94 [02-Apr-2006 18:42:04] PHP Notice:  Undefined property:  TraxGenerator::$Person in /home/haas/trax/trunk/trax/vendor/trax/templates/scaffolds/generator_templates/form_scaffolding.phtml on line 7 
    95 [02-Apr-2006 18:42:04] PHP Notice:  Trying to get property of non-object in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 166 
    96 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    97 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    98 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    99 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    100 [02-Apr-2006 18:52:49] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    101 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    102 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    103 [02-Apr-2006 18:52:49] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    104 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    105 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    106 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    107 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    108 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    109 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    110 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    111 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    112 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    113 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    114 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    115 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    116 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    117 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    118 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    119 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    120 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    121 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    122 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    123 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    124 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    125 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    126 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    127 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    128 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    129 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    130 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    131 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    132 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    133 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    134 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    135 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    136 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    137 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    138 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    139 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    140 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    141 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    142 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    143 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    144 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    145 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    146 [02-Apr-2006 18:52:49] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    147 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    148 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    149 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    150 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    151 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    152 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    153 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    154 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    155 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    156 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    157 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    158 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    159 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    160 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    161 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    162 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    163 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    164 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    165 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    166 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    167 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    168 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    169 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    170 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    171 [02-Apr-2006 18:52:49] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    172 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    173 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    174 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    175 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    176 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    177 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    178 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    179 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    180 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    181 [02-Apr-2006 18:52:49] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    182 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    183 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    184 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    185 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    186 [02-Apr-2006 19:02:51] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    187 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    188 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    189 [02-Apr-2006 19:02:51] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    190 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    191 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    192 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    193 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    194 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    195 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    196 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    197 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    198 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    199 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    200 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    201 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    202 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    203 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    204 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    205 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    206 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    207 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    208 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    209 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    210 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    211 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    212 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    213 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    214 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    215 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    216 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    217 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    218 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    219 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    220 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    221 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    222 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    223 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    224 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    225 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    226 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    227 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    228 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    229 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    230 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    231 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    232 [02-Apr-2006 19:02:51] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    233 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    234 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    235 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    236 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    237 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    238 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    239 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    240 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    241 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    242 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    243 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    244 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    245 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    246 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    247 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    248 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    249 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    250 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    251 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    252 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    253 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    254 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    255 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    256 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    257 [02-Apr-2006 19:02:51] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    258 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    259 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    260 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    261 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    262 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    263 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    264 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    265 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    266 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    267 [02-Apr-2006 19:02:51] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    268 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    269 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    270 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    271 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    272 [03-Apr-2006 09:31:30] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    273 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    274 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    275 [03-Apr-2006 09:31:30] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    276 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    277 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    278 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    279 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    280 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    281 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    282 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    283 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    284 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    285 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    286 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    287 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    288 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    289 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    290 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    291 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    292 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    293 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    294 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    295 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    296 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    297 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    298 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    299 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    300 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    301 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    302 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    303 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    304 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    305 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    306 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    307 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    308 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    309 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    310 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    311 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    312 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    313 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    314 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    315 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    316 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    317 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    318 [03-Apr-2006 09:31:30] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    319 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    320 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    321 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    322 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    323 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    324 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    325 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    326 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    327 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    328 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    329 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    330 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    331 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    332 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    333 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    334 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    335 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    336 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    337 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    338 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    339 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    340 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    341 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    342 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    343 [03-Apr-2006 09:31:30] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    344 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    345 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    346 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    347 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    348 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    349 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    350 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    351 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    352 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    353 [03-Apr-2006 09:31:30] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    354 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    355 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    356 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    357 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    358 [03-Apr-2006 09:32:06] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    359 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    360 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    361 [03-Apr-2006 09:32:06] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    362 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    363 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    364 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    365 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    366 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    367 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    368 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    369 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    370 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    371 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    372 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    373 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    374 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    375 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    376 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    377 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    378 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    379 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    380 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    381 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    382 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    383 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    384 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    385 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    386 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    387 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    388 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    389 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    390 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    391 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    392 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    393 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    394 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    395 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    396 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    397 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    398 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    399 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    400 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    401 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    402 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    403 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    404 [03-Apr-2006 09:32:06] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    405 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    406 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    407 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    408 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    409 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    410 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    411 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    412 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    413 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    414 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    415 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    416 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    417 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    418 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    419 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    420 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    421 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    422 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    423 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    424 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    425 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    426 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    427 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    428 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    429 [03-Apr-2006 09:32:06] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    430 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    431 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    432 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    433 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    434 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    435 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    436 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    437 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    438 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_name in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 48 
    439 [03-Apr-2006 09:32:06] PHP Notice:  Undefined index:  current_controller_path in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers.php on line 49 
    440 [03-Apr-2006 09:39:15] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    441 [03-Apr-2006 09:39:15] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    442 [03-Apr-2006 09:39:15] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    443 [03-Apr-2006 09:39:15] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 269 
    444 [03-Apr-2006 11:18:13] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 270 
    445 [03-Apr-2006 11:18:13] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 270 
    446 [03-Apr-2006 11:18:13] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 270 
    447 [03-Apr-2006 11:18:13] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 270 
    448 [03-Apr-2006 11:19:33] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 272 
    449 [03-Apr-2006 11:19:33] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 272 
    450 [03-Apr-2006 11:19:33] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 272 
    451 [03-Apr-2006 11:19:33] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 272 
    452 [03-Apr-2006 11:20:14] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 271 
    453 [03-Apr-2006 11:20:14] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 271 
    454 [03-Apr-2006 11:20:14] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 271 
    455 [03-Apr-2006 11:20:14] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 271 
    456 [03-Apr-2006 11:21:12] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 271 
    457 [03-Apr-2006 11:21:12] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 271 
    458 [03-Apr-2006 11:21:12] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 271 
    459 [03-Apr-2006 11:21:12] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 271 
    460 [03-Apr-2006 15:02:33] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 284 
    461 [03-Apr-2006 15:02:33] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 284 
    462 [03-Apr-2006 15:02:33] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 284 
    463 [03-Apr-2006 15:02:33] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 284 
    464 [03-Apr-2006 15:59:00] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 284 
    465 [03-Apr-2006 15:59:00] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 284 
    466 [03-Apr-2006 15:59:00] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 284 
    467 [03-Apr-2006 15:59:00] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 284 
    468 [03-Apr-2006 15:59:30] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 284 
    469 [03-Apr-2006 15:59:30] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 284 
    470 [03-Apr-2006 15:59:30] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 284 
    471 [03-Apr-2006 15:59:30] PHP Notice:  Undefined variable: results in /home/haas/trax/trunk/trax/vendor/trax/action_view/helpers/active_record_helper.php on line 284 
    472 [05-Apr-2006 16:15:13] PHP Fatal error:  Uncaught exception 'ActiveRecordError' with message 'Model Class: Person<br>Error Message: DB Error: connect failed' in /home/haas/trax/trunk/trax/vendor/trax/active_record.php:1937 
    473 Stack trace: 
    474 #0 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1937): ActiveRecord::raise() 
    475 #1 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1909): Person->raise('DB Error: conne...') 
    476 #2 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(335): Person->establish_connection() 
    477 #3 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(459): Person->__construct() 
    478 #4 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(276): TraxGenerator->generate_scaffold('Person', 'admin', Array) 
    479 #5 /home/haas/trax/trunk/trax/script/generate.php(56): TraxGenerator->run() 
    480 #6 {main} 
    481   thrown in /home/haas/trax/trunk/trax/vendor/trax/active_record.php on line 1937 
    482 [05-Apr-2006 16:15:51] PHP Fatal error:  Uncaught exception 'ActiveRecordError' with message 'Model Class: Person<br>Error Message: DB Error: connect failed' in /home/haas/trax/trunk/trax/vendor/trax/active_record.php:1937 
    483 Stack trace: 
    484 #0 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1937): ActiveRecord::raise() 
    485 #1 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1909): Person->raise('DB Error: conne...') 
    486 #2 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(335): Person->establish_connection() 
    487 #3 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(459): Person->__construct() 
    488 #4 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(276): TraxGenerator->generate_scaffold('Person', 'admin', Array) 
    489 #5 /home/haas/trax/trunk/trax/script/generate.php(56): TraxGenerator->run() 
    490 #6 {main} 
    491   thrown in /home/haas/trax/trunk/trax/vendor/trax/active_record.php on line 1937 
    492 [05-Apr-2006 16:17:48] PHP Fatal error:  Uncaught exception 'ActiveRecordError' with message 'Model Class: Person<br>Error Message: DB Error: connect failed' in /home/haas/trax/trunk/trax/vendor/trax/active_record.php:1937 
    493 Stack trace: 
    494 #0 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1937): ActiveRecord::raise() 
    495 #1 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1909): Person->raise('DB Error: conne...') 
    496 #2 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(335): Person->establish_connection() 
    497 #3 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(459): Person->__construct() 
    498 #4 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(276): TraxGenerator->generate_scaffold('Person', 'admin', Array) 
    499 #5 /home/haas/trax/trunk/trax/script/generate.php(56): TraxGenerator->run() 
    500 #6 {main} 
    501   thrown in /home/haas/trax/trunk/trax/vendor/trax/active_record.php on line 1937 
    502 [05-Apr-2006 16:21:09] PHP Fatal error:  Uncaught exception 'ActiveRecordError' with message 'Model Class: Person<br>Error Message: DB Error: connect failed' in /home/haas/trax/trunk/trax/vendor/trax/active_record.php:1937 
    503 Stack trace: 
    504 #0 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1937): ActiveRecord::raise() 
    505 #1 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1909): Person->raise('DB Error: conne...') 
    506 #2 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(335): Person->establish_connection() 
    507 #3 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(459): Person->__construct() 
    508 #4 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(276): TraxGenerator->generate_scaffold('Person', 'admin', Array) 
    509 #5 /home/haas/trax/trunk/trax/script/generate.php(56): TraxGenerator->run() 
    510 #6 {main} 
    511   thrown in /home/haas/trax/trunk/trax/vendor/trax/active_record.php on line 1937 
    512 [05-Apr-2006 16:22:13] PHP Fatal error:  Uncaught exception 'ActiveRecordError' with message 'Model Class: Person<br>Error Message: DB Error: connect failed' in /home/haas/trax/trunk/trax/vendor/trax/active_record.php:1937 
    513 Stack trace: 
    514 #0 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1937): ActiveRecord::raise() 
    515 #1 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(1909): Person->raise('DB Error: conne...') 
    516 #2 /home/haas/trax/trunk/trax/vendor/trax/active_record.php(335): Person->establish_connection() 
    517 #3 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(459): Person->__construct() 
    518 #4 /home/haas/trax/trunk/trax/vendor/trax/trax_generator.php(276): TraxGenerator->generate_scaffold('Person', 'admin', Array) 
    519 #5 /home/haas/trax/trunk/trax/script/generate.php(56): TraxGenerator->run() 
    520 #6 {main} 
    521   thrown in /home/haas/trax/trunk/trax/vendor/trax/active_record.php on line 1937 
  • trunk/trax/test/testenv.php

    r199 r201  
    3232        . TRAX_LIB_ROOT . PATH_SEPARATOR . ini_get('include_path')); 
    3333 
     34# Bootstrap the Trax environment, framework, and default configuration 
     35include_once(dirname(dirname(__FILE__) 
     36             . DIRECTORY_SEPARATOR . 'config' 
     37             . DIRECTORY_SEPARATOR . 'boot.php'); 
     38 
    3439// -- set Emacs parameters -- 
    3540// Local variables: 
  • trunk/trax/vendor/trax/action_controller.php

    r200 r201  
    282282 
    283283    /** 
    284      *  File extension appended to view files 
    285      * 
    286      *  Set from a define in {@link environment.php}.  Usually phtml 
    287      *  @var string 
    288      */ 
    289     public $views_file_extention = TRAX_VIEWS_EXTENTION; 
    290  
    291     /** 
    292284     *  Render controllers layout 
    293285     * 
     
    375367 
    376368        // Load the routes. 
    377         require(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['config']."/routes.php"); 
     369        require(Trax::$config_path."/routes.php"); 
    378370        $this->router = $router; 
    379371        if(is_object($this->router)) { 
     
    410402     *  @uses set_paths() 
    411403     *  @uses $url_path 
    412      *  @uses $views_file_extention 
    413404     *  @uses $views_path 
    414405     *  @return boolean 
     
    432423        //error_log('browser url='.$browser_url); 
    433424        # strip off url prefix, if any 
    434         if(!is_null(TRAX_URL_PREFIX)) { 
    435             $browser_url = str_replace(TRAX_URL_PREFIX,"",$browser_url); 
     425        if(!is_null(Trax::$url_prefix)) { 
     426            $browser_url = str_replace(Trax::$url_prefix, "", $browser_url); 
    436427        } 
    437428 
     
    453444 
    454445        if($this->router->routes_count > 0) { 
    455             $this->controllers_path = TRAX_ROOT . $GLOBALS['TRAX_INCLUDES']['controllers']; 
    456             $this->helpers_path = $this->helpers_base_path = TRAX_ROOT . $GLOBALS['TRAX_INCLUDES']['helpers']; 
     446            $this->controllers_path = Trax::$controllers_path; 
     447            $this->helpers_path = $this->helpers_base_path = Trax::$helpers_path; 
    457448            $this->application_controller_file = $this->controllers_path . "/application.php"; 
    458449            $this->application_helper_file = $this->helpers_path . "/application_helper.php"; 
    459             $this->layouts_path = TRAX_ROOT . $GLOBALS['TRAX_INCLUDES']['layouts']; 
    460             $this->views_path = TRAX_ROOT . $GLOBALS['TRAX_INCLUDES']['views']; 
     450            $this->layouts_path = Trax::$layouts_path; 
     451            $this->views_path = Trax::$views_path; 
    461452 
    462453            $route = $this->router->find_route($browser_url); 
     
    560551     *  @uses Session::unset_var() 
    561552     *  @uses $view_file 
    562      *  @uses $views_file_extention 
    563553     *  @uses $views_path 
    564554     *  @return boolean true 
     
    598588                    $this->controller_object->views_path = $this->views_path; 
    599589                    $this->controller_object->layouts_path = $this->layouts_path; 
    600                     $GLOBALS['current_controller_path'] = "$this->added_path/$this->controller"; 
    601                     $GLOBALS['current_controller_name'] = $this->controller; 
    602                     $GLOBALS['current_action_name'] = $this->action; 
    603                     $GLOBALS['current_controller_object'] =& $this->controller_object; 
     590                    Trax::$current_controller_path = "$this->added_path/$this->controller"; 
     591                    Trax::$current_controller_name = $this->controller; 
     592                    Trax::$current_action_name = $this->action; 
     593                    Trax::$current_controller_object =& $this->controller_object; 
    604594                    # Which layout should we use? 
    605595                    $layout_file = $this->controller_object->determine_layout(); 
     
    611601                            include_once(TRAX_LIB_ROOT."/scaffold_controller.php"); 
    612602                            $this->controller_object = new ScaffoldController($scaffold); 
    613                             $GLOBALS['current_controller_object'] =& $this->controller_object; 
     603                            Trax::$current_controller_object =& $this->controller_object; 
    614604                            $render_options['scaffold'] = true; 
    615605                            if(!file_exists($layout_file)) { 
     
    667657                        //          .var_export($this->action_params,true)); 
    668658                        $this->controller_object->$action($this->action_params); 
    669                     } elseif(file_exists($this->views_path . "/" . $this->action . "." . $this->views_file_extention)) { 
     659                    } elseif(file_exists($this->views_path . "/" . $this->action . "." . Trax::$views_extension)) { 
    670660                        //error_log('views file "'.$this->action.'"'); 
    671661                        $action = $this->action; 
     
    722712                        if(!$this->controller_object->render_file($layout_file, false, $locals)) { 
    723713                            # No layout template so just echo out whatever is in $content_for_layout 
    724                             echo "HERE"; 
     714                            //echo "HERE"; 
    725715                            echo $content_for_layout;         
    726716                        } 
     
    991981            $this->view_file = TRAX_LIB_ROOT."/templates/scaffolds/".$action.".phtml";     
    992982        } else {     
    993             $this->view_file = $this->views_path . "/" . $action . "." . $this->views_file_extention; 
     983            $this->view_file = $this->views_path . "/" . $action . "." . Trax::$views_extension; 
    994984        } 
    995985        //error_log(get_class($this)." - render_action() view_file: $this->view_file"); 
     
    10301020        # Renders a template relative to app/views 
    10311021        if($use_full_path) { 
    1032             $path = $this->views_path."/".$path.".".$this->views_file_extention; 
     1022            $path = $this->views_path."/".$path.".".Trax::$views_extension; 
    10331023        }  
    10341024 
     
    10971087            $file = substr(strrchr($path, "/"), 1); 
    10981088            $path = substr($path, 0, strripos($path, "/")); 
    1099             $file_with_path = TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['views']."/".$path."/_".$file.".".$this->views_file_extention; 
     1089            $file_with_path = Trax::$views_path."/".$path."/_".$file.".".Trax::$views_extension; 
    11001090        } else { 
    11011091            $file = $path; 
    1102             $file_with_path = $this->views_path."/_".$file.".".$this->views_file_extention; 
     1092            $file_with_path = $this->views_path."/_".$file.".".Trax::$views_extension; 
    11031093        } 
    11041094         
     
    11101100                    $spacer_file = substr(strrchr($spacer_path, "/"), 1); 
    11111101                    $spacer_path = substr($spacer_path, 0, strripos($spacer_path, "/")); 
    1112                     $spacer_file_with_file = TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['views']."/".$spacer_path."/_".$spacer_file.".".$this->views_file_extention; 
     1102                    $spacer_file_with_file = TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['views']."/".$spacer_path."/_".$spacer_file.".".Trax::$views_extension; 
    11131103                } else { 
    11141104                    $spacer_file = $spacer_path; 
    1115                     $spacer_file_with_file = $this->views_path."/_".$spacer_file.".".$this->views_file_extention; 
     1105                    $spacer_file_with_file = $this->views_path."/_".$spacer_file.".".Trax::$views_extension; 
    11161106                }   
    11171107                if(file_exists($spacer_file_with_file)) { 
     
    11701160 
    11711161        # Default settings 
    1172         $layouts_base_path = TRAX_ROOT . $GLOBALS['TRAX_INCLUDES']['layouts']; 
    1173         $default_layout_file = $layouts_base_path . "/application." . $this->views_file_extention; 
     1162        $layouts_base_path = Trax::$layouts_path; 
     1163        $default_layout_file = $layouts_base_path . "/application." . Trax::$views_extension; 
    11741164         
    11751165        if(!$full_path && $layout) { 
     
    11801170                $file = substr(strrchr($layout, "/"), 1); 
    11811171                $path = substr($layout, 0, strripos($layout, "/")); 
    1182                 $layout = $layouts_base_path."/".$path."/".$file.".".$this->views_file_extention; 
     1172                $layout = $layouts_base_path."/".$path."/".$file.".".Trax::$views_extension; 
    11831173            } else { 
    11841174                # Is there a layout for the current controller 
    1185                 $layout = $this->layouts_path."/".$layout.".".$this->views_file_extention; 
     1175                $layout = $this->layouts_path."/".$layout.".".Trax::$views_extension; 
    11861176            } 
    11871177 
     
    12611251        header('status: {$error_code} {$error_heading}');  
    12621252        # check for user's layout for errors 
    1263         if(DEBUG && file_exists(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['layouts']."/trax_error.".TRAX_VIEWS_EXTENTION)) { 
    1264             include(TRAX_ROOT.$GLOBALS['TRAX_INCLUDES']['layouts']."/trax_error.".TRAX_VIEWS_EXTENTION); 
    1265         } elseif(DEBUG && file_exists(TRAX_LIB_ROOT."/templates/error.phtml")) { 
     1253        if(TRAX_ENV == "development" && file_exists(Trax::$layouts_path."/trax_error.".Trax::$views_extension)) { 
     1254            include(Trax::$layouts_path."/trax_error.".Trax::$views_extension); 
     1255        } elseif(TRAX_ENV == "development" && file_exists(TRAX_LIB_ROOT."/templates/error.phtml")) { 
    12661256            # use default layout for errors 
    12671257            include(TRAX_LIB_ROOT."/templates/error.phtml"); 
    1268         } elseif(DEBUG) { 
     1258        } elseif(TRAX_ENV == "development") { 
    12691259            echo "<font face=\"verdana, arial, helvetica, sans-serif\">\n"; 
    12701260            echo "<h1>$error_heading</h1>\n"; 
  • trunk/trax/vendor/trax/action_mailer.php

    r200 r201  
    5959            'args' => '-i -t' 
    6060        ), 
    61         $views_file_extention = TRAX_VIEWS_EXTENTION, 
    6261        $delivery_method = "mail", # mail | sendmail | smtp | test 
    6362        $perform_deliveries = true, # true will attempt to deliver mail | false will not deliver mail 
     
    217216     */ 
    218217    private function initialize_defaults($method_name) {        
    219         $this->template_root = TRAX_ROOT . $GLOBALS['TRAX_INCLUDES']['views']; 
     218        $this->template_root = Trax::$views_path; 
    220219        $this->template_path = "{$this->template_root}/".Inflector::underscore(get_class($this)); 
    221220        $this->template = $this->template ? $this->template : $method_name;         
     
    278277    function render_message($method_name, $body = array()) { 
    279278        if(strstr($method_name, "/")) { 
    280             $template = "{$this->template_root}/{$method_name}.{$this->views_file_extention}"; 
    281         } else { 
    282             $template = "{$this->template_path}/{$method_name}.{$this->views_file_extention}"; 
     279            $template = "{$this->template_root}/{$method_name}.".Trax::$views_extension; 
     280        } else { 
     281            $template = "{$this->template_path}/{$method_name}.".Trax::$views_extension; 
    283282        } 
    284283 
  • trunk/trax/vendor/trax/action_view/helpers.php

    r199 r201  
    5757     *  Current controller object 
    5858     * 
    59      *  Local copy of $GLOBALS['current_controller_object']<br /> 
     59     *  Local copy of Trax::$current_controller_object<br /> 
    6060     *  <b>NB:</b> {@link object()} faults if this does not contain a 
    6161     *  valid instance of ActionController. 
     
    6767     *  Current controller name 
    6868     * 
    69      *  Local copy of $GLOBALS['current_controller_name'] 
     69     *  Local copy of Trax::$current_controller_name 
    7070     *  @var string 
    7171     */ 
     
    7575     *  Current controller path 
    7676     * 
    77      *  Local copy of $GLOBALS['current_controller_path'] 
     77     *  Local copy of Trax::$current_controller_path 
    7878     *  @var string 
    7979     */ 
     
    105105        //  Copy controller information from $GLOBALS 
    106106        $this->controller_name = 
    107             (array_key_exists('current_controller_name',$GLOBALS) 
    108              && $GLOBALS['current_controller_name']) 
    109             ? $GLOBALS['current_controller_name'] : null; 
     107            !is_null(Trax::$current_controller_name)            
     108            ? Trax::$current_controller_name : null; 
    110109        $this->controller_path = 
    111             (array_key_exists('current_controller_path', $GLOBALS) 
    112              && $GLOBALS['current_controller_path']) 
    113             ? $GLOBALS['current_controller_path'] : null; 
     110            !is_null(Trax::$current_controller_path) 
     111            ? Trax::$current_controller_path : null; 
    114112        $this->controller_object = 
    115             (array_key_exists('current_controller_object', $GLOBALS) 
    116              && $GLOBALS['current_controller_object']) 
    117             ? $GLOBALS['current_controller_object'] : null; 
     113            (!is_null(Trax::$current_controller_object)  
     114            && is_object(Trax::$current_controller_object)) 
     115            ? Trax::$current_controller_object : null; 
    118116        if($auto_index) { 
    119117            $object = $this->object(); 
  • trunk/trax/vendor/trax/action_view/helpers/asset_tag_helper.php

    r199 r201  
    8282 
    8383            //  If TRAX_URL_PREFIX non-null, prefix it to path 
    84             if(!is_null(TRAX_URL_PREFIX)) { 
    85                 $prefix = TRAX_URL_PREFIX; 
     84            if(!is_null(Trax::$url_prefix)) { 
     85                $prefix = Trax::$url_prefix; 
    8686                if($prefix{0} != "/") { 
    8787                    $prefix = "/$prefix"; 
     
    150150                                           $sources);     
    151151                }                   
    152                 if(file_exists(TRAX_PUBLIC. "/javascripts/application.js")) { 
     152                if(file_exists(Trax::$public_path. "/javascripts/application.js")) { 
    153153                    $sources[] = 'application'; 
    154154                } 
     
    331331    $asset_helper = new AssetTagHelper(); 
    332332    $args = func_get_args(); 
    333     return call_user_func_array(array($asset_helper, 
    334                                       'auto_discovery_link_tag'), $args); 
     333    return call_user_func_array(array($asset_helper, 'auto_discovery_link_tag'), $args); 
    335334} 
    336335 
     
    352351    $asset_helper = new AssetTagHelper(); 
    353352    $args = func_get_args(); 
    354     return call_user_func_array(array($asset_helper, 
    355                                       'stylesheet_link_tag'), $args); 
     353    return call_user_func_array(array($asset_helper, 'stylesheet_link_tag'), $args); 
    356354} 
    357355 
     
    363361    $asset_helper = new AssetTagHelper(); 
    364362    $args = func_get_args(); 
    365     return call_user_func_array(array($asset_helper, 
    366                                       'javascript_include_tag'), $args); 
     363    return call_user_func_array(array($asset_helper, 'javascript_include_tag'), $args); 
    367364} 
    368365 
  • trunk/trax/vendor/trax/active_record.php

    r199 r201  
    20062006    function establish_connection() { 
    20072007        # Connect to the database and throw an error if the connect fails. 
    2008       if(!array_key_exists('ACTIVE_RECORD_DB',$GLOBALS) 
    2009      || !is_object($GLOBALS['ACTIVE_RECORD_DB']) 
    2010      || $this->force_reconnect) { 
    2011             if(array_key_exists("use", $GLOBALS['TRAX_DB_SETTINGS'][TRAX_MODE])) { 
    2012                 $connection_settings = $GLOBALS['TRAX_DB_SETTINGS'][$GLOBALS['TRAX_DB_SETTINGS'][TRAX_MODE]['use']]; 
     2008        if(!is_object(Trax::$active_record_connection) || $this->force_reconnect) { 
     2009            if(array_key_exists("use", Trax::$database_settings[TRAX_ENV])) { 
     2010                $connection_settings = Trax::$database_settings[Trax::$database_settings[TRAX_ENV]['use']]; 
    20132011            } else { 
    2014                 $connection_settings = $GLOBALS['TRAX_DB_SETTINGS'][TRAX_MODE]; 
     2012                $connection_settings = Trax::$database_settings[TRAX_ENV]; 
    20152013            } 
    20162014            # Override database name if param is set 
     
    20202018            # Set optional Pear parameters 
    20212019            if(isset($connection_settings['persistent'])) { 
    2022                 $connection_options['persistent'] = 
    2023                     $connection_settings['persistent']; 
    2024             } 
    2025             $GLOBALS['ACTIVE_RECORD_DB'] =& DB::Connect($connection_settings, $connection_options); 
    2026         } 
    2027         if(!$this->is_error($GLOBALS['ACTIVE_RECORD_DB'])) { 
    2028             self::$db = $GLOBALS['ACTIVE_RECORD_DB']; 
     2020                $connection_options['persistent'] = $connection_settings['persistent']; 
     2021            } 
     2022            Trax::$active_record_connection =& DB::Connect($connection_settings, $connection_options); 
     2023        } 
     2024        if(!$this->is_error(Trax::$active_record_connection)) { 
     2025            self::$db = Trax::$active_record_connection; 
    20292026        } else { 
    2030             $this->raise($GLOBALS['ACTIVE_RECORD_DB']->getMessage()); 
     2027            $this->raise(Trax::$active_record_connection->getMessage()); 
    20312028        } 
    20322029        self::$db->setFetchMode($this->fetch_mode); 
     
    23252322     */ 
    23262323    function log_query($sql) { 
    2327         if(TRAX_MODE == "development" && $sql) { 
     2324        if(TRAX_ENV == "development" && $sql) { 
    23282325            $GLOBALS['ACTIVE_RECORD_SQL_LOG'][] = $sql;        
    23292326        }     
  • trunk/trax/vendor/trax/inflector.php

    r195 r201  
    2929 */ 
    3030 
     31 
     32include_once(TRAX_LIB_ROOT . "/inflections.php"); 
     33 
    3134/** 
    3235 *  Implement the Trax naming convention 
     
    4043 
    4144    /** 
    42      *  Rules for converting an English singular word to plural form 
    43      */ 
    44     private static $plural_rules = 
    45         array(  '/(x|ch|ss|sh)$/' => '\1es',            # search, switch, fix, box, process, address 
    46                 '/series$/' => '\1series', 
    47                 '/([^aeiouy]|qu)ies$/' => '\1y', 
    48                 '/([^aeiouy]|qu)y$/' => '\1ies',        # query, ability, agency 
    49                 '/(?:([^f])fe|([lr])f)$/' => '\1\2ves', # half, safe, wife 
    50                 '/sis$/' => 'ses',                      # basis, diagnosis 
    51                 '/([ti])um$/' => '\1a',                 # datum, medium 
    52                 '/person$/' => 'people',                # person, salesperson 
    53                 '/man$/' => 'men',                      # man, woman, spokesman 
    54                 '/child$/' => 'children',               # child 
    55                 '/(.*)status$/' => '\1statuses', 
    56                 '/s$/' => 's',                          # no change (compatibility) 
    57                 '/$/' => 's' 
    58         ); 
    59  
    60     /** 
    61      *  Rules for converting an English plural word to singular form 
    62      */ 
    63     private static $singular_rules = 
    64         array(  '/(x|ch|ss)es$/' => '\1', 
    65                 '/movies$/' => 'movie', 
    66                 '/series$/' => 'series', 
    67                 '/([^aeiouy]|qu)ies$/' => '\1y', 
    68                 '/([lr])ves$/' => '\1f', 
    69                 '/([^f])ves$/' => '\1fe', 
    70                 '/(analy|ba|diagno|parenthe|progno|synop|the)ses$/' => '\1sis', 
    71                 '/([ti])a$/' => '\1um', 
    72                 '/people$/' => 'person', 
    73                 '/men$/' => 'man', 
    74                 '/(.*)statuses$/' => '\1status', 
    75                 '/children$/' => 'child', 
    76                 '/news$/' => 'news', 
    77                 '/s$/' => '' 
    78         ); 
    79  
    80     /** 
    8145     *  Pluralize a word according to English rules 
    8246     * 
     
    8650     */ 
    8751    function pluralize($word) { 
    88         $original = $word; 
    89         foreach(self::$plural_rules as $rule => $replacement) { 
    90             $word = preg_replace($rule,$replacement,$word); 
    91             if($original != $word) break; 
     52        if(!in_array($word, Inflections::$uncountables)) {  
     53            $original = $word;    
     54            foreach(Inflections::$plurals as $plural_rule) { 
     55                $word = preg_replace($plural_rule['rule'], $plural_rule['replacement'], $word); 
     56                if($original != $word) break; 
     57            } 
    9258        } 
    9359        return $word; 
     
    10167     */ 
    10268    function singularize($word) { 
    103         $original = $word; 
    104         foreach(self::$singular_rules as $rule => $replacement) { 
    105             $word = preg_replace($rule,$replacement,$word); 
    106             if($original != $word) break; 
     69        if(!in_array($word, Inflections::$uncountables)) {  
     70            $original = $word;    
     71            foreach(Inflections::$singulars as $singular_rule) { 
     72                $word = preg_replace($singular_rule['rule'], $singular_rule['replacement'], $word); 
     73                if($original != $word) break; 
     74            } 
    10775        } 
    10876        return $word; 
     
    153121    function humanize($lower_case_and_underscored_word) { 
    154122        return ucwords(str_replace("_"," ",$lower_case_and_underscored_word)); 
     123    } 
     124     
     125    /** 
     126     *  Convert a word or phrase into a title format "Welcome To My Site" 
     127     * 
     128     *  @param string $word  A word or phrase 
     129     *  @return string A string that has all words capitalized and splits on existing caps. 
     130     */     
     131    function titleize($word) { 
     132        return preg_replace('/\b([a-z])/', self::capitalize('$1'), self::humanize(self::underscore($word))); 
     133    } 
     134 
     135    /** 
     136     *  Convert a word's underscores into dashes 
     137     * 
     138     *  @param string $underscored_word  Word to convert 
     139     *  @return string All underscores converted to dashes 
     140     */     
     141    function dasherize($underscored_word) { 
     142        return str_replace('_', '-', self::underscore($underscored_word)); 
    155143    } 
    156144 
     
    188176        return self::underscore($class_name) . "_id"; 
    189177    } 
     178 
     179 
     180    /** 
     181     *  Add to a number st, nd, rd, th 
     182     * 
     183     *  @param integer $number Number to append to 
     184     *    key 
     185     *  @return string Number formatted with correct st, nd, rd, or th 
     186     */     
     187    function ordinalize($number) { 
     188        $test = (intval($number) % 100); 
     189        if($test >= 11 && $test <= 13) { 
     190            $number = "{$number}th"; 
     191        } else { 
     192            switch((intval($number) % 10)) { 
     193                case 1: 
     194                    $number = "{$number}st"; 
     195                    break; 
     196                case 2: 
     197                    $number = "{$number}nd"; 
     198                    break; 
     199                case 3: 
     200                    $number = "{$number}rd"; 
     201                    break; 
     202                default: 
     203                    $number = "{$number}th";  
     204            }     
     205        } 
     206        return $number; 
     207    } 
    190208     
    191209} 
  • trunk/trax/vendor/trax/trax_generator.php

    r200 r201  
    136136 
    137137    /** 
    138      *  Value of the view files extension (usually '.phtml') 
    139      *  @var string 
    140      */ 
    141     public $view_file_extention = TRAX_VIEWS_EXTENTION; 
    142  
    143     /** 
    144138     *  Constructor for the TraxGenerator object 
    145139     * 
     
    147141     *  subdirectories of the Trax work area and the template files 
    148142     *  used to generate application files 
    149      *  @uses $GLOBALS['TRAX_INCLUDES'] 
    150      *  @global string[] $GLOBALS['TRAX_INCLUDES'] Array of paths to 
    151      *                                             various Trax directories 
     143     * 
    152144     *  @uses controller_path 
    153145     *  @uses controller_template_file 
     
    162154     */ 
    163155    function __construct() { 
    164         $this->view_path = 
    165                TRAX_ROOT . $GLOBALS['TRAX_INCLUDES']['views']; 
    166         $this->controller_path = 
    167                TRAX_ROOT . $GLOBALS['TRAX_INCLUDES']['controllers']; 
    168         $this->helper_path = 
    169                TRAX_ROOT . $GLOBALS['TRAX_INCLUDES']['helpers']; 
    170         $this->model_path = 
    171                TRAX_ROOT . $GLOBALS['TRAX_INCLUDES']['models']; 
    172         $this->layouts_path = 
    173                TRAX_ROOT . $GLOBALS['TRAX_INCLUDES']['layouts']; 
     156        $this->view_path = Trax::$views_path; 
     157        $this->controller_path = Trax::$controllers_path; 
     158        $this->helper_path = Trax::$helpers_path; 
     159        $this->model_path = Trax::$models_path; 
     160        $this->layouts_path = Trax::$layouts_path; 
    174161        $this->controller_template_file = 
    175162               TRAX_LIB_ROOT . "/templates/controller.php"; 
     
    573560            echo $e->getMessage()."\n"; 
    574561            echo "for database '" 
    575                 . $GLOBALS['TRAX_DB_SETTINGS'][TRAX_MODE]['database'] 
     562                . Trax::$database_settings[TRAX_ENV]['database'] 
    576563                . "' on host '" 
    577                 . $GLOBALS['TRAX_DB_SETTINGS'][TRAX_MODE]['hostspec'] 
     564                . Trax::$database_settings[TRAX_ENV]['hostspec'] 
    578565                . "' as user '" 
    579                 . $GLOBALS['TRAX_DB_SETTINGS'][TRAX_MODE]['username'] 
     566                . Trax::$database_settings[TRAX_ENV]['username'] 
    580567                . "'\nDid you configure file " 
    581                 . TRAX_ROOT . $GLOBALS['TRAX_INCLUDES']['config'] 
     568                . Trax::$config_path 
    582569                . "/database.ini correctly?\n"; 
    583570            die(); 
     
    631618                 
    632619        # Generate the index.phtml view 
    633         $view_file = "$this->view_path/index.".$this->view_file_extention; 
     620        $view_file = "$this->view_path/index.".Trax::$views_extension; 
    634621        ob_start();     
    635622        include("$this->scaffold_template_path/view_index.phtml"); 
     
    647634                
    648635        # Generate the add.phtml view 
    649         $view_file = "$this->view_path/add.".$this->view_file_extention; 
     636        $view_file = "$this->view_path/add.".Trax::$views_extension; 
    650637        ob_start();     
    651638        include("$this->scaffold_template_path/view_add.phtml"); 
     
    663650         
    664651        # Generate the edit.phtml view 
    665         $view_file = "$this->view_path/edit.".$this->view_file_extention; 
     652        $view_file = "$this->view_path/edit.".Trax::$views_extension; 
    666653        ob_start();     
    667654        include("$this->scaffold_template_path/view_edit.phtml"); 
     
    679666         
    680667        # Generate the show.phtml view 
    681         $view_file = "$this->view_path/show.".$this->view_file_extention; 
     668        $view_file = "$this->view_path/show.".Trax::$views_extension; 
    682669        ob_start();     
    683670        include("$this->scaffold_template_path/view_show.phtml"); 
     
    695682                
    696683        # Generate the partial containing the form elments from the database 
    697         $view_file = "$this->view_path/_form.".$this->view_file_extention; 
     684        $view_file = "$this->view_path/_form.".Trax::$views_extension; 
    698685        ob_start();     
    699686        require "$this->scaffold_template_path/form_scaffolding.phtml"; 
     
    711698         
    712699        # Generate the layout for the scaffolding 
    713         $layout_file = $this->layouts_path."/" 
    714             . $this->layout_filename."." 
    715             . $this->view_file_extention; 
     700        $layout_file = $this->layouts_path."/".$this->layout_filename.".".Trax::$views_extension; 
    716701        if(!file_exists($this->layouts_path)) { 
    717702            mkdir($this->layouts_path);         
     
    839824     *  @uses controller_class        Must be set before call. 
    840825     *                                Not changed during call. 
    841      *  @uses view_file_extension     Must be set before call. 
    842      *                                Not changed during call. 
    843826     *  @uses view_path               Must be set before call. 
    844827     *                                Not changed during call. 
     
    848831     */ 
    849832    function create_view($view, $controller) { 
    850         $view_file = "$this->view_path/".$view.".".$this->view_file_extention; 
     833        $view_file = "$this->view_path/".$view.".".Trax::$views_extension; 
    851834        if(!file_exists($view_file)) { 
    852835            if(file_exists($this->view_template_file)) {