运行index.php怎么什么都不显示啊
index.php代码如下<?include('smarty.php');$smarty->display("index.html");?>运行后报错如下Warning:...
index.php代码如下
<?
include('smarty.php');
$smarty->display("index.html");
?>
运行后报错如下Warning: require_once(Smarty_Compiler.class.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\smarty_web3\smarty\smarty.class.php on line 1453
Fatal error: require_once() [function.require]: Failed opening required 'Smarty_Compiler.class.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\smarty_web3\smarty\smarty.class.php on line 1453
smarty.class.php
1448 {
1449 if (file_exists(SMARTY_DIR . $this->compiler_file)) {
1450 require_once(SMARTY_DIR . $this->compiler_file);
1451 } else {
1452 // use include_path
1453 require_once($this->compiler_file);
} 展开
<?
include('smarty.php');
$smarty->display("index.html");
?>
运行后报错如下Warning: require_once(Smarty_Compiler.class.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\smarty_web3\smarty\smarty.class.php on line 1453
Fatal error: require_once() [function.require]: Failed opening required 'Smarty_Compiler.class.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\smarty_web3\smarty\smarty.class.php on line 1453
smarty.class.php
1448 {
1449 if (file_exists(SMARTY_DIR . $this->compiler_file)) {
1450 require_once(SMARTY_DIR . $this->compiler_file);
1451 } else {
1452 // use include_path
1453 require_once($this->compiler_file);
} 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询