Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on install 0.7 beta4 dev: include(Comment.php): failed to open stream #1511

Closed
ruslan-gennadievich opened this issue Jun 19, 2014 · 4 comments

Comments

@ruslan-gennadievich
Copy link

PHP warning

include(Comment.php): failed to open stream: No such file or directory

/var/www/rusya/data/www/mysite.com/yupe-project/vendor/yiisoft/yii/framework/YiiBase.php(427)

415 {
416 include($classFile);
417 if(YII_DEBUG && basename(realpath($classFile))!==$className.'.php')
418 throw new CException(Yii::t('yii','Class name "{class}" does not match class file "{file}".', array(
419 '{class}'=>$className,
420 '{file}'=>$classFile,
421 )));
422 break;
423 }
424 }
425 }
426 else
427 include($className.'.php');
428 }
429 else // class name with namespace in PHP 5.3
430 {
431 $namespace=str_replace('','.',ltrim($className,''));
432 if(($path=self::getPathOfAlias($namespace))!==false)
433 include($path.'.php');
434 else
435 return false;
436 }
437 return class_exists($className,false) || interface_exists($className,false);
438 }
439 return true;
Stack Trace
#0

@yupe yupe added this to the 0.7 milestone Jun 20, 2014
@yupe
Copy link
Owner

yupe commented Jun 20, 2014

Какие модули выбрали при установке ?

@ruslan-gennadievich
Copy link
Author

Эта ошибка вылетает прямо при установке, после шага конфигурации БД. До выбора модулей не доходит.
Юпи устанавливал через к composer

@ruslan-gennadievich
Copy link
Author

Проверил, дело в composer'e
При установке из архива все ок.

Также пока тестировал, заметил, что при установке через composer версии 0.7-beta3 тянется зависимости yiibooster 3.x - для которой нужен минимум PHP 5.4
В 0.7-beta3 - yiibooster 2.x

Вообщем надо просто навести порядок в файле конфига composer'a

@yupe
Copy link
Owner

yupe commented Jun 22, 2014

Проверим. На счет пхп 5.4 уже поправили и откатились на yiibooster 2.1

@yupe yupe closed this as completed in 014cce8 Jun 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants