Warning: Smarty error: unable to openread resource:

Smarty error: unable to read resource的解决办法
[问题点数:40分,结帖人ehomepc]
Smarty error: unable to read resource的解决办法
[问题点数:40分,结帖人ehomepc]
只显示楼主
取消只显示楼主
本帖子已过去太久远了,不再提供回复功能。Smarty error: unable to read resource_百度知道
Smarty error: unable to read resource
htdocs\26&#92.6&#92.php on line 1092请大神们详细讲讲:\APMServ&#92,但是打开项目的后台时项目的前台能发布.tpl&quot: SSmarty.2;APMServ-v5,就弹出这个W in D;www\APMServ-v5.6&#92.2;Smarty&#92,要怎么改.6\APMServ5.2.class: unable to read resource: &index
提问者采纳
smarty的错误,你看看后台的模板文件夹里面有没有index.tpl?你应该 丢失这个文件了
还有Warning: Smarty error: unable to read resource: &showform.tpl& in D:\APMServ\APMServ-v5.2.6\APMServ-v5.2.6\APMServ5.2.6\www\htdocs\26\Smarty\Smarty.class.php on line 1092
看起来这个模板文件也丢失了:showform.tpl
提问者评价
其他类似问题
为您推荐:
smarty的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁smarty模板提示Warning: Smarty error: unable to read resource - 突袭新闻
当前位置&:&&&&smarty模板提示Warning: Smarty error: unable to read resource
热门标签:
smarty模板提示Warning: Smarty error: unable to read resource
来源:本网整理
编辑:张德勇评论:
昨天在使用smarty模板时配置好了,运行出现了Warning:Smartyerror:unabletoreadresource错误,下面来看出现此类问题的解决办法...
昨天在使用smarty模板时配置好了,运行出现了Warning: Smarty error: unable to read resource错误,下面来看出现此类问题的解决办法相关阅读:
王者归来?诺基亚说要重返智能手机市场
Hyperloop概念图来了,这是何等的舒适体验
人人私有化另一面:陈一舟投资资产价值被掩盖
本网最新文章PHP常见错误&代码
PHP常见错误,我认为主要分为3块:
1、语法错误
Parse error: syntax error, unexpected
T_VARIABLE in E:\gstbook\user.php on line
268一般是少分号,在上一行或者下一行都有可能
Parse error: syntax error,
unexpected '.' in F:\www\blog\article.php on line 100
多个“.”,类似的还有多个“;”等等
Notice: Undefined variable: a in
使用了一个没有被定义的变量a
Parse error: syntax error,
unexpected T_ELSE
if else if& else 句式逻辑错误
Parse error: syntax error,
unexpected $end in&
一般是大括号不匹配
Parse error: syntax error,
unexpected T_STRING in
一般是忘了写句末分号
Warning: Invalid argument supplied
for foreach() in
foreach 的第一个参数必须是一个数组
Warning: Wrong parameter count
函数参数个数不对
Warning: session_start()
[function.session-start]: Cannot send session cache limiter -
headers already sent (output started at F:\www\blog\index.php:10)
in F:\www\blog\incl?s\config.inc.php on line 10
Warning: annot modify header information - headers already sent by
(output started at F:\www\blog\index.php:10) in
F:\www\blog\incl?s\config.inc.php on line 12
session前面不能有输出,同意的cookie也是这样的
Fatal error: Cannot
函数已经定义过,不能重新再定义;类也不能同名
2、SQL语句错误
Warning: mysql_fetch_assoc():
supplied argument is not a valid MySQL result resource
in说明前面执行SQL 返回失败,一般可能是SQL语句错误 ,如分析不出来,可以Mysql_error ()
看具体是哪个地方错了
No database selected
一般是没有连接数据库
Warning: mysql_connect()
[function.mysql-connect]: Access denied for user
(using password: YES) in&
…..&& on line 3Access denied for
(using password: YES)数据库用户名的密码错误
Unknown database
‘cms07261&
数据库不存在
Table ‘cms0726.test’ doesn’t
Unknown column ‘abc’ in ‘field
字段不存在
Column count doesn’t match val
count at row 1
sql语句中 字段值的个数比字段名个数不一样
3、模板错误
Fatal error: Smarty error: [in
message_list.html line 22]: syntax error: ‘foreach: item’ must be a
variable name (literal string)foreach 后面的item
后面必须跟一个变量名,不加$,是一个字符串
Fatal error: Smarty error: [in
admin/tpl/class_detail.html line 14]: syntax error: unrecognized
tag: cs.st?nt_id (Smarty_Compiler.class.php, line 436) in
D:\www\web\xmphp\inc\smarty\Smarty.class.php on line
1088smarty语法错误:循环数组的时候,少$
Warning: Smarty error: unable to
read resource: “message_list1.html”
in模板文件找不到,看是否是文件名写错或文件存放到别的目录中去了。
Fatal error: Smarty error: [in
order_detail.html line 171]: syntax error: unclosed tag \{elseif}
(opened line 157). (Smarty_Compiler.class.php, line 317) in
F:\www\gstbook\xmphp\inc\smarty\Smarty.class.php on line
1088html页面语法错误,少结束标签
undefined function mysql_connect
可能是之前用了phpisapi.dll后来dll文件丢失
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。投诉建议、广告投放、友情链接,联系QQ:
Smarty error: unable to read resource:
Loading...
107 次阅读
Smarty error: unable to read resource:
我按照指示,迅速准确,但安装时得到以下错误信息:
&警告:Smarty的错误:无法读取资源:&index.tpl&在/ home / MyUserName的/
public_html / lib / PHP的/ Smarty的/在线1095 Smarty.class.php&
我看完这几个职位,但船上,除非我失去了一些东西,我找不到它的决议,因此我希望
这些委员会somone可以提供帮助。
我的服务器在运行PHP 4.4.1标准的cPanel 10.8.1,释放113
我的index.php文件看起来像
// put full path to Smarty.class.php
require('/home/dnb/public_html/lib/php/Smarty/Smarty.class.php');
$smarty = new Smarty();
$smarty-&template_dir =
'/home/myusername/public_html//smarty/templates';
$smarty-&compile_dir =
'/home/myusername/public_html//smarty/templates_c';
$smarty-&cache_dir =
'/home/myusername/public_html//smarty/cache';
$smarty-&config_dir =
'/home/myusername/public_html//smarty/configs';
$smarty-&assign('name', 'Ned');
$smarty-&display('index.tpl');
require_once('c:/phpdev/www/lib/Smarty.class.php');
$smarty = new Smarty();
$smarty-&template_dir = 'guestbook/templates/';
$smarty-&compile_dir& = 'guestbook/templates_c/';
$smarty-&config_dir&& = 'guestbook/configs/';
$smarty-&cache_dir&&& = 'guestbook/cache/';
$smarty-&assign('name','Ned');
//** un-comment the following line to show the debug console
$smarty-&debugging =
$smarty-&display('index.tpl');
进出口有上述错误。当我访问通过我的第一次问我,删除安装文件我认为发生在该浏览
器安装完成joomla?当我删除了安装文件夹我碰到一个&数据库错误:无法连接到数据
库:无法连接到MySQL:&我在我的远程服务器上,但进出口的新到MySQL数据库。我的
管理面板允许我导入表。是一种选择...否则进出口难倒?
IT技术书籍推荐:
Python黑帽子:黑客与渗透测试编程之道
塞茨 (Justin Seitz) (作者), 孙松柏 (译者), 李聪 (译者), 润秋 (译者)
本书是畅销书《Python 灰帽子—黑客与逆向工程师的 Python 编程之道》的姊妹篇,那本书一面市便占据计算机安全类书籍的头把交椅。本书由 Immunity 公司的高级安全研究员 Justin Seitz 精心撰写。作者根据自己在安全界,特别是渗透测试领域的几十年经验,向读者介绍了 Python 如何被用在黑客和渗透测试的各个领域,从基本的网络扫描到数据包捕获,从 Web 爬虫到编写 Burp 扩展工具,从编写木马到权限提升等。 作者在本书中的很多实例都非常具有创新和启发意义, 如 HTTP 数据中的图片检测、 基于 GitHub命令进行控制的模块化木马、浏览器的中间人攻击技术、利用 COM 组件自动化技术窃取数据、通过进程监视和代码插入实现权限提升、通过向虚拟机内存快照中插入 shellcode 实现木马驻留和权限提升等。通过对这些技术的学习,读者不仅能掌握各种 Python 库的应用和编程技术,还能拓宽视野,培养和锻炼自己的黑客思维。读者在阅读本书时也完全感觉不到其他一些技术书籍常见的枯燥和乏味。
相关推荐:1、2、3、4、5、6、7、8、9、10、
随机关键词:
正在加载...
最新微信头条

我要回帖

更多关于 unable to open 的文章

 

随机推荐