LifeType 中文開發論壇

開發 => 外掛程式 => 主題作者是: frankie 於 十一月 24, 2006, 01:37:14 下午



主題: 为什么上传了插件后,出现问题了呢?
作者: frankie十一月 24, 2006, 01:37:14 下午
在每个页面的上方都有这些出现:


Exception message: Invalid argument supplied for foreach()
Error code: 2
-- Backtrace --
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/plugins/adminnotifier/pluginadminnotifier.class.php(38): registerevents
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/plugins/adminnotifier/pluginadminnotifier.class.php(28): pluginadminnotifier.registerevents
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/class/plugin/pluginmanager.class.php(169): pluginadminnotifier.pluginadminnotifier
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/index.php(39): pluginmanager.loadplugins

Exception message: Cannot modify header information - headers already sent by (output started at /usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/class/object/exception.class.php:37)
Error code: 2
-- Backtrace --
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/class/view/view.class.php(316): header
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/class/view/smartyview.class.php(179): view.render
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/class/view/blogview.class.php(224): smartyview.render
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/class/view/defaultview.class.php(82): blogview.render
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/class/controller/controller.class.php(329): defaultview.render
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/index.php(42): blogcontroller.process

Exception message: Cannot modify header information - headers already sent by (output started at /usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/class/object/exception.class.php:37)
Error code: 2
-- Backtrace --
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/class/view/view.class.php(177): header
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/class/view/view.class.php(318): defaultview.sendcontenttype
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/class/view/smartyview.class.php(179): view.render
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/class/view/blogview.class.php(224): smartyview.render
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/class/view/defaultview.class.php(82): blogview.render
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/class/controller/controller.class.php(329): defaultview.render
/usr/local/psa/home/vhosts/teamshopping.cn/httpdocs/index.php(42): blogcontroller.process


请帮助我!

在线等!


主題: Re: 为什么上传了插件后,出现问题了呢?
作者: markwu十一月 24, 2006, 02:53:53 下午
我不知道你是用哪一版的 LifeType,以及是不是使用正確對應版本的 plugin。

看起來是 adminnotifier 這一個 plugin 在你安裝的 LifeType 上發生錯誤。

請你先把他移除,應該就可以了。

Mark