在windows下好使,但是在linux下就不行了,我在linux下的路径是\\192.168.73.112\ubuntu\usr\local\nginx\test。 所有的文件都放在test下面。然后Smarty需要调用的HTML放在\\192.168.73.112\ubuntu\usr\local\nginx\test\View下。 我在linux下打印template_dir出来是/usr/local/nginx/test/View。 但是执行print_r($Smarty->template_dir); 这条出来了信息, $Smarty->display('index.html');但是却没有显示界面。 谁能...
问大侠们一个linux下 smarty模板加载fckeditor 的问我用的是linux的ubuntun版本加载以后尽然报了一个ForbiddenYou don't have permission to access /sportsLeague/admin/fck/FCKeditor/editor/fckeditor.html on this server.Apache/2.2.17 (Ubuntu) Server at localhost Port 80这样的错误?很让我费解,有高人帮我解决下吗? 谢谢了php 代码是require("fck/FCKeditor/fckeditor.php");$FCK=new FCKeditor("content");$FCK->Widt...
smarty模版做了一个网站,在wamp下运行正常,可是传到linux系统下,网站就出现找不到模版传上去后出现了Fatal error: Class 'WebconfModel' not found in /data/home/hmu110016/htdocs/path.inc.php on line 5 而我用echo $_SERVER['DOCUMENT_ROOT']查出的路径是/usr/home/hmu110016/htocs 这要怎么修改啊。我在本地运行是正常的。急需解决啊------解决方案--------------------大小写 ------解决方案--------------------在...
linux云主机,smarty程序,如果设置404页面??请教,linux云主机,smarty程序,如果设置404页面??------解决方案-------------------- 参考 http://www.inginx.com/nginx-404/
linux云主机,smarty程序,如果设置404页面??请教,linux云主机,smarty程序,如果设置404页面??------解决方案--------------------参考 http://www.inginx.com/nginx-404/
Linux下 Smarty中的display显示问题在windows下好使,但是在linux下就不行了,我在linux下的路径是\\192.168.73.112\ubuntu\usr\local\nginx\test。 所有的文件都放在test下面。然后Smarty需要调用的HTML放在\\192.168.73.112\ubuntu\usr\local\nginx\test\View下。我在linux下打印template_dir出来是/usr/local/nginx/test/View。但是执行print_r($Smarty->template_dir); 这条出来了信息, $Smarty->display('index.html');但是...