Проблем с PHP
Здравейте,
имам проблем с PHP инсталирал съм composer, като си сложа скелета от подготовката за изпита си инсталира нещата ,но като му написах да създаде ентити ми даде тази грешка
"C:\Users\Kosio\Desktop\Programirane\SoftUni\Teche Module\Software Technologies\Resources\Preparation Exam 2\Skeletons\PHP>php bin/console doctrin:generate:entity
PHP Warning: require(C:\Users\Kosio\Desktop\Programirane\SoftUni\Teche Module\Software Technologies\Resources\Preparation Exam 2\Skeletons\PHP\bin/../vendor/autoload.php): failed to open stream: No such fi
le or directory in C:\Users\Kosio\Desktop\Programirane\SoftUni\Teche Module\Software Technologies\Resources\Preparation Exam 2\Skeletons\PHP\bin\console on line 15
PHP Stack trace:
PHP 1. {main}() C:\Users\Kosio\Desktop\Programirane\SoftUni\Teche Module\Software Technologies\Resources\Preparation Exam 2\Skeletons\PHP\bin\console:0"
При инсталацията на composer-а ми даде тази грешка
"Failed to download symfony/symfony from dist: The archive may contain identical file names with
different capitalization (which fails on case insensitive filesystems): ZipArchive::extractTo(): F
ilename too long
Now trying to download from source
- Installing symfony/symfony (v3.4.14): Cloning f50e17fa4e from cache
[RuntimeException]
Failed to clone https://github.com/symfony/symfony.git via https, ssh protocols, aborting.
- https://github.com/symfony/symfony.git
fatal: destination path 'C:\Users\Kosio\Desktop\Programirane\SoftUni\Teche Module\Software T
echnologies\Resources\Preparation Exam 2\Skeletons\PHP\vendor\symfony\symfony' already exists
and is not an empty directory.
- git@github.com:symfony/symfony.git
fatal: destination path 'C:\Users\Kosio\Desktop\Programirane\SoftUni\Teche Module\Software T
echnologies\Resources\Preparation Exam 2\Skeletons\PHP\vendor\symfony\symfony' already exists
and is not an empty directory."
Нещо пропускам с PHP - то ,но за съжаление още не знам какво.Ще съм благодарен ако някой ми каже какво пропускам да направя или инсталирам.
Благодаря предварително.
Пуснах composer install то ли сваля някакви неща,изкара ми папка vendor.Това ми даде като грешка при инсталиранато на composer-a.Нещо в GitHub ненамира май.
"Failed to download symfony/symfony from dist: The archive may contain identical file names with
different capitalization (which fails on case insensitive filesystems): ZipArchive::extractTo(): F
ilename too long
Now trying to download from source
- Installing symfony/symfony (v3.4.14): Cloning f50e17fa4e from cache
[RuntimeException]
Failed to clone https://github.com/symfony/symfony.git via https, ssh protocols, aborting.
- https://github.com/symfony/symfony.git
fatal: destination path 'C:\Users\Kosio\Desktop\Programirane\SoftUni\Teche Module\Software T
echnologies\Resources\Preparation Exam 2\Skeletons\PHP\vendor\symfony\symfony' already exists
and is not an empty directory.
- git@github.com:symfony/symfony.git
fatal: destination path 'C:\Users\Kosio\Desktop\Programirane\SoftUni\Teche Module\Software T
echnologies\Resources\Preparation Exam 2\Skeletons\PHP\vendor\symfony\symfony' already exists
and is not an empty directory."
> Filename too long
Пробвай да сложиш проекта в нова папка в С.
Сложихго на десктопа и стана.Благодаря много!