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


+ Error on line 23

Doo::db()->sql_tracking true;

<?php
session_start
();
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.
//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';
# 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;


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/javierbarrera/public_html/dooframework/db/DooSqlMagic.php
    
[line:protected] => 160
    
[trace:Exception:private] => Array
        (
            [
0] => Array
                (
                    [
file] => /home/javierbarrera/public_html/dooframework/Doo.php
                    
[line] => 137
                    
[function] => connect
                    
[class] => DooSqlMagic
                    
[type] => ->
                    [
args] => Array
                        (
                        )

                )

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

                )

        )

    [
previous:Exception:private] => 
)


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


object(DooConfig)#1 (33) {
  
["AUTOLOAD"] => NULL
  
["SITE_PATH"] => string(32"/home/javierbarrera/public_html/"
  
["PROTECTED_FOLDER"] => string(10"protected/"
  
["BASE_PATH"] => string(45"/home/javierbarrera/public_html/dooframework/"
  
["LOG_PATH"] => NULL
  
["APP_URL"] => string(37"http://javierbarreraproducciones.com/"
  
["SUBFOLDER"] => string(1"/"
  
["APP_MODE"] => string(4"prod"
  
["AUTOROUTE"] => bool(true)
  [
"DEBUG_ENABLED"] => bool(true)
  [
"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
  
["RELATIVE_IMG_DIR"] => string(13"/uploads/img/"
  
["IMG_DIR"] => string(44"/home/javierbarrera/public_html/uploads/img/"
  
["FILE_DIR"] => string(39"/home/javierbarrera/public_html//files/"
  
["IMG_BD"] => string(51"/home/javierbarrera/public_html//files/fotos_bodas/"
  
["IMG_SV"] => string(55"/home/javierbarrera/public_html//files/fotos_servicios/"
  
["IMG_EV"] => string(53"/home/javierbarrera/public_html//files/fotos_eventos/"
  
["IMG_video"] => string(52"/home/javierbarrera/public_html//files/fotos_videos/"
  
["IMG_BANNER"] => string(52"/home/javierbarrera/public_html//files/fotos_banner/"
  
["IMG_PG"] => string(53"/home/javierbarrera/public_html//files/fotos_paginas/"
  
["IMG_BG"] => string(56"/home/javierbarrera/public_html//files/fotos_background/"
  
["IMG_GL"] => string(54"/home/javierbarrera/public_html//files/fotos_galerias/"
}
$_SESSION Variables array(0) {
}
$_COOKIE Variables array(0) {
}

BACK TO TOP