douqiang7462 2015-01-03 11:03
浏览 36
已采纳

将yii项目移动到另一台机器

I have a project, build in Yii Framework , in my machine 1. Now I moved my whole project to new laptop.

But it's not running and displaying some error:

Warning: require_once(D:\xampp\htdocspadmin/../framework/yii.php): failed to open stream: No such file or directory in D:\xampp\htdocspadmin\index.php on line 11
Fatal error: require_once(): Failed opening required 'D:\xampp\htdocspadmin/../framework/yii.php' (include_path='.;D:\xampp\php\PEAR') in D:\xampp\htdocspadmin\index.php on line 11

Does anyone know what is happening?

  • 写回答

2条回答 默认 最新

  • dongtanxi5676756 2015-01-04 13:36
    关注

    actually u have folder of yii(framework named folder) framework outside the rpadmin folder now u have to upload it from your local machine to the server and put it outside the rpadmin from... the error message ...

    Warning: require_once(D:\xampp\htdocspadmin/../framework/yii.php):

    so there will be a framework named folder....

    after that make some changes

    1. Give rpadmin/protected/runtime permission 777
    2. If its ISS the you have to give rpadmin/assets folder permission 777
    3. change the required settings in rpadmin/protected/config/main.php if theres only like db connection
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 聚类分析或者python进行数据分析
  • ¥15 逻辑谓词和消解原理的运用
  • ¥15 三菱伺服电机按启动按钮有使能但不动作
  • ¥15 js,页面2返回页面1时定位进入的设备
  • ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复
  • ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
  • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝
  • ¥20 腾讯企业邮箱邮件可以恢复么
  • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
  • ¥15 错误 LNK2001 无法解析的外部符号