Linux下 Smarty中的display显示问题 但是执行print_r($Smarty->template_dir); 这条出来了信息什么内容,贴出来 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 linux下是: /usr/local/nginx/test/Viewwindows下是:Array ( [0] => D:\wamp\www\KMBackgroud/View\ )怎么linux下和windows下打印出来的格式也不一样 不好意思,上面的错误的了,这个是linux下打印出来的。Array ( [0] => /usr/local/nginx/test/View/ ) 显示1Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /usr/local/nginx/test/Runtime/TemplatesCache_c/wrt4f694a4d12ab36.56330404' in /usr/local/nginx/test/Vender/Smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /usr/local/nginx/test/Vender/Smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/usr/local/ngin...', '<?php /* Smarty...', Object(Smarty)) #1 /usr/local/nginx/test/Vender/Smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /usr/local/nginx/test/Vender/Smarty/sysplugins/smarty_internal_templatebase.php(374): Smarty_Internal_TemplateBase->fetch('index.html', NULL, NULL, NULL, true) #3 /usr/local/nginx/test/Controller/ControllerBase.class.php(126): Smarty_Internal_TemplateBase->display('index.html', NULL, NULL, NULL) #4 /usr/local/nginx/test/Controller/ControllerLogin.class.php(21): ControllerBase->display('index.html') #5 /usr/local/nginx/test/Controller/ControllerBase.cl in /usr/local/nginx/test/Vender/Smarty/sysplugins/smarty_internal_write_file.php on line 44windows下面打印出来的Array ( [0] => D:\wamp\www\KMBackgroud/View\ ) 显示1 熊惠花 bbb linux smarty中display的内容不能显示,display之前的echo 能显示,之后的不能 楼上正解:在根目录下执行 chmod -R 777 templates_c/ 各朋友我想做一个作业随机生成系统,下面我问个文件操作的问题 求解释 急急 不知道有没有人用过“网博士智能建站系统"?怎么样? 请大家来帮忙,斑竹请看看 有没有什么简单地,一劳永逸地防止SQL注入的方法? ie 下无法登录问题,清除cookie 后正. 如何标记用户离线? 请问多维数组如何操作? 请问如何在框架网页中,点击超链接,同时链接到两个文件在两个不同的FRAME中打开 请教php通过odbc访问access数据库(写出例子者立刻送100分) 又一个难题,,数据有些联系,但不好做 PHP新手问:build path与include path什么区别?
linux下是: /usr/local/nginx/test/View
windows下是:Array ( [0] => D:\wamp\www\KMBackgroud/View\ )怎么linux下和windows下打印出来的格式也不一样
Array ( [0] => /usr/local/nginx/test/View/ ) 显示1
Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /usr/local/nginx/test/Runtime/TemplatesCache_c/wrt4f694a4d12ab36.56330404' in /usr/local/nginx/test/Vender/Smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: #0 /usr/local/nginx/test/Vender/Smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/usr/local/ngin...', '<?php /* Smarty...', Object(Smarty)) #1 /usr/local/nginx/test/Vender/Smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 /usr/local/nginx/test/Vender/Smarty/sysplugins/smarty_internal_templatebase.php(374): Smarty_Internal_TemplateBase->fetch('index.html', NULL, NULL, NULL, true) #3 /usr/local/nginx/test/Controller/ControllerBase.class.php(126): Smarty_Internal_TemplateBase->display('index.html', NULL, NULL, NULL) #4 /usr/local/nginx/test/Controller/ControllerLogin.class.php(21): ControllerBase->display('index.html') #5 /usr/local/nginx/test/Controller/ControllerBase.cl in /usr/local/nginx/test/Vender/Smarty/sysplugins/smarty_internal_write_file.php on line 44windows下面打印出来的
Array ( [0] => D:\wamp\www\KMBackgroud/View\ ) 显示1 熊惠花 bbb