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

                )

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

                )

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

                )

            [
3] => Array
                (
                    [
file] => /nri/svn/platform/dooframework/app/DooWebApp.php
                    
[line] => 88
                    
[function] => navigate
                    
[class] => homeController
                    
[type] => ->
                    [
args] => Array
                        (
                        )

                )

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

                )

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

                )

        )

    [
previous:Exception:private] => 
)


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


object(DooConfig)#1 (52) {
  
["SITE_PATH"] => string(9"/nri/www/"
  
["PROTECTED_FOLDER"] => string(10"protected/"
  
["BASE_PATH"] => string(22"/nri/www/dooframework/"
  
["LOG_PATH"] => NULL
  
["APP_URL"] => string(25"http://www.mynriclub.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(35"http://www.mynriclub.com/global/js/"
  
["CSS_PATH"] => string(36"http://www.mynriclub.com/global/css/"
  
["IMG_PATH"] => string(36"http://www.mynriclub.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(25"/nri/www/protected/model/"
  
["FC_LIKE_BUTTON"] => string(368"<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FMy-NRI-Club%2F120215888012649&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(146"<a href="http://www.twitter.com/mynriclub"><img src="http://www.mynriclub.com/global/img//follow_me-a.png" alt="Follow mynriclub on Twitter"/></a>"
  
["activationCardBenefitsLink"] => string(1"#"
  
["activationCardPurchaseLink"] => string(1"#"
  
["ActivationCardHashCode"] => string(11"avinashi123"
  
["ActivationCardApiLink"] => string(36"http://activation.mynriclub.com/api/"
  
["SMS_NRICLUB_LINK"] => string(24"http://sms.mynriclub.com"
  
["SMSBenefitsLink"] => string(1"#"
  
["SMSPackagesLink"] => string(12"sms/packages"
  
["DemoSMSPackageLink"] => string(16"sms/package/1001"
  
["DiwaliSMSPackageLink"] => string(16"sms/package/1002"
  
["MonthSMSPackageLink"] => string(16"sms/package/1003"
  
["YearSMSPackageLink"] => string(16"sms/package/1004"
  
["SMSBrainHashCode"] => string(32"9012fb730189e536ac36fab407c6d580"
  
["SMSBrainApiLink"] => string(47"http://sms.mynriclub.com/APIs/1.1/provisioning/"
  
["SMSBrainMigrateUserApiLink"] => string(62"http://sms.mynriclub.com/APIs/1.1/provisioning/migrateUser.php"
  
["SMSBrainChangePasswordApiLink"] => string(65"http://sms.mynriclub.com/APIs/1.1/provisioning/changePassword.php"
  
["SMSBrainAssignCreditsApiLink"] => string(64"http://sms.mynriclub.com/APIs/1.1/provisioning/assignCredits.php"
  
["SMSBrainGetCreditStatusApiLink"] => string(66"http://sms.mynriclub.com/APIs/1.1/provisioning/getCreditStatus.php"
  
["SMSBrainLoginApiLink"] => string(51"http://sms.mynriclub.com/APIs/1.1/account/login.php"
  
["demoPackageId"] => string(4"1001"
  
["diwaliPackageId"] => string(4"1002"
  
["monthPackageId"] => string(4"1003"
  
["yearPackageId"] => string(4"1004"
  
["adminEmailId"] => string(46"nil@verityconsultancy.com,alerts@mynriclub.com"
  
["fixedSeoText"] => string(864"Cherish your loved ones in India. Online delivery of Gifts & Flowers to India was never easy before. Now you can <b>send gifts to India, send flowers to India, send cakes to India , send chocolates to India, send teddy to India</b> with our <b>online Gifts to India</b>. We deliver <b>Gifts, Chocolates, Sweets, Flowers, Cakes to India</b> for all occasions and festival such as <b>Birthday, Wedding, Anniversary, Diwali Gifts, Christmas Gifts, New Year Gifts, Valentine's Day Gifts, Holi Gifts, Mother's Day Gifts, Father's Day Gifts, Friendship Day Gifts, Rakhi Gifts</b> etc. In order to serve you better we have <b>Same day delivery, Midnight delivery, Schedule delivery and Express delivery</b> options to <b>send flowers to India and send gifts to India.</b> We deliver <b>gifts to India</b> in more than 2000 towns and cities. Book your order <b>online.</b>"
  
["dayOccationTitleTag"] => string(79"$title Flowers to India, Send Gifts to India, Cakes to India, Same day delivery"
  
["categoryTitleTag"] => string(113"$title to India, Send Flower, Gifts to India, Send Cakes to India, Same day delivery, Birthday gifts, Anniversary"
  
["gtiHomeTitleTag"] => string(96"Send Flower, Gifts to India, Send Cakes to India, Same day delivery, Birthday gifts, Anniversary"
}
$_COOKIE Variables array(0) {
}

BACK TO TOP