2014-01-01 14:08:52 5638次浏览 1条回答 0 悬赏 100 金钱

这是index.php入口文件 

<?php


// change the following paths if necessary

$yii='framework\yii.php';

$config=dirname(__FILE__).'/protected/config/main.php';



// remove the following lines when in production mode

defined('YII_DEBUG') or define('YII_DEBUG',true);

// specify how many levels of call stack should be shown in each log message

defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);


require_once($yii);

Yii::createWebApplication($config)->run();


报错内容如下

Warning: require_once(framework\yii.php): failed to open stream: No such file or directory in /boran/webs/eshop/index.php on line 13


Fatal error: require_once(): Failed opening required 'framework\yii.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in /boran/webs/eshop/index.php on line 13


请问如何解决

您需要登录后才可以回答。登录 | 立即注册
shenboran
助理

shenboran

注册时间:2014-01-01
最后登录:2018-03-07
在线时长:3小时5分
  • 粉丝0
  • 金钱0
  • 威望10
  • 积分130

热门问题