PHP warning

ini_set(): Session ini settings cannot be changed when a session is active

/customers/7/a/f/reportico.org/httpd.www/yiidemo/yii/framework/web/CHttpSession.php(88)

076      */
077     public $autoStart=true;
078 
079     /**
080      * Initializes the application component.
081      * This method is required by IApplicationComponent and is invoked by application.
082      */
083     public function init()
084     {
085         parent::init();
086 
087         // default session gc probability is 1%
088         ini_set('session.gc_probability',1);
089         ini_set('session.gc_divisor',100);
090 
091         if($this->autoStart)
092             $this->open();
093         register_shutdown_function(array($this,'close'));
094     }
095 
096     /**
097      * Returns a value indicating whether to use custom session storage.
098      * This method should be overriden to return true if custom session storage handler should be used.
099      * If returning true, make sure the methods {@link openSession}, {@link closeSession}, {@link readSession},
100      * {@link writeSession}, {@link destroySession}, and {@link gcSession} are overridden in child

Stack Trace

#6
+
 /customers/7/a/f/reportico.org/httpd.www/yiidemo/reportico/protected/modules/reportico/ReporticoModule.php(60): CModule->__get("user")
55             $this->engine->reportico_ajax_mode = 2;
56         }
57         $this->engine->embedded_report = true;
58         $this->engine->allow_debug = true;
59         $this->engine->framework_parent = "yii";
60         $this->engine->external_user = Yii::app()->user->id;
61 
62         // Set Joomla Database Access Config from configuration
63         if ( !defined("SW_FRAMEWORK_DB_DRIVER") )
64         {
65             // Extract Yii database elements from connection string 
#7
+
 /customers/7/a/f/reportico.org/httpd.www/yiidemo/reportico/protected/views/site/pages/runreport.php(30): ReporticoModule->getReporticoEngine()
25 <?php $this->endWidget();?>
26 
27 
28 <?php
29     $reportico = Yii::app()->getModule('reportico');
30     $engine = $reportico->getReporticoEngine();
31     $reportico->engine->initial_execute_mode = "EXECUTE";
32     $reportico->engine->initial_report = "salestotals.xml";
33     $reportico->engine->access_mode = "ONEREPORT";
34     $reportico->engine->initial_project = "northwind";
35     $reportico->engine->clear_reportico_session = true;
#20
+
 /customers/7/a/f/reportico.org/httpd.www/yiidemo/reportico/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2024-03-29 05:32:58 Apache Yii Framework/1.1.13