主題: 显示用户相片出错? 作者: php 於 十一月 29, 2006, 03:11:46 下午 HELP!
I add those code in "post.template:",then in summary page can show bloger's picture,it works well, I am very happy. Please see http://blog.jscsedu.com {assign var=blogOwner value=$blog->getOwnerInfo()} {if $blogOwner->hasPicture()} {assign var=picture value=$blogOwner->getPicture()} <img src="{$url->resourcePreviewLink($picture)}" border="1" width="50" /> {/if} BUT,when you view "summary.php?op=PostList", It can not show bloger's picture, only an "X".It show this error: http://blog.jscsedu.com/ Exception message: This function must be implemented by child classes. Error code: 0-- Backtrace --/home/zlf/blog/class/net/baserequestgenerator.class.php(493): throw /home/zlf/blog/tmp/summary/%%39^392^3922B7DE%%post.template.php(29): summaryrequestgenerator.resourcepreviewlink /home/zlf/blog/class/template/smarty/Smarty.class.php(1871): include /home/zlf/blog/tmp/summary/%%95^95E^95E2B2EA%%postslist.template.php(69): cachedtemplate._smarty_include /home/zlf/blog/class/template/smarty/Smarty.class.php(1265): include /home/zlf/blog/class/template/cachedtemplate.class.php(48): smarty.fetch /home/zlf/blog/class/summary/view/summarycachedview.class.php(100): cachedtemplate.fetch /home/zlf/blog/class/summary/view/summarycachedview.class.php(148): summarypostlistview.senduncachedoutput /home/zlf/blog/class/summary/view/summarypostlistview.class.php(95): summarycachedview.render /home/zlf/blog/class/controller/controller.class.php(330): summarypostlistview.render /home/zlf/blog/summary.php(40): summarycontroller.process Can everyone help me! Thanks a lot!! 主題: Re: 显示用户相片出错? 作者: php 於 十一月 30, 2006, 07:03:21 上午 已经有解决的方法了:
请见: http://forums.lifetype.net/viewtopic.php?p=31056#31056 感谢: phunkphorce jeanytu |