doumao1887 2011-03-25 13:05
浏览 120

运行下载的smarty文件夹的演示程序时出错

I downloaded the smarty folder from http://www.smarty.net/download version 3.0.7 and put on my server and while accessing demo folder in browser .

I am getting this errro .

Warning: rename(/tmp/wrtt13wnb,./templates_c/c0360d049dff10f364dfc53ba2cc3958abf6ee6d.file.index.tpl.cache.php) [function.rename]: Permission denied in /home/abhijitnair/sandbox/smarty/libs/sysplugins/smarty_internal_write_file.php on line 48

Warning: chmod() [function.chmod]: No such file or directory in /home/abhijitnair/sandbox/smarty/libs/sysplugins/smarty_internal_write_file.php on line 50

Warning: rename(/tmp/wrtWubd2j,./cache/c0360d049dff10f364dfc53ba2cc3958abf6ee6d.index.tpl.php) [function.rename]: Permission denied in /home/abhijitnair/sandbox/smarty/libs/sysplugins/smarty_internal_write_file.php on line 48

Warning: chmod() [function.chmod]: No such file or directory in /home/abhijitnair/sandbox/smarty/libs/sysplugins/smarty_internal_write_file.php on line 50

Warning: filemtime() [function.filemtime]: stat failed for ./cache/c0360d049dff10f364dfc53ba2cc3958abf6ee6d.index.tpl.php in /home/abhijitnair/sandbox/smarty/libs/sysplugins/smarty_internal_cacheresource_file.php on line 101

Warning: include(./templates_c/c0360d049dff10f364dfc53ba2cc3958abf6ee6d.file.index.tpl.cache.php) [function.include]: failed to open stream: No such file or directory in /home/abhijitnair/sandbox/smarty/libs/sysplugins/smarty_internal_template.php on line 432

Warning: include() [function.include]: Failed opening './templates_c/c0360d049dff10f364dfc53ba2cc3958abf6ee6d.file.index.tpl.cache.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/abhijitnair/sandbox/smarty/libs/sysplugins/smarty_internal_template.php on line 432

Warning: rename(/tmp/wrtQpvH8s,./templates_c/580a944f30953901435aa737c0133754df266982.file.debug.tpl.php) [function.rename]: Permission denied in /home/abhijitnair/sandbox/smarty/libs/sysplugins/smarty_internal_write_file.php on line 48

Warning: chmod() [function.chmod]: No such file or directory in /home/abhijitnair/sandbox/smarty/libs/sysplugins/smarty_internal_write_file.php on line 50

Warning: include(./templates_c/580a944f30953901435aa737c0133754df266982.file.debug.tpl.php) [function.include]: failed to open stream: No such file or directory in /home/abhijitnair/sandbox/smarty/libs/sysplugins/smarty_internal_template.php on line 432

Warning: include() [function.include]: Failed opening './templates_c/580a944f30953901435aa737c0133754df266982.file.debug.tpl.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/abhijitnair/sandbox/smarty/libs/sysplugins/smarty_internal_template.php on line 432

why this error is coming ? i think this is due to rights issue on server. so i runned on local host and got this error ?

Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Calcutta' for '5.5/no DST' instead in C:\xampp\htdocs\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 59
/*%%SmartyNocache:296464d8c96c53cd200-63959490%%*//*/%%SmartyNocache:296464d8c96c53cd200-63959490%%*/
Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Calcutta' for '5.5/no DST' instead in C:\xampp\htdocs\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 59

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template ".\templates\header.tpl" on line 3 "{popup_init src="/javascripts/overlib.js"}" unknown tag "popup_init"' in C:\xampp\htdocs\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php:431 Stack trace: #0 C:\xampp\htdocs\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php(253): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "po...', 3) #1 C:\xampp\htdocs\smarty\libs\sysplugins\smarty_internal_templateparser.php(2319): Smarty_Internal_TemplateCompilerBase->compileTag('popup_init', Array) #2 C:\xampp\htdocs\smarty\libs\sysplugins\smarty_internal_templateparser.php(2812): Smarty_Internal_Templateparser->yy_r35() #3 C:\xampp\htdocs\smarty\libs\sysplugins\smarty_internal_templateparser.php(2912): Smarty_Internal_Templateparser->yy_reduce(35) #4 C:\xampp\htdocs\smarty\libs\sysplugins\smarty_internal_smartytemplatecompiler.php(51): Smarty_Internal_Templateparser->doParse(11, '?') in C:\xampp\htdocs\smarty\libs\sysplugins\smarty_internal_templatecompilerbase.php on line 431

why this errro coming on localhost ?

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 微信会员卡接入微信支付商户号收款
    • ¥15 如何获取烟草零售终端数据
    • ¥15 数学建模招标中位数问题
    • ¥15 phython路径名过长报错 不知道什么问题
    • ¥15 深度学习中模型转换该怎么实现
    • ¥15 HLs设计手写数字识别程序编译通不过
    • ¥15 Stata外部命令安装问题求帮助!
    • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
    • ¥15 TYPCE母转母,插入认方向
    • ¥15 如何用python向钉钉机器人发送可以放大的图片?