PHP warning

Cannot modify header information - headers already sent by (output started at /home/ducistech/innovationsinc.in/html/index.php:1)

/home/ducistech/innovationsinc.in/html/website/framework/web/CHttpRequest.php(763)

751     /**
752      * Redirects the browser to the specified URL.
753      * @param string $url URL to be redirected to. If the URL is a relative one, the base URL of
754      * the application will be inserted at the beginning.
755      * @param boolean $terminate whether to terminate the current application
756      * @param integer $statusCode the HTTP status code. Defaults to 302. See {@link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html}
757      * for details about HTTP status code.
758      */
759     public function redirect($url,$terminate=true,$statusCode=302)
760     {
761         if(strpos($url,'/')===0)
762             $url=$this->getHostInfo().$url;
763         header('Location: '.$url, true, $statusCode);
764         if($terminate)
765             Yii::app()->end();
766     }
767 
768     /**
769      * Returns the user preferred language.
770      * The returned language ID will be canonicalized using {@link CLocale::getCanonicalID}.
771      * This method returns false if the user does not have language preference.
772      * @return string the user preferred language.
773      */
774     public function getPreferredLanguage()
775     {

Stack Trace

#13
+
 /home/ducistech/innovationsinc.in/html/index.php(14): CApplication->run()
09 defined('YII_DEBUG') or define('YII_DEBUG',true);
10 // specify how many levels of call stack should be shown in each log message
11 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
12 
13 require_once($yii);
14 Yii::createWebApplication($config)->run();
2025-12-04 06:48:29 Apache Yii Framework/1.1.12