See file /verityCon/svn/index.php


+ Error on line 30

Doo::app()->run();

<?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);

# 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;    #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] => /verityCon/svn/dooframework/db/DooSqlMagic.php
    
[line:protected] => 143
    
[trace:Exception:private] => Array
        (
            [
0] => Array
                (
                    [
file] => /verityCon/svn/dooframework/Doo.php
                    
[line] => 90
                    
[function] => connect
                    
[class] => DooSqlMagic
                    
[type] => ->
                    [
args] => Array
                        (
                        )

                )

            [
1] => Array
                (
                    [
file] => /verityCon/svn/dooframework/controller/DooController.php
                    
[line] => 110
                    
[function] => db
                    
[class] => Doo
                    
[type] => ::
                    [
args] => Array
                        (
                        )

                )

            [
2] => Array
                (
                    [
file] => /verityCon/svn/protected/controller/HomeController.php
                    
[line] => 184
                    
[function] => db
                    
[class] => DooController
                    
[type] => ->
                    [
args] => Array
                        (
                        )

                )

            [
3] => Array
                (
                    [
file] => /verityCon/svn/protected/controller/HomeController.php
                    
[line] => 46
                    
[function] => getmenu
                    
[class] => homeController
                    
[type] => ->
                    [
args] => Array
                        (
                        )

                )

            [
4] => Array
                (
                    [
file] => /verityCon/svn/dooframework/app/DooWebApp.php
                    
[line] => 88
                    
[function] => home
                    
[class] => homeController
                    
[type] => ->
                    [
args] => Array
                        (
                        )

                )

            [
5] => Array
                (
                    [
file] => /verityCon/svn/dooframework/app/DooWebApp.php
                    
[line] => 34
                    
[function] => route_to
                    
[class] => DooWebApp
                    
[type] => ->
                    [
args] => Array
                        (
                        )

                )

            [
6] => Array
                (
                    [
file] => /verityCon/svn/index.php
                    
[line] => 30
                    
[function] => run
                    
[class] => DooWebApp
                    
[type] => ->
                    [
args] => Array
                        (
                        )

                )

        )

    [
previous:Exception:private] => 
)


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


object(DooConfig)#1 (36) {
  
["SITE_PATH"] => string(15"/verityCon/www/"
  
["PROTECTED_FOLDER"] => string(10"protected/"
  
["BASE_PATH"] => string(28"/verityCon/www/dooframework/"
  
["LOG_PATH"] => NULL
  
["APP_URL"] => string(33"http://www.verityconsultancy.com/"
  
["SUBFOLDER"] => string(1"/"
  
["APP_MODE"] => string(4"prod"
  
["AUTOROUTE"] => bool(false)
  [
"DEBUG_ENABLED"] => bool(true)
  [
"ERROR_404_DOCUMENT"] => NULL
  
["ERROR_404_ROUTE"] => string(6"/error"
  
["CACHE_PATH"] => NULL
  
["MEMCACHE"] => NULL
  
["JS_PATH"] => string(43"http://www.verityconsultancy.com/global/js/"
  
["CSS_PATH"] => string(44"http://www.verityconsultancy.com/global/css/"
  
["IMG_PATH"] => string(44"http://www.verityconsultancy.com/global/img/"
  
["TEMPLATE_ENGINE"] => string(7"DooView"
  
["TEMPLATE_SHOW_COMMENT"] => NULL
  
["TEMPLATE_ALLOW_PHP"] => NULL
  
["TEMPLATE_COMPILE_ALWAYS"] => NULL
  
["TEMPLATE_GLOBAL_TAGS"] => NULL
  
["MODEL_PATH"] => string(31"/verityCon/www/protected/model/"
  
["FC_LIKE_BUTTON"] => string(374"<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FHealth-Desk-India%2F115996945136419&amp;layout=button_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>"
  
["TW_LIKE_BUTTON"] => string(182"<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>"
  
["TW_FOLLOW_BUTTON"] => string(165"<a href="http://www.twitter.com/Healthdeskindia"><img src="http://www.verityconsultancy.com/global/img/follow_me-a.png" alt="Follow Healthdeskindia on Twitter"/></a>"
  
["contactNumberText"] => string(54"USA : | UK : +44 1163 500191 | INDIA : +91 261 4015353"
  
["indiaOfficeAddress"] => string(124"<li><b>India Office :</b></li><li>18,Niraj Apartment</li><li>Goddod Road,</li><li style="background:none;">Surat,Gujrat</li>"
  
["contactUsText"] => string(175"<li><b>Phone :</b></li><li>+91-261-4015353</li><li><b>Mobile :</b></li><li>+91-9725353584</li><li><b>Email :</b></li><li style="background:none;">care@healthdeskindia.com</li>"
  
["adminEmailId"] => string(75"nil@verityconsultancy.com,arti.rakholiya@avinashi.com,thpatel4884@gmail.com"
  
["ourCompanyText"] => string(213"Objective of Health Desk India is to make quality Health care service of India accessible to  people across the globe. If you want to choose India as Medical Travel Destination, we can offer you one stop solution."
  
["aboutUsLink"] => string(79"http://www.verityconsultancy.com/site/About-Us/Our-Company/About-Us-Our-Company"
  
["medicalServiceText"] => string(489"We all are part of global village now. Cross-border travel for health reasons is a $40 billion market and growing at over 15% a year.<br>There are millions people who suffer from pain due to long waiting queues, very high treatment cost or unavailability of treatment. On the other side there is unutilized capacity of Quality Health Care providers in India.<br>Thanks to Internet and Technology.It has made possible to bridge this gap. It is our constant endeavor to make it smoother.<br>"
  
["medicalServiceLink"] => string(76"http://www.verityconsultancy.com/site/About-Us/Our-Company/Directors-Message"
  
["honestyText"] => string(74"Honesty is the soul of business" we promise honest solution to your needs."
  ["
integrityText"] => string(70) "Honouring our responsibilities and the commitments that we have made"
  ["
reliabilityText"] => string(86) "You are in safe hands with our well placed systems managed by qualified professionals."
}
$_COOKIE Variables array(0) {
}

BACK TO TOP