歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 20, 2024, 05:57:10 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  開發  |  外掛程式  |  使用gallery外掛,設定完後出現Fatal error: Only variables can be passed by reference « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 使用gallery外掛,設定完後出現Fatal error: Only variables can be passed by reference  (閱讀 8644 次)
riverpro
新手見習
*
文章: 1


檢視個人資料
« 於: 二月 28, 2007, 02:59:21 下午 »

在使用gallery plugin,上傳完畢並設定相關參數後,出現了
Fatal error: Only variables can be passed by reference in e:\lifetype\plugins\gallery\class\action\plugingalleryupdateconfigaction.class.php on line 137

而plugingalleryupdateconfigaction.class.php的137行為


 if(!$blogs->updateBlog( $this->_blogInfo->getId(), $this->_blogInfo ) )
       
        {
            $this->_view = new PluginGalleryConfigView( $this->_blogInfo );
            $this->_view->setErrorMessage( $this->_locale->tr( "error_updating_settings" ) );
            $this->setCommonData();
     
            return false;
       
   
        }
找了很多資料,有人說是php5的問題,不過我用的是appserv2.4.1,php版本為4.3.8
有人可以幫幫忙嗎?謝謝   
已記錄
twu2
初級會員
**
文章: 61



檢視個人資料 個人網站
« 回覆文章 #1 於: 二月 28, 2007, 05:49:48 下午 »

那是 php 設定的問題. 把 php.ini 中的 allow_call_time_pass_reference 設成 on 就可以了.
已記錄

頁: [1]
LifeType 中文開發論壇  |  開發  |  外掛程式  |  使用gallery外掛,設定完後出現Fatal error: Only variables can be passed by reference « 上篇主題 下篇主題 »
    前往: