See file /home/srinivasbt/reg.usabilitymatters.org/index.php


+ Error on line 22

Doo::db()->sql_tracking true;    #for debugging/profiling purpose

<?php
include './protected/config/common.conf.php';
include 
'./protected/config/routes.conf.php';
include 
'./protected/config/db.conf.php';

#Just include this for production mode
//include $config['BASE_PATH'].'deployment/deploy.php';
include $config['BASE_PATH'].'Doo.php';
include 
$config['BASE_PATH'].'app/DooConfig.php';

# Uncomment for auto loading the framework classes.
/*function __autoload($classname){
    Doo::autoload($classname);
}*/
Doo::conf()->set($config);
include 
$config['BASE_PATH'].'diagnostic/debug.php';

# database usage
//Doo::useDbReplicate();    #for db replication master-slave usage
Doo::db()->setMap($dbmap);
Doo::db()->setDb($dbconfig$config['APP_MODE']);
Doo::db()->sql_tracking true;    #for debugging/profiling purpose


Doo::app()->route $route;

# Uncomment for DB profiling
//Doo::logger()->beginDbProfile('doowebsite');
Doo::app()->run();
//Doo::logger()->endDbProfile('doowebsite');
//Doo::logger()->rotateFile(20);
//Doo::logger()->writeDbProfiles();
?>


* Stack Trace...


SqlMagicException Object
(
    [
message:protected] => Failed to open the DB connection
    
[string:Exception:private] => 
    [
code:protected] => 3
    
[file:protected] => /home/srinivasbt/reg.usabilitymatters.org/dooframework/db/DooSqlMagic.php
    
[line:protected] => 160
    
[trace:Exception:private] => Array
        (
            [
0] => Array
                (
                    [
file] => /home/srinivasbt/reg.usabilitymatters.org/dooframework/Doo.php
                    
[line] => 137
                    
[function] => connect
                    
[class] => DooSqlMagic
                    
[type] => ->
                    [
args] => Array
                        (
                        )

                )

            [
1] => Array
                (
                    [
file] => /home/srinivasbt/reg.usabilitymatters.org/index.php
                    
[line] => 22
                    
[function] => db
                    
[class] => Doo
                    
[type] => ::
                    [
args] => Array
                        (
                        )

                )

        )

    [
previous:Exception:private] => 
)


* Variables...  Conf .  GET  .  POST  .  Session  .  Cookie 


object(DooConfig)#1 (39) {
  
["AUTOLOAD"] => NULL
  
["SITE_PATH"] => string(42"/home/srinivasbt/reg.usabilitymatters.org/"
  
["PROTECTED_FOLDER"] => string(10"protected/"
  
["BASE_PATH"] => string(55"/home/srinivasbt/reg.usabilitymatters.org/dooframework/"
  
["LOG_PATH"] => NULL
  
["APP_URL"] => string(23"http://www.techease.in/"
  
["SUBFOLDER"] => string(1"/"
  
["APP_MODE"] => string(4"prod"
  
["AUTOROUTE"] => bool(false)
  [
"DEBUG_ENABLED"] => bool(false)
  [
"ERROR_404_DOCUMENT"] => NULL
  
["ERROR_404_ROUTE"] => string(6"/error"
  
["CACHE_PATH"] => NULL
  
["AUTO_VIEW_RENDER_PATH"] => NULL
  
["MEMCACHE"] => NULL
  
["TEMPLATE_ENGINE"] => string(7"DooView"
  
["TEMPLATE_SHOW_COMMENT"] => NULL
  
["TEMPLATE_ALLOW_PHP"] => NULL
  
["TEMPLATE_COMPILE_ALWAYS"] => NULL
  
["TEMPLATE_GLOBAL_TAGS"] => NULL
  
["MODULES"] => NULL
  
["APP_NAMESPACE_ID"] => NULL
  
["PAGE_URL"] => string(32"http://www.techease.in/2011/team"
  
["BG_ABOUT"] => string(7"#63b3b8"
  
["BG_PARTNERS"] => string(7"#cbd2e2"
  
["BG_VENUE"] => string(4"#fff"
  
["BG_SPEAKERS"] => string(7"#86b44e"
  
["BG_PROGRAM"] => string(7"#59BBDF"
  
["facebook_appid"] => string(15"234964426653871"
  
["facebook_secret"] => string(32"0a3c66d0794c75785deec2e739828978"
  
["CENTRAL_DOMAIN"] => string(36"http://www.reg.usabilitymatters.org/"
  
["CENTRAL_URL"] => string(42"/home/srinivasbt/reg.usabilitymatters.org/"
  
["email_templates"] => string(85"/home/srinivasbt/reg.usabilitymatters.org/protected/viewc/tpladmin/modules/emessages/"
  
["gmail_host"] => string(14"smtp.gmail.com"
  
["gmail_port"] => string(3"587"
  
["gmail_smtpsecure"] => string(3"tls"
  
["gmail_smtpauth"] => bool(true)
  [
"gmail_username"] => string(13"info@uxin.org"
  
["gmail_password"] => string(10"UxindiA(*&"
}
$_SESSION Variables array(4) {
  [
"prootUrl"] => string(0""
  
["ptpl_name"] => string(20"global/techease2013/"
  
["pcontroller_path"] => string(16"techease.in/2013"
  
["pview_path"] => string(16"techease.in/2013"
}
$_COOKIE Variables array(0) {
}

BACK TO TOP