See file /home/agendanegociosco/public_html/index.php


+ Error on line 27

Doo::db()->sql_tracking true;

<?php
error_reporting
(0);
include 
'./protected/config/common.conf.php';
include 
'./protected/config/routes.conf.php';
include 
'./protected/config/db.conf.php';
include 
'./protected/config/acl.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.
//spl_autoload_register('Doo::autoload');

Doo::conf()->set($config);
# remove this if you wish to see the normal PHP error view.
include $config['BASE_PATH'].'diagnostic/debug.php';

// ACL
Doo::acl()->rules $acl;
Doo::acl()->defaultFailedRoute '/error';

//database usage
//Doo::db()->setMap($dbmap);
Doo::db()->setDb($dbconfig$config['APP_MODE']);
Doo::db()->sql_tracking true;


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


* Stack Trace...


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

                )

            [
1] => Array
                (
                    [
file] => /home/agendanegociosco/public_html/index.php
                    
[line] => 27
                    
[function] => db
                    
[class] => Doo
                    
[type] => ::
                    [
args] => Array
                        (
                        )

                )

        )

    [
previous:Exception:private] => 
)


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


object(DooConfig)#1 (23) {
  
["AUTOLOAD"] => NULL
  
["SITE_PATH"] => string(35"/home/agendanegociosco/public_html/"
  
["PROTECTED_FOLDER"] => string(10"protected/"
  
["BASE_PATH"] => string(36"/home/agendanegociosco/dooframework/"
  
["LOG_PATH"] => string(28"/opt/agenciadenegocios/logs/"
  
["APP_URL"] => string(29"http://agendanegocios.com.ar/"
  
["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
  
["general"] => array(1) {
    [
"images"] =>   array(4) {
      [
"path"] =>     string(16"articulos/fotos/"
      
["url"] =>     string(17"/articulos/fotos/"
      
["thumb width"] =>     int(150)
      [
"max width"] =>     int(590)
    }
  }
}
$_COOKIE Variables array(0) {
}

BACK TO TOP