error coming while running demo program of downloaded smarty folder
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
War开发者_如何学编程ning: 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 ?
精彩评论