See file /var/www/html/index.php


+ Error on line 37

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.
//spl_autoload_register('Doo::autoload');

//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;

//Doo::loadClass('Session');

//Session::startSession();

# Uncomment for DB profiling
//Doo::logger()->beginDbProfile('doowebsite');
Doo::app()->run();


//Session::endSession();

//Doo::logger()->endDbProfile('doowebsite');
//Doo::logger()->rotateFile(20);
//Doo::logger()->writeDbProfiles();
?>


* Stack Trace...


ParseError Object
(
    [
message:protected] => syntax errorunexpected end of file
    
[string:Error:private] => 
    [
code:protected] => 0
    
[file:protected] => /var/www/html/protected/viewc/public/portfolio-list.php
    
[line:protected] => 91
    
[trace:Error:private] => Array
        (
            [
0] => Array
                (
                    [
file] => /var/www/html/dooframework/controller/DooController.php
                    
[line] => 233
                    
[function] => renderc
                    
[class] => DooView
                    
[type] => ->
                )

            [
1] => Array
                (
                    [
file] => /var/www/html/protected/controller/public/PortfolioController.php
                    
[line] => 75
                    
[function] => renderc
                    
[class] => DooController
                    
[type] => ->
                )

            [
2] => Array
                (
                    [
file] => /var/www/html/dooframework/app/DooWebApp.php
                    
[line] => 114
                    
[function] => portfolioList
                    
[class] => PortfolioController
                    
[type] => ->
                )

            [
3] => Array
                (
                    [
file] => /var/www/html/dooframework/app/DooWebApp.php
                    
[line] => 34
                    
[function] => routeTo
                    
[class] => DooWebApp
                    
[type] => ->
                )

            [
4] => Array
                (
                    [
file] => /var/www/html/index.php
                    
[line] => 37
                    
[function] => run
                    
[class] => DooWebApp
                    
[type] => ->
                )

        )

    [
previous:Error:private] => 
)


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

$_SESSION Variables
array(2) {
  [
"language"] => string(3"com"
  
["category"] => string(0""
}
$_COOKIE Variables array(0) {
}

BACK TO TOP