展会信息港展会大全

Smarty error: unable to read resource:
来源:互联网   发布日期:2016-01-14 11:16:05   浏览:2279次  

导读: Smarty error: unable to read resource:我按照指示,迅速准确,但安装时得到以下错误信息:“警告:Smarty的错误:无法读取资源:”index.t...

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文件看起来像

<?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/www.mydomainname.com/smarty/templates';

$smarty->compile_dir =

'/home/myusername/public_html/www.mydomainname.com/smarty/templates_c';

$smarty->cache_dir =

'/home/myusername/public_html/www.mydomainname.com/smarty/cache';

$smarty->config_dir =

'/home/myusername/public_html/www.mydomainname.com/smarty/configs';

$smarty->assign('name', 'Ned');

$smarty->display('index.tpl');

?>

<?php

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 = true;

$smarty->display('index.tpl');

?>

进出口有上述错误。当我访问通过我的第一次问我,删除安装文件我认为发生在该浏览

器安装完成joomla?当我删除了安装文件夹我碰到一个“数据库错误:无法连接到数据

库:无法连接到MySQL:”我在我的远程服务器上,但进出口的新到MySQL数据库。我的

管理面板允许我导入表。是一种选择...否则进出口难倒?

赞助本站

人工智能实验室

相关热词: php 教程

AiLab云推荐
推荐内容
展开

热门栏目HotCates

Copyright © 2010-2024 AiLab Team. 人工智能实验室 版权所有    关于我们 | 联系我们 | 广告服务 | 公司动态 | 免责声明 | 隐私条款 | 工作机会 | 展会港