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/ 循环如果不够个数的话如何还让其循环?? javascript 验证空白区域 关于PHP提交表单跳转问题~~! 怎么通过客服端IP知道客服端地址 测试《PHP和MySQL Web开发》P202的代码有错,关于fetch_assoc() smarty 的问题,用include调用了另一个模板,可就是不显示。。。 php连接sql2000的问题 PHP与存储过程的问题? 谁能给个 PHP5类 的教程? 怎么取得两时间之间间隔的秒数,如2003-06-30 1 又一个难题,,数据有些联系,但不好做 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