![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 236 Pomógł: 0 Dołączył: 27.10.2012 Ostrzeżenie: (0%) ![]() ![]() |
witam
mam problem z instalacją pakietu DoctrineFixturesBundle. 1) pobrałem źródło composer.phar z http://getcomposer.org/installer i wrzuciłem bezpośrednio na serwer jako plik: composer.phar (do katalogu gdzie mam Symfony2) 2) Dodałem kod do pliku composer.json
ps. rozumiem, że dodaje to na sam koniec pliku po zawartości, która już tam jest? 3) Próbuje zrobić aktualizację:
wyskakują błędy: Downloading... Download failed: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:func(144):reason(134) file_get_contents(): Failed to enable crypto file_get_contents(https://getcomposer.org/composer.phar): failed to open stream: operation failed Downloading... Download failed: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:func(144):reason(134) file_get_contents(): Failed to enable crypto file_get_contents(https://getcomposer.org/composer.phar): failed to open stream: operation failed Downloading... Download failed: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:func(144):reason(134) file_get_contents(): Failed to enable crypto file_get_contents(https://getcomposer.org/composer.phar): failed to open stream: operation failed The download failed repeatedly, aborting. Może da się to jakoś ręcznie zainstalować? Męczy mnie to już :/ Proszę o pomoc. Ten post edytował dopelganger 22.08.2014, 12:35:42 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 1 798 Pomógł: 307 Dołączył: 13.05.2009 Skąd: Gubin/Wrocław Ostrzeżenie: (0%) ![]() ![]() |
Kod /vendor/composer/autoload_namespaces.php Dodaj sobie byleby nie na końcu linijkę: Tak przykładowo wygląda cały plik autoload_namespaces.php po dodaniu doctrine-fixtures-bundle:
Wydaje mi się że openssl w twoim php.ini jest zakomentowany dlatego też masz takie błędy. Wpisz w konsoli Kod php -m i sprawdź w liście załadowanych modułów czy znajduje się openssl, jeżeli nie, to w php.ini usuń średnik sprzed: Kod ;extension=php_openssl.dll Jeżeli to jest na windowsie, lub: Kod ;extension=php_openssl.so jeżeli to jest na unixie. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 17.10.2025 - 04:33 |