top-think / thinkphp

ThinkPHP3.2 ——基于PHP5的简单快速的面向对象的PHP框架
http://www.thinkphp.cn
2.9k stars 1.5k forks source link

Can not use smarty with thinkphp group module. #30

Open wangking717 opened 11 years ago

wangking717 commented 11 years ago

When use thinkphp group module with ThinkTemplate, it works fine.

But when use smarty as replacement, it can not work as follow:

exception 'SmartyException' with message 'Unable to load template file 'Index/index.html'' in D:\www\ThinkPHP\Extend\Vendor\Smarty\sysplugins\smarty_internal_templatebase.php:127 Stack trace: #0

I check git lastest thinkphp core file, but still have that problem, can you check whether check out your lastest file to git server? or never slove that problem, please tell me when you slove that issue,thanks . my email: wangking717@qq.com

mako0403 commented 11 years ago

可以正常工作, 我目前用的是THINKPHP3.1.2 和 SMARTY 3.1.8, 没有问题, 如果有问题,还是因为驱动文件没有配置好的过, 注意开始结束标签, 模板编译和缓存目录配置