当前位置:首页
开发技术指南» 文章正文
    引言:

    摘要: 如题 ......
 ·三层表中删除时触发器问题    »显示摘要«
    摘要: 当新增数据时把第三层表的数据累加到第二层表中是可以的,每次删除第三层表中一条记录时可以正确的把第二层表中的数量更新,但全部删除第三层表时就不能正确更新第二层表中的数量了。不知谁能帮我解答,谢谢 ......


Smarty入门问题

刚刚接触smarty,望各位指教。  
  我按照这篇入门文档测试了smarty  
  http://www.php5.idv.tw/documents/sm...rty20040209.htm  
   
  但是测试页面有些问题:  
   
  Warning:   Smarty::fetch(C:/Inetpub/wwwroot/  
  smartydemo/templates_c\%%6B^6B2^6B2BF9A3%%test.htm.php)  
    [function.fetch]:   failed   to   open   stream:   No   such   file   or   directory   in    
  c:\Inetpub\wwwroot\smartydemo\class\Smarty.class.php   on   line   1251  
   
  Warning:   Smarty::fetch()   [function.include]:   Failed   opening    
  C:/Inetpub/wwwroot/smartydemo/templates_c\%%6B^6B2^6B2BF9A3%%test.htm.php  
    for   inclusion   (include_path=.;c:\PHP\PEAR;)   in    
  c:\Inetpub\wwwroot\smartydemo\class\Smarty.class.php  
    on   line   1251  
  PHP   Warning:    
  Smarty::fetch(C:/Inetpub/wwwroot/smartydemo/templates_c\%%6B^6B2^6B2BF9A3%%test.htm.php)  
    [function.fetch]:   failed   to   open   stream:   No   such   file   or   directory   in    
  c:\Inetpub\wwwroot\smartydemo\class\Smarty.class.php  
    on   line   1251   PHP   Warning:   Smarty::fetch()    
  [function.include]:   Failed   opening   C:/Inetpub/wwwroot/smartydemo/templates_c\%%6B^6B2^6B2BF9A3%%test.htm.php  
    for   inclusion   (include_path=.;c:\PHP\PEAR;)   in    
  c:\Inetpub\wwwroot\smartydemo\class\Smarty.class.php   on   line   1251  
   
   
   
  我的配置是win2003   (IIS6)  
  php安装在C:\php下面  
  其中的include_path已经被我改为:  
  include_path   =   ".;c:\PHP\PEAR;"  
  smarty是官方的2.6.9版本  
   
  这个问题能帮我解决吗?先谢了!

NO.1   作者: bingofei

在templates的同级目录下再建templates_c目录


    摘要: 如上题所述,请大家帮忙啊! ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE