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 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大
  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序