Yii Framework Forum: Yii2用解压的方式安装存在以下问题 - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii2用解压的方式安装存在以下问题 Rate Topic: -----

#1 User is offline   johocn 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 42
  • Joined: 21-January 10

Posted 12 December 2013 - 02:28 AM

require(__DIR__ . '/../vendor/autoload.php');
这个文件系统里没有
'extensions' => require(__DIR__ . '/../vendor/yiisoft/extensions.php'),

这两处没有文件,为什么洗放上还是得用那什么Installing via Composer
0

#2 User is offline   johocn 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 42
  • Joined: 21-January 10

Posted 12 December 2013 - 05:31 AM

View Postjohocn, on 12 December 2013 - 02:28 AM, said:

require(__DIR__ . '/../vendor/autoload.php');
这个文件系统里没有
'extensions' => require(__DIR__ . '/../vendor/yiisoft/extensions.php'),
这两处没有文件,有没有手动安装的方法那个什么composer国内安装慢死了,谁有好和解决方案,内置演示都做不好,本来想自动安装,结果根本安不了,真差劲

0

#3 User is offline   jarlyyn 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 01-November 12

Posted 12 December 2013 - 09:12 PM

我搜了下 yii框架中 所有包含 autolod.php的代码
root@jarlyyn-laptop:/home/jarlyyn/wfwebsite/appframework# find . -iname '*.php' -exec grep 'autoload.php' {} -l \;
./protected/framework/vendors/htmlpurifier/HTMLPurifier.standalone.php

这个文件中没有你提到的那句。
0

#4 User is offline   sharehua 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 456
  • Joined: 30-December 08

Posted 05 February 2014 - 08:30 PM

估计是用的没发布的版本吧?
YII2 技术群【QQ群--146409855】,欢迎朋友,拒绝过客
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users