首页 分享 PHP warning

PHP warning

来源:萌宠菠菠乐园 时间:2024-10-29 20:10
#0

+

 /home/wwwroot/adopt/web/framework/web/CBaseController.php(133): require("/home/wwwroot/adopt/web/protected/views/product/detail.php")

128 $data = $_data_; 129 } 130 if ($_return_) { 131 ob_start(); 132 ob_implicit_flush(false); 133 require $_viewFile_; 134 135 return ob_get_clean(); 136 } else { 137 require $_viewFile_; 138 } #1

+

 /home/wwwroot/adopt/web/framework/web/CBaseController.php(100): CBaseController->renderInternal("/home/wwwroot/adopt/web/protected/views/product/detail.php", array("product" => array(), "productRel" => array(array("id" => "735", "sex" => "公", "name" => "杨建黑 公", "cat_dog" => "猫", ...), array("id" => "716", "sex" => "公", "name" => "米菲 公", "cat_dog" => "猫", ...))), true)

095 { 096 $widgetCount = count($this->_widgetStack); 097 if (($renderer = Yii::app()->getViewRenderer()) !== null && $renderer->fileExtension === '.'.CFileHelper::getExtension($viewFile)) { 098 $content = $renderer->renderFile($this, $viewFile, $data, $return); 099 } else { 100 $content = $this->renderInternal($viewFile, $data, $return); 101 } 102 if (count($this->_widgetStack) === $widgetCount) { 103 return $content; 104 } else { 105 $widget = end($this->_widgetStack); #2

+

 /home/wwwroot/adopt/web/framework/web/CController.php(940): CBaseController->renderFile("/home/wwwroot/adopt/web/protected/views/product/detail.php", array("product" => array(), "productRel" => array(array("id" => "735", "sex" => "公", "name" => "杨建黑 公", "cat_dog" => "猫", ...), array("id" => "716", "sex" => "公", "name" => "米菲 公", "cat_dog" => "猫", ...))), true)

935 * @see render 936 */ 937 public function renderPartial($view, $data = null, $return = false, $processOutput = false) 938 { 939 if (($viewFile = $this->getViewFile($view)) !== false) { 940 $output = $this->renderFile($viewFile, $data, true); 941 if ($processOutput) { 942 $output = $this->processOutput($output); 943 } 944 if ($return) { 945 return $output; #3

+

 /home/wwwroot/adopt/web/framework/web/CController.php(839): CController->renderPartial("detail", array("product" => array(), "productRel" => array(array("id" => "735", "sex" => "公", "name" => "杨建黑 公", "cat_dog" => "猫", ...), array("id" => "716", "sex" => "公", "name" => "米菲 公", "cat_dog" => "猫", ...))), true)

834 * @see getLayoutFile 835 */ 836 public function render($view, $data = null, $return = false) 837 { 838 if ($this->beforeRender($view)) { 839 $output = $this->renderPartial($view, $data, true); 840 if (($layoutFile = $this->getLayoutFile($this->layout)) !== false) { 841 $output = $this->renderFile($layoutFile, array('content' => $output), true); 842 } 843 844 $this->afterRender($view, $output); #4

+

 /home/wwwroot/adopt/web/protected/components/Controller.php(82): CController->render("detail", array("product" => array(), "productRel" => array(array("id" => "735", "sex" => "公", "name" => "杨建黑 公", "cat_dog" => "猫", ...), array("id" => "716", "sex" => "公", "name" => "米菲 公", "cat_dog" => "猫", ...))), false)

77 } 78 79 if ($return) { 80 return parent::render($view, $data, $return); 81 } else { 82 parent::render($view, $data, $return); 83 } 84 } 85 86 //常规跳转页面 87 public function customRedirect($message, $url = '', $time = 3, $is_get = false) #5

+

 /home/wwwroot/adopt/web/protected/controllers/ProductController.php(62): Controller->render("detail", array("product" => array(), "productRel" => array(array("id" => "735", "sex" => "公", "name" => "杨建黑 公", "cat_dog" => "猫", ...), array("id" => "716", "sex" => "公", "name" => "米菲 公", "cat_dog" => "猫", ...))))

57 //获取未领养宠物信息 58 $productRel = Product::getRandFromProduct(0,2,Product::ADOPTION_NO,$language); 59 60 $this->render('detail',array( 61 'product' => $productInfo, 62 'productRel' => $productRel, 63 )); 64 65 } 66 67 #6

+

 /home/wwwroot/adopt/web/framework/web/actions/CInlineAction.php(54): ProductController->actionDetail()

49 $controller = $this->getController(); 50 $method = new ReflectionMethod($controller, $methodName); 51 if ($method->getNumberOfParameters() > 0) { 52 return $this->runWithParamsInternal($controller, $method, $params); 53 } else { 54 return $controller->$methodName(); 55 } 56 } 57 } #7

+

 /home/wwwroot/adopt/web/framework/web/CController.php(316): CInlineAction->runWithParams(array("id" => "527"))

311 public function runAction($action) 312 { 313 $priorAction = $this->_action; 314 $this->_action = $action; 315 if ($this->beforeAction($action)) { 316 if ($action->runWithParams($this->getActionParams()) === false) { 317 $this->invalidActionParams($action); 318 } else { 319 $this->afterAction($action); 320 } 321 } #8

+

 /home/wwwroot/adopt/web/framework/web/CController.php(295): CController->runAction(CInlineAction)

290 * @see runAction 291 */ 292 public function runActionWithFilters($action, $filters) 293 { 294 if (empty($filters)) { 295 $this->runAction($action); 296 } else { 297 $priorAction = $this->_action; 298 $this->_action = $action; 299 CFilterChain::create($this, $action, $filters)->run(); 300 $this->_action = $priorAction; #9

+

 /home/wwwroot/adopt/web/framework/web/CController.php(272): CController->runActionWithFilters(CInlineAction, array())

267 if (($action = $this->createAction($actionID)) !== null) { 268 if (($parent = $this->getModule()) === null) { 269 $parent = Yii::app(); 270 } 271 if ($parent->beforeControllerAction($this, $action)) { 272 $this->runActionWithFilters($action, $this->filters()); 273 $parent->afterControllerAction($this, $action); 274 } 275 } else { 276 $this->missingAction($actionID); 277 } #10

+

 /home/wwwroot/adopt/web/framework/web/CWebApplication.php(293): CController->run("detail")

288 if (($ca = $this->createController($route)) !== null) { 289 list($controller, $actionID) = $ca; 290 $oldController = $this->_controller; 291 $this->_controller = $controller; 292 $controller->init(); 293 $controller->run($actionID); 294 $this->_controller = $oldController; 295 } else { 296 throw new CHttpException(404, Yii::t('yii', 'Unable to resolve the request "{route}".', 297 array('{route}' => $route === '' ? $this->defaultController : $route))); 298 } #11

+

 /home/wwwroot/adopt/web/framework/web/CWebApplication.php(144): CWebApplication->runController("product/detail")

139 $_GET[$name] = $value; 140 } 141 } else { 142 $route = $this->getUrlManager()->parseUrl($this->getRequest()); 143 } 144 $this->runController($route); 145 } 146 147 /** 148 * Registers the core application components. 149 * This method overrides the parent implementation by registering additional core components. #12

+

 /home/wwwroot/adopt/web/framework/base/CApplication.php(182): CWebApplication->processRequest()

177 { 178 if ($this->hasEventHandler('onBeginRequest')) { 179 $this->onBeginRequest(new CEvent($this)); 180 } 181 register_shutdown_function(array($this, 'end'), 0, false); 182 $this->processRequest(); 183 if ($this->hasEventHandler('onEndRequest')) { 184 $this->onEndRequest(new CEvent($this)); 185 } 186 } 187 #13

+

 /home/wwwroot/adopt/web/public/index.php(34): CApplication->run()

29 ini_set('session.name', 'PHPSESSID'); 30 ini_set('date.timezone', 'Asia/Shanghai'); 31 32 include SERVER_ROOT.'framework/YiiBase.php'; 33 require SERVER_ROOT.'protected/extensions/yii.php'; 34 Yii::createWebApplication($config)->run();

相关知识

D:\程序\qiu ren bian hao .c(20) : warning C4133: '=' : incompatible types
(php毕业设计源码)基于php宠物爱好者交流平台管理系统
php添加openssl扩展
PHP学习笔记2——变量
php基础2
php bom去除工具
Database Error
基于php宠物爱好者交流平台管理系统
PHP爬虫:获取商品SKU详细信息的利器
基于PHP的猫咪宠物网

网址: PHP warning https://www.mcbbbk.com/newsview497477.html

所属分类:萌宠日常
上一篇: 九州宠物友好民宿
下一篇: qq宠物熊领养

推荐分享