V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
awpshoot
V2EX  ›  PHP

找不到方法 smarty_modifier_capitalize,但是明明有。zendstudio 里面按住 crtl 键能进去这个模板里面的方法。

  •  
  •   awpshoot · 2016-04-15 19:46:11 +08:00 · 1391 次点击
    这是一个创建于 2934 天前的主题,其中的信息可能已经有所发展或是发生改变。

    今天调试 php 的时候,刚学到那个 smarty 模板的使用,其中有个变量调节器的示例代码(我在培训机构的 ftp 上面下载的),调试的时候发现不能运行,报错如下(那种黄颜色的在网页上面的报错):

    Fatal error: Call to undefined function smarty_modifier_capitalize() in D:\wamp\www\bbs_smary_02\templates_c\2258888f4c05573ede9683c1e81aecf6442868a9.file.var.html.php on line 52

    Call Stack

    Time

    Memory

    Function

    Location

    1 0.0080 138176 {main}( ) ..\var.php:0 2 1.0671 788136 Smarty_Internal_TemplateBase->display( ???, ???, ???, ??? ) ..\var.php:23 3 1.0671 790296 Smarty_Internal_TemplateBase->fetch( ???, ???, ???, ???, ???, ???, ??? ) ..\smarty_internal_templatebase.php:377 4 1.0691 831992 content_570c90b263ae12_11093913( ??? ) ..\smarty_internal_templatebase.php:182

    我在 zendstudio 里面按住 crtl 键能进去这个模板里面的方法,但是运行起来却找不到,这是为什么啊????

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1037 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 18:43 · PVG 02:43 · LAX 11:43 · JFK 14:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.