警告:Smarty 错误:无法读取资源: [英] Warning: Smarty error: unable to read resource:
问题描述
我安装了新版本的 SugarCRM,并且在某些页面中出现了下一个警告"
I installed new version of sugarCRM, and in some page is show up next warning"
警告:Smarty 错误:无法读取资源:....
我花了很多时间在网上寻找解决方案,但没有成功,我希望有人能帮助我.
I spend a lot of time on web to find solution but with out success, I hope someone can help me.
推荐答案
当我使用 smarty 2 作为模板引擎时,我遇到了同样的问题.我使用 xampp 作为本地主机.由于我使用的是 Windows,因此我没有遇到模板目录和目录拼写问题的权限问题.但我也检查了文件夹的权限,它是 777,以及 https://www.smarty.net/docsv2/en/troubleshooting.
I have the same problem when i use smarty 2 as template engine. I have used xampp as localhost. since i am using windows, i didn't face permission issue for the template directories and directory spelling issues. But i have also checked permission for folder and it was 777,and other solution provided in https://www.smarty.net/docsv2/en/troubleshooting.
最后更新 Smarty 库解决了我的问题.下载最新的 Smarty 文件并将其替换为您当前的库.
Finally updating the Smarty library solve my issue. Download the latest Smarty files and Replace them with your current library.
https://github.com/smarty-php/smarty/releases/tag/v2.6.31unzip ->\smarty-2.6.31\libs 从 \libs 文件夹复制文件并将其粘贴到您的 smarty 库 -> \library\Smarty.
https://github.com/smarty-php/smarty/releases/tag/v2.6.31 unzip ->\smarty-2.6.31\libs copy files from \libs folder and paste it to your smarty Library -> \library\Smarty.
希望有帮助.
这篇关于警告:Smarty 错误:无法读取资源:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!