性夜影院爽黄a爽免费视_一级特黄aaa大片在_一级做a爰片久久毛片免费_奇米精品一区二区三区在线观看 - jizz国产

升級到2019年6月的版本后報錯。

創建時間:2019-09-28 17:15發布者:郭富城點擊數:2988
主頁下部顯示出錯
Fatal error: Smarty error: [in inc/online_service.tpl line 7]: syntax error: (secure mode) 'is_array' not allowed in if statement (smarty.class.php, line 1278) in /include/smarty.class.php on line 169

我查了169行代碼是 trigger_error("Smarty error: $error_msg", $error_type);

另外,升級后我發現DouPHP提示有5個可以更新,但是我點后跳轉到在線安裝模塊頁面無顯示。
回答 我也遇到這個問題(1)
郭富城2019-09-28 05:27回答
Fatal error: Smarty error: [in product.dwt line 39]: syntax error: (secure mode) 'is_array' not allowed in if statement (smarty.class.php, line 1278) in /include/smarty.class.php on line 169

1278行代碼是 $this->_syntax_error("(secure mode) '$token' not allowed in if statement", E_USER_ERROR, __FILE__, __LINE__);
有用(0) 沒用(0)
郭富城2019-09-28 05:53回答
1.
后臺報錯
Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /home/include/mysql.class.php on line 127

我查了一下 mysql.class.php 127行代碼是
return mysqli_fetch_array($query, $resulttype);

2.
主頁報錯
Fatal error: Smarty error: [in inc/online_service.tpl line 7]: syntax error: (secure mode) 'is_array' not allowed in if statement (smarty.class.php, line 1278) in /include/smarty.class.php on line 169

我查了smarty.class.php 169行代碼是 trigger_error("Smarty error: $error_msg", $error_type);
而online_service.tpl 第7行代碼是 <!-- {foreach from=$site.qq item=qq} -->
請問該如何修改?
有用(0) 沒用(0)
DouPHP官方技術2019-09-28 06:06回答
下載新版系統,然后將里面的 “theme/default/” 目錄覆蓋到你的站點,由于模板有做調整,所以舊版模板會提示這個錯誤
有用(1) 沒用(0)