помогите разобраться ,чего не хватает в3гхстату всё настроено по реадми ,но сама стата не показывает стату пишет с включенным дебагом пишет это Код: PHP error Only variables should be passed by reference C:\APPServ\htdocs\index\app\runtime\views\5acb495e\main.php(100) 088 </div> 089 090 <?=CHtml::tag('h1',array('class'=>'title'),$this->title)?> 091 092 <?=$content; ?> 093 094 <footer id="footer" class="footer row"> 095 096 <div class="span10"> 097 <ul class="inline links unstyled"> 098 <li><?= __('app','{time} sec',array('{time}'=>sprintf('%0.5f',Yii::getLogger()->executionTime))); ?></li> 099 <li><?= __('app', '{mem} MB',array('{mem}'=>number_format(Yii::getLogger()->memoryUsage/1024))); ?></li> 100 <li><?= __('app', '{query} queries',array('{query}'=>array_shift(app()->db->getStats())))?></li> 101 </ul> 102 </div> 103 104 <div class="span6"> 105 Copyright © <?php echo date('Y'); ?> by JiLiZART.<br/> 106 All Rights Reserved.<br/> 107 <?= Yii::powered(); ?> 108 109 </div> 110 111 <a class="btn btn-top" href="#" title="Back to top"><i class="icon-arrow-up"></i></a> 112 </footer><!-- footer --> Stack Trace C:\APPServ\htdocs\index\app\framework\web\CBaseController.php(127): require("C:\APPServ\htdocs\index\app\runtime\views\5acb495e\main.php") 122 $data=$_data_; 123 if($_return_) 124 { 125 ob_start(); 126 ob_implicit_flush(false); 127 require($_viewFile_); 128 return ob_get_clean(); 129 } 130 else 131 require($_viewFile_); 132 } C:\APPServ\htdocs\index\app\framework\web\renderers\CViewRenderer.php(76): CBaseController->renderInternal("C:\APPServ\htdocs\index\app\runtime\views\5acb495e\main.php", array("content" => " <!-- sidebar --> <div id="content" class="row-fluid"> ..."), true) 71 if(@filemtime($sourceFile)>@filemtime($viewFile)) 72 { 73 $this->generateViewFile($sourceFile,$viewFile); 74 @chmod($viewFile,$this->filePermission); 75 } 76 return $context->renderInternal($viewFile,$data,$return); 77 } 78 79 /** 80 * Generates the resulting view file path. 81 * @param string $file source view file path C:\APPServ\htdocs\index\app\framework\web\CBaseController.php(94): CViewRenderer->renderFile(DefaultController, "C:\APPServ\htdocs\index\themes\classic\views//layouts/main.php", array("content" => " <!-- sidebar --> <div id="content" class="row-fluid"> ..."), true) 89 */ 90 public function renderFile($viewFile,$data=null,$return=false) 91 { 92 $widgetCount=count($this->_widgetStack); 93 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 94 $content=$renderer->renderFile($this,$viewFile,$data,$return); 95 else 96 $content=$this->renderInternal($viewFile,$data,$return); 97 if(count($this->_widgetStack)===$widgetCount) 98 return $content; 99 else C:\APPServ\htdocs\index\app\framework\web\widgets\CContentDecorator.php(77): CBaseController->renderFile("C:\APPServ\htdocs\index\themes\classic\views//layouts/main.php", array("content" => " <!-- sidebar --> <div id="content" class="row-fluid"> ..."), true) 72 $viewFile=$owner->getViewFile($this->view); 73 if($viewFile!==false) 74 { 75 $data=$this->data; 76 $data['content']=$content; 77 return $owner->renderFile($viewFile,$data,true); 78 } 79 else 80 return $content; 81 } 82 } C:\APPServ\htdocs\index\app\framework\web\widgets\CContentDecorator.php(55): CContentDecorator->decorate(" <!-- sidebar --> <div id="content" class="row-fluid"> ...") 50 * This method decorates the output with the specified {@link view}. 51 * @param string $output the captured output to be processed 52 */ 53 public function processOutput($output) 54 { 55 $output=$this->decorate($output); 56 parent::processOutput($output); 57 } 58 59 /** 60 * Decorates the content by rendering a view and embedding the content in it. C:\APPServ\htdocs\index\app\framework\web\widgets\COutputProcessor.php(45): CContentDecorator->processOutput(" <!-- sidebar --> <div id="content" class="row-fluid"> ...") 40 * This method stops output buffering and processes the captured output. 41 */ 42 public function run() 43 { 44 $output=ob_get_clean(); 45 $this->processOutput($output); 46 } 47 48 /** 49 * Processes the captured output. 50 * C:\APPServ\htdocs\index\app\framework\web\CBaseController.php(207): COutputProcessor->run() 202 */ 203 public function endWidget($id='') 204 { 205 if(($widget=array_pop($this->_widgetStack))!==null) 206 { 207 $widget->run(); 208 return $widget; 209 } 210 else 211 throw new CException(Yii::t('yii','{controller} has an extra endWidget({id}) call in its view.', 212 array('{controller}'=>get_class($this),'{id}'=>$id))); C:\APPServ\htdocs\index\app\framework\web\CBaseController.php(301): CBaseController->endWidget("CContentDecorator") 296 * Ends the rendering of content. 297 * @see beginContent 298 */ 299 public function endContent() 300 { 301 $this->endWidget('CContentDecorator'); 302 } 303 } C:\APPServ\htdocs\index\app\runtime\views\5acb495e\column2.php(27): CBaseController->endContent() 22 <?php endif?> 23 24 <?= $content; ?> 25 </div><!-- content --> 26 27 <?php $this->endContent(); ?> C:\APPServ\htdocs\index\app\framework\web\CBaseController.php(127): require("C:\APPServ\htdocs\index\app\runtime\views\5acb495e\column2.php") 122 $data=$_data_; 123 if($_return_) 124 { 125 ob_start(); 126 ob_implicit_flush(false); 127 require($_viewFile_); 128 return ob_get_clean(); 129 } 130 else 131 require($_viewFile_); 132 } C:\APPServ\htdocs\index\app\framework\web\renderers\CViewRenderer.php(76): CBaseController->renderInternal("C:\APPServ\htdocs\index\app\runtime\views\5acb495e\column2.php", array("content" => "<div class="news-list"> <div id="yw0" class="list-view"> <div c..."), true) 71 if(@filemtime($sourceFile)>@filemtime($viewFile)) 72 { 73 $this->generateViewFile($sourceFile,$viewFile); 74 @chmod($viewFile,$this->filePermission); 75 } 76 return $context->renderInternal($viewFile,$data,$return); 77 } 78 79 /** 80 * Generates the resulting view file path. 81 * @param string $file source view file path C:\APPServ\htdocs\index\app\framework\web\CBaseController.php(94): CViewRenderer->renderFile(DefaultController, "C:\APPServ\htdocs\index\themes\classic\views//layouts/column2.ph...", array("content" => "<div class="news-list"> <div id="yw0" class="list-view"> <div c..."), true) 89 */ 90 public function renderFile($viewFile,$data=null,$return=false) 91 { 92 $widgetCount=count($this->_widgetStack); 93 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 94 $content=$renderer->renderFile($this,$viewFile,$data,$return); 95 else 96 $content=$this->renderInternal($viewFile,$data,$return); 97 if(count($this->_widgetStack)===$widgetCount) 98 return $content; 99 else .... и куча дальше кода которые не вмещаются в 10000символов форума
В php.ini передай директиве error_reporting в качестве значения E_ALL & ~E_DEPRECATED & ~E_STRICT: Код: error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT или отключи вывод сообщений об ошибках на экран: Код: display_errors = Off
пздц , как ты пришел к этому выводу ? почему на дос или аллстатс всё гуд ,а тут такая шляпа с пхп.ини
Первая DOSбыла сделана с использованием кода на школьном уровне, поэтому там и нет. Тут она есть, и во DOS 2.0 такая штука тоже есть.