object(mysqli)#1 (18) { ["affected_rows"]=> int(0) ["client_info"]=> string(14) "mysqlnd 7.4.33" ["client_version"]=> int(70433) ["connect_errno"]=> int(0) ["connect_error"]=> NULL ["errno"]=> int(0) ["error"]=> string(0) "" ["error_list"]=> array(0) { } ["field_count"]=> int(0) ["host_info"]=> string(13) "db via TCP/IP" ["info"]=> NULL ["insert_id"]=> int(0) ["server_info"]=> string(6) "8.0.43" ["server_version"]=> int(80043) ["sqlstate"]=> string(5) "00000" ["protocol_version"]=> int(10) ["thread_id"]=> int(352) ["warning_count"]=> int(0) } object(mysqli)#75 (18) { ["affected_rows"]=> int(0) ["client_info"]=> string(14) "mysqlnd 7.4.33" ["client_version"]=> int(70433) ["connect_errno"]=> int(0) ["connect_error"]=> NULL ["errno"]=> int(0) ["error"]=> string(0) "" ["error_list"]=> array(0) { } ["field_count"]=> int(0) ["host_info"]=> string(13) "db via TCP/IP" ["info"]=> NULL ["insert_id"]=> int(0) ["server_info"]=> string(6) "8.0.43" ["server_version"]=> int(80043) ["sqlstate"]=> string(5) "00000" ["protocol_version"]=> int(10) ["thread_id"]=> int(353) ["warning_count"]=> int(0) } PHP warning

PHP warning

ini_set(): Headers already sent. You cannot change the session module's ini settings at this time

/var/www/html/yii/framework/web/CHttpSession.php(343)

331      * @return integer the number of seconds after which data will be seen as 'garbage' and cleaned up, defaults to 1440 seconds.
332      */
333     public function getTimeout()
334     {
335         return (int)ini_get('session.gc_maxlifetime');
336     }
337 
338     /**
339      * @param integer $value the number of seconds after which data will be seen as 'garbage' and cleaned up
340      */
341     public function setTimeout($value)
342     {
343         ini_set('session.gc_maxlifetime',$value);
344     }
345 
346     /**
347      * Session open handler.
348      * This method should be overridden if {@link useCustomStorage} is set true.
349      * Do not call this method directly.
350      * @param string $savePath session save path
351      * @param string $sessionName session name
352      * @return boolean whether session is opened successfully
353      */
354     public function openSession($savePath,$sessionName)
355     {

Stack Trace

#5
+
 /var/www/html/protected/components/Controller.php(102): CModule->__get("session")
097         date_default_timezone_set('Asia/Tokyo');
098         $reurl=Yii::app()->request->requestUri;
099 
100         if($reurl!="/user/login")
101         {
102               Yii::app()->session['previousURL']=$reurl;
103         }
104 
105         $this->setCartItemCount();
106     }
107 }
#6
+
 /var/www/html/protected/controllers/SearchController.php(35): Controller->init()
30         '20060'     => array('name' => 'Manga / Animation'),
31         '26084'     => array('name' => 'Other'),
32     );
33 
34     public function init() {
35         parent::init();
36         $news = News::model()->findAll(array(
37             'condition' => 'deleted!=1',
38             'order' => 'modified DESC',
39             'limit' => 1,
40         ));
#10
+
 /var/www/html/index.php(17): CApplication->run()
12 defined('YII_DEBUG') or define('YII_DEBUG', true);
13 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
14 
15 require_once $yii;
16 require 'config.php';
17 Yii::createWebApplication($config)->run();
2025-10-01 16:27:21 Apache/2.4.54 (Debian) Yii Framework/1.1.13