M
M
MiroMichail2016-04-19 09:21:59
Yii
MiroMichail, 2016-04-19 09:21:59

Why doesn't PHPUnit Autoload see File/Iterator/Autoload.php?

I put codeception through the composer, all the dependencies were pulled up, but when I try to start I get:
PHP Warning: require_once(File/Iterator/Autoload.php): failed to open stream: No such file or directory in /web/exelo.net/vendor/EHER /PHPUnit/src/phpunit/PHPUnit/Autoload.php on line 45
PHP Stack trace:
PHP 1. {main}() /web/exelo.net/vendor/codeception/codeception/codecept:0
PHP 2. require_once() / web/exelo.net/vendor/codeception/codeception/codecept:12
PHP 3. include_once() /web/exelo.net/vendor/codeception/codeception/autoload.php:12
PHP Fatal error: require_once(): Failed opening required 'File/Iterator/Autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /web/exelo.net/vendor /EHER/PHPUnit/src/phpunit/PHPUnit/Autoload.php on line 45
PHP Stack trace:
PHP 1. {main}() /web/exelo.net/vendor/codeception/codeception/codecept:0
PHP 2. require_once( ) /web/exelo.net/vendor/codeception/codeception/codecept:12
PHP 3. include_once() /web/exelo.net/vendor/codeception/codeception/autoload.php:12
What could be the reason?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2016-04-19
@OxGroup

no file or directory "File/Iterator/Autoload.php"
Check if paths are relative. Check file permissions at worst.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question